Class CMSProcessableInputStream
java.lang.Object
org.apache.fop.pdf.CMSProcessableInputStream
- All Implemented Interfaces:
org.bouncycastle.cms.CMSProcessable, org.bouncycastle.cms.CMSTypedData
Wraps a InputStream into a CMSProcessable object for bouncy castle. It's a memory saving
alternative to the
CMSProcessableByteArray
class.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.bouncycastle.asn1.ASN1ObjectIdentifierprivate InputStream -
Constructor Summary
ConstructorsConstructorDescriptionCMSProcessableInputStream(org.bouncycastle.asn1.ASN1ObjectIdentifier type, InputStream is) -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1ObjectIdentifiervoidwrite(OutputStream out)
-
Field Details
-
in
-
contentType
private final org.bouncycastle.asn1.ASN1ObjectIdentifier contentType
-
-
Constructor Details
-
CMSProcessableInputStream
CMSProcessableInputStream(InputStream is) -
CMSProcessableInputStream
CMSProcessableInputStream(org.bouncycastle.asn1.ASN1ObjectIdentifier type, InputStream is)
-
-
Method Details
-
getContent
- Specified by:
getContentin interfaceorg.bouncycastle.cms.CMSProcessable
-
write
- Specified by:
writein interfaceorg.bouncycastle.cms.CMSProcessable- Throws:
IOException
-
getContentType
public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()- Specified by:
getContentTypein interfaceorg.bouncycastle.cms.CMSTypedData
-