Bouncy Castle Cryptography Library 1.79

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
CMSProcessableCMPCertificate(org.bouncycastle.asn1.cmp.CMPCertificate cmpCertificate)
           
CMSProcessableCMPCertificate(X509CertificateHolder certificateHolder)
           
 
Method Summary
 java.lang.Object getContent()
           
 org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()
           
 void write(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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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,
                  CMSException
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 interface CMSProcessable

getContent

public java.lang.Object getContent()
Specified by:
getContent in interface CMSProcessable

getContentType

public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()
Specified by:
getContentType in interface CMSTypedData

Bouncy Castle Cryptography Library 1.79