|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchapter9.CMSProcessableFile
public class CMSProcessableFile
CMSProcessable that handles File objects.
Constructor Summary | |
---|---|
CMSProcessableFile(java.io.File file)
Base constructor. |
Method Summary | |
---|---|
java.lang.Object |
getContent()
Return the File object we were created with. |
void |
write(java.io.OutputStream out)
Write the contents of the file to the passed in OutputStream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CMSProcessableFile(java.io.File file)
file
- a File object representing the file we want processed.Method Detail |
---|
public void write(java.io.OutputStream out) throws java.io.IOException, org.bouncycastle.cms.CMSException
write
in interface org.bouncycastle.cms.CMSProcessable
out
- the OutputStream passed in by the CMS API.
java.io.IOException
org.bouncycastle.cms.CMSException
public java.lang.Object getContent()
getContent
in interface org.bouncycastle.cms.CMSProcessable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |