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,
org.xipki.security.X509Cert signerCert,
org.xipki.security.X509Cert[] cmsCertSet,
org.xipki.security.X509Cert recipientCert,
org.bouncycastle.asn1.ASN1ObjectIdentifier encAlgId) |
org.bouncycastle.asn1.cms.ContentInfo |
encode(PrivateKey signerKey,
org.xipki.security.SignAlgo signatureAlgorithm,
org.xipki.security.X509Cert signerCert,
org.xipki.security.X509Cert[] signerCertSet,
org.xipki.security.X509Cert recipientCert,
org.bouncycastle.asn1.ASN1ObjectIdentifier encAlgId) |
FailInfo |
getFailInfo() |
String |
getFailInfoText() |
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 |
setFailInfoText(String failInfoText) |
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 String getFailInfoText()
public void setFailInfoText(String failInfoText)
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, org.xipki.security.SignAlgo signatureAlgorithm, org.xipki.security.X509Cert signerCert, org.xipki.security.X509Cert[] signerCertSet, org.xipki.security.X509Cert recipientCert, org.bouncycastle.asn1.ASN1ObjectIdentifier encAlgId) throws MessageEncodingException
MessageEncodingExceptionpublic org.bouncycastle.asn1.cms.ContentInfo encode(org.bouncycastle.operator.ContentSigner signer,
org.xipki.security.X509Cert signerCert,
org.xipki.security.X509Cert[] cmsCertSet,
org.xipki.security.X509Cert recipientCert,
org.bouncycastle.asn1.ASN1ObjectIdentifier encAlgId)
throws MessageEncodingException
MessageEncodingExceptionCopyright © 2023. All rights reserved.