public class

CMSProcessableFile

extends Object
implements CMSTypedData
java.lang.Object
   ↳ org.bouncycastle.cms.CMSProcessableFile

Class Overview

a holding class for a file of data to be processed.

Summary

Public Constructors
CMSProcessableFile(File file)
CMSProcessableFile(File file, int bufSize)
CMSProcessableFile(ASN1ObjectIdentifier type, File file, int bufSize)
Public Methods
Object getContent()
Return the file handle.
ASN1ObjectIdentifier getContentType()
InputStream getInputStream()
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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.bouncycastle.cms.CMSProcessable
From interface org.bouncycastle.cms.CMSTypedData

Public Constructors

public CMSProcessableFile (File file)

public CMSProcessableFile (File file, int bufSize)

public CMSProcessableFile (ASN1ObjectIdentifier type, File file, int bufSize)

Public Methods

public Object getContent ()

Return the file handle.

public ASN1ObjectIdentifier getContentType ()

public InputStream getInputStream ()

public 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.

Note: this routine may be called multiple times.