public class DecodedPkiMessage extends PkiMessage
PkiMessage.| Constructor and Description |
|---|
DecodedPkiMessage(TransactionId transactionId,
MessageType messageType,
Nonce senderNonce) |
| Modifier and Type | Method and Description |
|---|---|
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,
org.xipki.security.X509Cert recipientCert,
org.bouncycastle.util.CollectionStore<org.bouncycastle.cert.X509CertificateHolder> certStore) |
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getContentEncryptionAlgorithm() |
org.xipki.security.HashAlgo |
getDigestAlgorithm() |
String |
getFailureMessage() |
org.xipki.security.X509Cert |
getSignatureCert() |
Date |
getSigningTime() |
Boolean |
isDecryptionSuccessful() |
Boolean |
isSignatureValid() |
void |
setContentEncryptionAlgorithm(org.bouncycastle.asn1.ASN1ObjectIdentifier encryptionAlgorithm) |
void |
setDecryptionSuccessful(Boolean decryptionSuccessful) |
void |
setDigestAlgorithm(org.xipki.security.HashAlgo digestAlgorithm) |
void |
setFailureMessage(String failureMessage) |
void |
setSignatureCert(org.xipki.security.X509Cert signatureCert) |
void |
setSignatureValid(Boolean signatureValid) |
void |
setSigningTime(Date signingTime) |
addSignendAttribute, addUnsignendAttribute, encode, encode, getFailInfo, getFailInfoText, getMessageData, getMessageType, getPkiStatus, getRecipientNonce, getSenderNonce, getSignedAtrributeValue, getTransactionId, getUnsignedAtrributeValue, removeSignedAttribute, removeUnsignedAttribute, setFailInfo, setFailInfoText, setMessageData, setPkiStatus, setRecipientNoncepublic DecodedPkiMessage(TransactionId transactionId, MessageType messageType, Nonce senderNonce)
public org.xipki.security.X509Cert getSignatureCert()
public void setSignatureCert(org.xipki.security.X509Cert signatureCert)
public org.xipki.security.HashAlgo getDigestAlgorithm()
public void setDigestAlgorithm(org.xipki.security.HashAlgo digestAlgorithm)
public void setSignatureValid(Boolean signatureValid)
public void setContentEncryptionAlgorithm(org.bouncycastle.asn1.ASN1ObjectIdentifier encryptionAlgorithm)
public String getFailureMessage()
public void setFailureMessage(String failureMessage)
public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentEncryptionAlgorithm()
public Boolean isDecryptionSuccessful()
public void setDecryptionSuccessful(Boolean decryptionSuccessful)
public Boolean isSignatureValid()
public Date getSigningTime()
public void setSigningTime(Date signingTime)
public static DecodedPkiMessage decode(org.bouncycastle.cms.CMSSignedData pkiMessage, PrivateKey recipientKey, org.xipki.security.X509Cert 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 © 2023. All rights reserved.