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.ASN1ObjectIdentifiervoidwrite(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: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:
IOExceptionCMSException
-
getContent
- Specified by:
getContentin interfaceCMSProcessable
-
getContentType
public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()- Specified by:
getContentTypein interfaceCMSTypedData
-