Constructor and Description |
---|
SimplePKIResponse(byte[] responseEncoding)
Create a SimplePKIResponse from the passed in bytes.
|
SimplePKIResponse(ContentInfo signedData)
Create a SimplePKIResponse from the passed in ASN.1 structure.
|
Modifier and Type | Method and Description |
---|---|
Store<X509CertificateHolder> |
getCertificates()
Return any X.509 certificate objects in this SimplePKIResponse structure as a Store of X509CertificateHolder objects.
|
Store<X509CRLHolder> |
getCRLs()
Return any X.509 CRL objects in this SimplePKIResponse structure as a Store of X509CRLHolder objects.
|
byte[] |
getEncoded()
return the ASN.1 encoded representation of this object.
|
public SimplePKIResponse(byte[] responseEncoding) throws CMCException
responseEncoding
- BER/DER encoding of the certificate.CMCException
- in the event of corrupted data, or an incorrect structure.public SimplePKIResponse(ContentInfo signedData) throws CMCException
signedData
- a ContentInfo containing a SignedData.CMCException
public Store<X509CertificateHolder> getCertificates()
public Store<X509CRLHolder> getCRLs()
public byte[] getEncoded() throws IOException
getEncoded
in interface Encodable
IOException
Copyright © 2021 BouncyCastle.org. All rights reserved.