CMSProcessable
, CMSTypedData
public class CMSProcessableByteArray extends java.lang.Object implements CMSTypedData
Constructor | Description |
---|---|
CMSProcessableByteArray(byte[] bytes) |
|
CMSProcessableByteArray(org.bouncycastle.asn1.ASN1ObjectIdentifier type,
byte[] bytes) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
getContent() |
|
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getContentType() |
|
java.io.InputStream |
getInputStream() |
|
void |
write(java.io.OutputStream zOut) |
generic routine to copy out the data we want processed - the OutputStream
passed in will do the handling on it's own.
|
public CMSProcessableByteArray(byte[] bytes)
public CMSProcessableByteArray(org.bouncycastle.asn1.ASN1ObjectIdentifier type, byte[] bytes)
public java.io.InputStream getInputStream()
public void write(java.io.OutputStream zOut) throws java.io.IOException, CMSException
CMSProcessable
Note: this routine may be called multiple times.
write
in interface CMSProcessable
java.io.IOException
CMSException
public java.lang.Object getContent()
getContent
in interface CMSProcessable
public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()
getContentType
in interface CMSTypedData