Package org.bouncycastle.cms
Class CMSProcessableFile
java.lang.Object
org.bouncycastle.cms.CMSProcessableFile
- All Implemented Interfaces:
CMSProcessable
,CMSTypedData
a holding class for a file of data to be processed.
-
Constructor Summary
ConstructorDescriptionCMSProcessableFile
(File file) CMSProcessableFile
(File file, int bufSize) CMSProcessableFile
(org.bouncycastle.asn1.ASN1ObjectIdentifier type, File file, int bufSize) -
Method Summary
Modifier and TypeMethodDescriptionReturn the file handle.org.bouncycastle.asn1.ASN1ObjectIdentifier
void
write
(OutputStream zOut) generic routine to copy out the data we want processed - the OutputStream passed in will do the handling on it's own.
-
Constructor Details
-
Method Details
-
getInputStream
- Throws:
IOException
CMSException
-
write
Description copied from interface:CMSProcessable
generic routine to copy out the data we want processed - the OutputStream passed in will do the handling on it's own.Note: this routine may be called multiple times.
- Specified by:
write
in interfaceCMSProcessable
- Throws:
IOException
CMSException
-
getContent
Return the file handle.- Specified by:
getContent
in interfaceCMSProcessable
-
getContentType
public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()- Specified by:
getContentType
in interfaceCMSTypedData
-