public class PkiMessage extends Object
| Constructor and Description |
|---|
PkiMessage(TransactionId transactionId,
MessageType messageType) |
PkiMessage(TransactionId transactionId,
MessageType messageType,
Nonce senderNonce) |
| Modifier and Type | Method and Description |
|---|---|
org.bouncycastle.asn1.ASN1Encodable |
addSignendAttribute(org.bouncycastle.asn1.ASN1ObjectIdentifier type,
org.bouncycastle.asn1.ASN1Encodable value) |
org.bouncycastle.asn1.ASN1Encodable |
addUnsignendAttribute(org.bouncycastle.asn1.ASN1ObjectIdentifier type,
org.bouncycastle.asn1.ASN1Encodable value) |
org.bouncycastle.asn1.cms.ContentInfo |
encode(org.bouncycastle.operator.ContentSigner signer,
X509Certificate signerCert,
X509Certificate[] cmsCertSet,
X509Certificate recipientCert,
org.bouncycastle.asn1.ASN1ObjectIdentifier encAlgId) |
org.bouncycastle.asn1.cms.ContentInfo |
encode(PrivateKey signerKey,
String signatureAlgorithm,
X509Certificate signerCert,
X509Certificate[] signerCertSet,
X509Certificate recipientCert,
org.bouncycastle.asn1.ASN1ObjectIdentifier encAlgId) |
FailInfo |
getFailInfo() |
org.bouncycastle.asn1.ASN1Encodable |
getMessageData() |
MessageType |
getMessageType() |
PkiStatus |
getPkiStatus() |
Nonce |
getRecipientNonce() |
Nonce |
getSenderNonce() |
org.bouncycastle.asn1.ASN1Encodable |
getSignedAtrributeValue(org.bouncycastle.asn1.ASN1ObjectIdentifier type) |
TransactionId |
getTransactionId() |
org.bouncycastle.asn1.ASN1Encodable |
getUnsignedAtrributeValue(org.bouncycastle.asn1.ASN1ObjectIdentifier type) |
org.bouncycastle.asn1.ASN1Encodable |
removeSignedAttribute(org.bouncycastle.asn1.ASN1ObjectIdentifier type) |
org.bouncycastle.asn1.ASN1Encodable |
removeUnsignedAttribute(org.bouncycastle.asn1.ASN1ObjectIdentifier type) |
void |
setFailInfo(FailInfo failInfo) |
void |
setMessageData(org.bouncycastle.asn1.ASN1Encodable messageData) |
void |
setPkiStatus(PkiStatus pkiStatus) |
void |
setRecipientNonce(Nonce recipientNonce) |
public PkiMessage(TransactionId transactionId, MessageType messageType)
public PkiMessage(TransactionId transactionId, MessageType messageType, Nonce senderNonce)
public TransactionId getTransactionId()
public Nonce getSenderNonce()
public MessageType getMessageType()
public Nonce getRecipientNonce()
public void setRecipientNonce(Nonce recipientNonce)
public PkiStatus getPkiStatus()
public void setPkiStatus(PkiStatus pkiStatus)
public FailInfo getFailInfo()
public void setFailInfo(FailInfo failInfo)
public org.bouncycastle.asn1.ASN1Encodable getMessageData()
public void setMessageData(org.bouncycastle.asn1.ASN1Encodable messageData)
public org.bouncycastle.asn1.ASN1Encodable addSignendAttribute(org.bouncycastle.asn1.ASN1ObjectIdentifier type,
org.bouncycastle.asn1.ASN1Encodable value)
public org.bouncycastle.asn1.ASN1Encodable addUnsignendAttribute(org.bouncycastle.asn1.ASN1ObjectIdentifier type,
org.bouncycastle.asn1.ASN1Encodable value)
public org.bouncycastle.asn1.ASN1Encodable removeSignedAttribute(org.bouncycastle.asn1.ASN1ObjectIdentifier type)
public org.bouncycastle.asn1.ASN1Encodable removeUnsignedAttribute(org.bouncycastle.asn1.ASN1ObjectIdentifier type)
public org.bouncycastle.asn1.ASN1Encodable getSignedAtrributeValue(org.bouncycastle.asn1.ASN1ObjectIdentifier type)
public org.bouncycastle.asn1.ASN1Encodable getUnsignedAtrributeValue(org.bouncycastle.asn1.ASN1ObjectIdentifier type)
public org.bouncycastle.asn1.cms.ContentInfo encode(PrivateKey signerKey, String signatureAlgorithm, X509Certificate signerCert, X509Certificate[] signerCertSet, X509Certificate recipientCert, org.bouncycastle.asn1.ASN1ObjectIdentifier encAlgId) throws MessageEncodingException
MessageEncodingExceptionpublic org.bouncycastle.asn1.cms.ContentInfo encode(org.bouncycastle.operator.ContentSigner signer,
X509Certificate signerCert,
X509Certificate[] cmsCertSet,
X509Certificate recipientCert,
org.bouncycastle.asn1.ASN1ObjectIdentifier encAlgId)
throws MessageEncodingException
MessageEncodingExceptionCopyright © 2018. All rights reserved.