public class PKCS7ProcessableObject extends Object implements CMSTypedData
Constructor and Description |
---|
PKCS7ProcessableObject(org.bouncycastle.asn1.ASN1ObjectIdentifier type,
org.bouncycastle.asn1.ASN1Encodable structure) |
Modifier and Type | Method and Description |
---|---|
Object |
getContent() |
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getContentType() |
void |
write(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(OutputStream cOut) throws IOException, CMSException
CMSProcessable
Note: this routine may be called multiple times.
write
in interface CMSProcessable
IOException
CMSException
public Object getContent()
getContent
in interface CMSProcessable
Copyright © 2017 BouncyCastle.org. All rights reserved.