Package io.anyline.nfc.bouncycastle.cms
Class CMSProcessableByteArray
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.cms.CMSProcessable,io.anyline.nfc.bouncycastle.cms.CMSReadable,io.anyline.nfc.bouncycastle.cms.CMSTypedData
public class CMSProcessableByteArray implements CMSTypedData, CMSReadable
a holding class for a byte array of data to be processed.
-
-
Constructor Summary
Constructors Constructor Description CMSProcessableByteArray(Array<byte> bytes)CMSProcessableByteArray(ASN1ObjectIdentifier type, Array<byte> bytes)
-
Method Summary
Modifier and Type Method Description InputStreamgetInputStream()voidwrite(OutputStream zOut)generic routine to copy out the data we want processed - the OutputStream passed in will do the handling on it's own. ObjectgetContent()ASN1ObjectIdentifiergetContentType()-
-
Constructor Detail
-
CMSProcessableByteArray
CMSProcessableByteArray(Array<byte> bytes)
-
CMSProcessableByteArray
CMSProcessableByteArray(ASN1ObjectIdentifier type, Array<byte> bytes)
-
-
Method Detail
-
getInputStream
InputStream getInputStream()
-
write
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.
Note: this routine may be called multiple times.
-
getContent
Object getContent()
-
getContentType
ASN1ObjectIdentifier getContentType()
-
-
-
-