|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface URIConverter.Cipher
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 |
|---|
java.io.OutputStream encrypt(java.io.OutputStream outputStream)
throws java.lang.Exception
outputStream -
java.lang.Exception
void finish(java.io.OutputStream outputStream)
throws java.lang.Exception
outputStream - the encrypted stream returned by encrypt(OutputStream).
java.lang.Exception
java.io.InputStream decrypt(java.io.InputStream inputStream)
throws java.lang.Exception
inputStream -
java.lang.Exception
void finish(java.io.InputStream inputStream)
throws java.lang.Exception
inputStream - the stream returned by decrypt(InputStream).
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 | |||||||||