Package org.bouncycastle.cms
Class PKCS7ProcessableObject
- java.lang.Object
-
- org.bouncycastle.cms.PKCS7ProcessableObject
-
- All Implemented Interfaces:
CMSProcessable,CMSTypedData
public class PKCS7ProcessableObject extends java.lang.Object implements CMSTypedData
-
-
Constructor Summary
Constructors Constructor Description PKCS7ProcessableObject(org.bouncycastle.asn1.ASN1ObjectIdentifier type, org.bouncycastle.asn1.ASN1Encodable structure)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetContent()org.bouncycastle.asn1.ASN1ObjectIdentifiergetContentType()voidwrite(java.io.OutputStream cOut)generic routine to copy out the data we want processed - the OutputStream passed in will do the handling on it's own.
-
-
-
Method Detail
-
getContentType
public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()
- Specified by:
getContentTypein interfaceCMSTypedData
-
write
public void write(java.io.OutputStream cOut) 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
-
-