Package org.bouncycastle.cert.cmp
Class CMSProcessableCMPCertificate
java.lang.Object
org.bouncycastle.cert.cmp.CMSProcessableCMPCertificate
- All Implemented Interfaces:
CMSProcessable
,CMSTypedData
Carrier class for a CMPCertificate over CMS.
-
Constructor Summary
ConstructorsConstructorDescriptionCMSProcessableCMPCertificate
(org.bouncycastle.asn1.cmp.CMPCertificate cmpCertificate) CMSProcessableCMPCertificate
(X509CertificateHolder certificateHolder) -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1ObjectIdentifier
void
write
(OutputStream out) generic routine to copy out the data we want processed - the OutputStream passed in will do the handling on it's own.
-
Constructor Details
-
CMSProcessableCMPCertificate
-
CMSProcessableCMPCertificate
public CMSProcessableCMPCertificate(org.bouncycastle.asn1.cmp.CMPCertificate cmpCertificate)
-
-
Method Details
-
write
Description copied from interface:CMSProcessable
generic routine to copy out the data we want processed - the OutputStream passed in will do the handling on it's own.Note: this routine may be called multiple times.
- Specified by:
write
in interfaceCMSProcessable
- Throws:
IOException
CMSException
-
getContent
- Specified by:
getContent
in interfaceCMSProcessable
-
getContentType
public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()- Specified by:
getContentType
in interfaceCMSTypedData
-