|
|||||||||||
| 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 | |
InputStream |
decrypt(InputStream inputStream)
Decrypts the specified input stream. |
OutputStream |
encrypt(OutputStream outputStream)
Encrypts the specified output stream. |
void |
finish(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(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 OutputStream encrypt(OutputStream outputStream)
throws Exception
outputStream -
Exception
public void finish(OutputStream outputStream)
throws Exception
Exception
public InputStream decrypt(InputStream inputStream)
throws Exception
inputStream -
Exception
public void finish(InputStream inputStream)
throws Exception
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 | ||||||||||