public class PKCS7ProcessableObject extends Object implements CMSTypedData
Constructor and Description |
---|
PKCS7ProcessableObject(ASN1ObjectIdentifier type,
ASN1Encodable structure) |
Modifier and Type | Method and Description |
---|---|
Object |
getContent() |
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(ASN1ObjectIdentifier type, ASN1Encodable structure)
public 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 © 2018 BouncyCastle.org. All rights reserved.