public class DecodedPkiMessage extends PkiMessage
| Constructor and Description |
|---|
DecodedPkiMessage(TransactionId transactionId,
MessageType messageType,
Nonce senderNonce) |
| Modifier and Type | Method and Description |
|---|---|
org.bouncycastle.asn1.ASN1ObjectIdentifier |
contentEncryptionAlgorithm() |
static DecodedPkiMessage |
decode(org.bouncycastle.cms.CMSSignedData pkiMessage,
EnvelopedDataDecryptor recipient,
org.bouncycastle.util.CollectionStore<org.bouncycastle.cert.X509CertificateHolder> certStore) |
static DecodedPkiMessage |
decode(org.bouncycastle.cms.CMSSignedData pkiMessage,
PrivateKey recipientKey,
X509Certificate recipientCert,
org.bouncycastle.util.CollectionStore<org.bouncycastle.cert.X509CertificateHolder> certStore) |
org.bouncycastle.asn1.ASN1ObjectIdentifier |
digestAlgorithm() |
String |
failureMessage() |
Boolean |
isDecryptionSuccessful() |
Boolean |
isSignatureValid() |
void |
setContentEncryptionAlgorithm(org.bouncycastle.asn1.ASN1ObjectIdentifier encryptionAlgorithm) |
void |
setDecryptionSuccessful(Boolean decryptionSuccessful) |
void |
setDigestAlgorithm(org.bouncycastle.asn1.ASN1ObjectIdentifier digestAlgorithm) |
void |
setFailureMessage(String failureMessage) |
void |
setSignatureCert(X509Certificate signatureCert) |
void |
setSignatureValid(Boolean signatureValid) |
void |
setSigningTime(Date signingTime) |
X509Certificate |
signatureCert() |
Date |
signingTime() |
addSignendAttribute, addUnsignendAttribute, encode, encode, failInfo, getSignedAtrributeValue, getUnsignedAtrributeValue, messageData, messageType, pkiStatus, recipientNonce, removeSignedAttribute, removeUnsignedAttribute, senderNonce, setFailInfo, setMessageData, setPkiStatus, setRecipientNonce, transactionIdpublic DecodedPkiMessage(TransactionId transactionId, MessageType messageType, Nonce senderNonce)
public X509Certificate signatureCert()
public void setSignatureCert(X509Certificate signatureCert)
public void setDigestAlgorithm(org.bouncycastle.asn1.ASN1ObjectIdentifier digestAlgorithm)
public void setSignatureValid(Boolean signatureValid)
public org.bouncycastle.asn1.ASN1ObjectIdentifier digestAlgorithm()
public void setContentEncryptionAlgorithm(org.bouncycastle.asn1.ASN1ObjectIdentifier encryptionAlgorithm)
public String failureMessage()
public void setFailureMessage(String failureMessage)
public org.bouncycastle.asn1.ASN1ObjectIdentifier contentEncryptionAlgorithm()
public Boolean isDecryptionSuccessful()
public void setDecryptionSuccessful(Boolean decryptionSuccessful)
public Boolean isSignatureValid()
public Date signingTime()
public void setSigningTime(Date signingTime)
public static DecodedPkiMessage decode(org.bouncycastle.cms.CMSSignedData pkiMessage, PrivateKey recipientKey, X509Certificate recipientCert, org.bouncycastle.util.CollectionStore<org.bouncycastle.cert.X509CertificateHolder> certStore) throws MessageDecodingException
MessageDecodingExceptionpublic static DecodedPkiMessage decode(org.bouncycastle.cms.CMSSignedData pkiMessage, EnvelopedDataDecryptor recipient, org.bouncycastle.util.CollectionStore<org.bouncycastle.cert.X509CertificateHolder> certStore) throws MessageDecodingException
MessageDecodingExceptionCopyright © 2017. All rights reserved.