Package org.bouncycastle.cms
Class PKCS7ProcessableObject
java.lang.Object
org.bouncycastle.cms.PKCS7ProcessableObject
- All Implemented Interfaces:
CMSProcessable
,CMSTypedData
-
Constructor Summary
ConstructorsConstructorDescriptionPKCS7ProcessableObject
(org.bouncycastle.asn1.ASN1ObjectIdentifier type, org.bouncycastle.asn1.ASN1Encodable structure) -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1ObjectIdentifier
void
write
(OutputStream cOut) generic routine to copy out the data we want processed - the OutputStream passed in will do the handling on it's own.
-
Constructor Details
-
PKCS7ProcessableObject
public PKCS7ProcessableObject(org.bouncycastle.asn1.ASN1ObjectIdentifier type, org.bouncycastle.asn1.ASN1Encodable structure)
-
-
Method Details
-
getContentType
public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()- Specified by:
getContentType
in interfaceCMSTypedData
-
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
-