CMSProcessable, CMSTypedDatapublic class CMSProcessableFile extends java.lang.Object implements CMSTypedData
| Constructor | Description |
|---|---|
CMSProcessableFile(java.io.File file) |
|
CMSProcessableFile(java.io.File file,
int bufSize) |
|
CMSProcessableFile(org.bouncycastle.asn1.ASN1ObjectIdentifier type,
java.io.File file,
int bufSize) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
getContent() |
Return the file handle.
|
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getContentType() |
|
java.io.InputStream |
getInputStream() |
|
void |
write(java.io.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(java.io.File file)
public CMSProcessableFile(java.io.File file,
int bufSize)
public CMSProcessableFile(org.bouncycastle.asn1.ASN1ObjectIdentifier type,
java.io.File file,
int bufSize)
public java.io.InputStream getInputStream()
throws java.io.IOException,
CMSException
java.io.IOExceptionCMSExceptionpublic void write(java.io.OutputStream zOut)
throws java.io.IOException,
CMSException
CMSProcessableNote: this routine may be called multiple times.
write in interface CMSProcessablejava.io.IOExceptionCMSExceptionpublic java.lang.Object getContent()
getContent in interface CMSProcessablepublic org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()
getContentType in interface CMSTypedData