|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.cert.crmf.CertificateResponse
High level wrapper for the CertResponse CRMF structure.
Constructor Summary | |
CertificateResponse(org.bouncycastle.asn1.cmp.CertResponse certResponse)
|
Method Summary | |
org.bouncycastle.asn1.cmp.CMPCertificate |
getCertificate()
Return the CMPCertificate representing the plaintext certificate in the response. |
org.bouncycastle.asn1.cmp.CMPCertificate |
getCertificate(Recipient recipient)
Return the CMPCertificate representing the plaintext certificate in the response. |
CMSEnvelopedData |
getEncryptedCertificate()
Return a CMSEnvelopedData representing the encrypted certificate contained in the response. |
boolean |
hasEncryptedCertificate()
Return true if the response contains an encrypted certificate. |
org.bouncycastle.asn1.cmp.CertResponse |
toASN1Structure()
Return this object's underlying ASN.1 structure. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CertificateResponse(org.bouncycastle.asn1.cmp.CertResponse certResponse)
Method Detail |
public boolean hasEncryptedCertificate()
public CMSEnvelopedData getEncryptedCertificate() throws CMSException
java.lang.IllegalStateException
- if no encrypted certificate is present, or there is an issue with the enveloped data.
CMSException
public org.bouncycastle.asn1.cmp.CMPCertificate getCertificate(Recipient recipient) throws CMSException
java.lang.IllegalStateException
- if no plaintext certificate is present.
CMSException
public org.bouncycastle.asn1.cmp.CMPCertificate getCertificate() throws CMSException
java.lang.IllegalStateException
- if no plaintext certificate is present.
CMSException
public org.bouncycastle.asn1.cmp.CertResponse toASN1Structure()
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |