|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface to be implemented by encryption service providers.
Method Summary | |
---|---|
java.io.InputStream |
decrypt(java.io.InputStream inputStream)
Decrypts the specified input stream. |
java.io.OutputStream |
encrypt(java.io.OutputStream outputStream)
Encrypts the specified output stream. |
void |
finish(java.io.InputStream inputStream)
This method is invoked after the decrypted input stream is used allowing the Cipher implementation to do any maintenance work required, such as flushing internal cache. |
void |
finish(java.io.OutputStream outputStream)
This method is invoked after the encrypted output stream is used allowing the Cipher implementation to do any maintenance work required, such as flushing an internal cache. |
Method Detail |
public java.io.OutputStream encrypt(java.io.OutputStream outputStream) throws java.lang.Exception
outputStream
-
java.lang.Exception
public void finish(java.io.OutputStream outputStream) throws java.lang.Exception
java.lang.Exception
public java.io.InputStream decrypt(java.io.InputStream inputStream) throws java.lang.Exception
inputStream
-
java.lang.Exception
public void finish(java.io.InputStream inputStream) throws java.lang.Exception
java.lang.Exception
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |