Package org.apache.fop.pdf
Class CMSProcessableInputStream
- java.lang.Object
-
- org.apache.fop.pdf.CMSProcessableInputStream
-
- All Implemented Interfaces:
org.bouncycastle.cms.CMSProcessable,org.bouncycastle.cms.CMSTypedData
class CMSProcessableInputStream extends java.lang.Object implements org.bouncycastle.cms.CMSTypedDataWraps a InputStream into a CMSProcessable object for bouncy castle. It's a memory saving alternative to theCMSProcessableByteArrayclass.
-
-
Field Summary
Fields Modifier and Type Field Description private org.bouncycastle.asn1.ASN1ObjectIdentifiercontentTypeprivate java.io.InputStreamin
-
Constructor Summary
Constructors Constructor Description CMSProcessableInputStream(java.io.InputStream is)CMSProcessableInputStream(org.bouncycastle.asn1.ASN1ObjectIdentifier type, java.io.InputStream is)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetContent()org.bouncycastle.asn1.ASN1ObjectIdentifiergetContentType()voidwrite(java.io.OutputStream out)
-
-
-
Method Detail
-
getContent
public java.lang.Object getContent()
- Specified by:
getContentin interfaceorg.bouncycastle.cms.CMSProcessable
-
write
public void write(java.io.OutputStream out) throws java.io.IOException- Specified by:
writein interfaceorg.bouncycastle.cms.CMSProcessable- Throws:
java.io.IOException
-
getContentType
public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()
- Specified by:
getContentTypein interfaceorg.bouncycastle.cms.CMSTypedData
-
-