public class CMSProcessableFile extends Object implements CMSTypedData
Constructor and Description |
---|
CMSProcessableFile(org.bouncycastle.asn1.ASN1ObjectIdentifier type,
File file,
int bufSize) |
CMSProcessableFile(File file) |
CMSProcessableFile(File file,
int bufSize) |
Modifier and Type | Method and Description |
---|---|
Object |
getContent()
Return the file handle.
|
org.bouncycastle.asn1.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.
|
public CMSProcessableFile(File file)
public CMSProcessableFile(File file, int bufSize)
public CMSProcessableFile(org.bouncycastle.asn1.ASN1ObjectIdentifier type, File file, int bufSize)
public InputStream getInputStream() throws IOException, CMSException
IOException
CMSException
public void write(OutputStream zOut) 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
public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()
getContentType
in interface CMSTypedData