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.ASN1ObjectIdentifiervoidwrite(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:CMSProcessablegeneric 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:
writein interfaceCMSProcessable- Throws:
IOExceptionCMSException
-
getContent
- Specified by:
getContentin interfaceCMSProcessable
-
getContentType
public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()- Specified by:
getContentTypein interfaceCMSTypedData
-