CMSProcessable
, CMSTypedData
public class PKCS7ProcessableObject extends java.lang.Object implements CMSTypedData
Constructor | Description |
---|---|
PKCS7ProcessableObject(org.bouncycastle.asn1.ASN1ObjectIdentifier type,
org.bouncycastle.asn1.ASN1Encodable structure) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
getContent() |
|
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getContentType() |
|
void |
write(java.io.OutputStream cOut) |
generic routine to copy out the data we want processed - the OutputStream
passed in will do the handling on it's own.
|
public PKCS7ProcessableObject(org.bouncycastle.asn1.ASN1ObjectIdentifier type, org.bouncycastle.asn1.ASN1Encodable structure)
public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()
getContentType
in interface CMSTypedData
public void write(java.io.OutputStream cOut) 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