Package org.bouncycastle.cert.cmp
Class CMSProcessableCMPCertificate
- java.lang.Object
-
- org.bouncycastle.cert.cmp.CMSProcessableCMPCertificate
-
- All Implemented Interfaces:
CMSProcessable,CMSTypedData
public class CMSProcessableCMPCertificate extends java.lang.Object implements CMSTypedData
Carrier class for a CMPCertificate over CMS.
-
-
Constructor Summary
Constructors Constructor Description CMSProcessableCMPCertificate(org.bouncycastle.asn1.cmp.CMPCertificate cmpCertificate)CMSProcessableCMPCertificate(X509CertificateHolder certificateHolder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetContent()org.bouncycastle.asn1.ASN1ObjectIdentifiergetContentType()voidwrite(java.io.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 Detail
-
CMSProcessableCMPCertificate
public CMSProcessableCMPCertificate(X509CertificateHolder certificateHolder)
-
CMSProcessableCMPCertificate
public CMSProcessableCMPCertificate(org.bouncycastle.asn1.cmp.CMPCertificate cmpCertificate)
-
-
Method Detail
-
write
public void write(java.io.OutputStream out) throws java.io.IOException, CMSExceptionDescription 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:
java.io.IOExceptionCMSException
-
getContent
public java.lang.Object getContent()
- Specified by:
getContentin interfaceCMSProcessable
-
getContentType
public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()
- Specified by:
getContentTypein interfaceCMSTypedData
-
-