Package org.bouncycastle.cms
Class CMSProcessableByteArray
java.lang.Object
org.bouncycastle.cms.CMSProcessableByteArray
- All Implemented Interfaces:
CMSProcessable
,CMSTypedData
a holding class for a byte array of data to be processed.
-
Constructor Summary
ConstructorsConstructorDescriptionCMSProcessableByteArray
(byte[] bytes) CMSProcessableByteArray
(org.bouncycastle.asn1.ASN1ObjectIdentifier type, byte[] bytes) -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1ObjectIdentifier
void
write
(OutputStream zOut) generic routine to copy out the data we want processed - the OutputStream passed in will do the handling on it's own.
-
Constructor Details
-
CMSProcessableByteArray
public CMSProcessableByteArray(byte[] bytes) -
CMSProcessableByteArray
public CMSProcessableByteArray(org.bouncycastle.asn1.ASN1ObjectIdentifier type, byte[] bytes)
-
-
Method Details
-
getInputStream
-
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
-
getContentType
public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()- Specified by:
getContentType
in interfaceCMSTypedData
-