public class CMSProcessableByteArray extends Object implements CMSTypedData
| Constructor and Description |
|---|
CMSProcessableByteArray(ASN1ObjectIdentifier type,
byte[] bytes) |
CMSProcessableByteArray(byte[] bytes) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getContent() |
ASN1ObjectIdentifier |
getContentType() |
InputStream |
getInputStream() |
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.
|
public CMSProcessableByteArray(byte[] bytes)
public CMSProcessableByteArray(ASN1ObjectIdentifier type, byte[] bytes)
public InputStream getInputStream()
public void write(OutputStream zOut) throws IOException, CMSException
CMSProcessableNote: this routine may be called multiple times.
write in interface CMSProcessableIOExceptionCMSExceptionpublic Object getContent()
getContent in interface CMSProcessablepublic ASN1ObjectIdentifier getContentType()
getContentType in interface CMSTypedDataCopyright © 2015. All rights reserved.