|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CryptoStreamFactory
Interface for creating encrypting/decrypting streams.
| Method Summary | |
|---|---|
java.io.InputStream |
getInputStream(java.io.InputStream is)
Creates a decrypting input stream. |
java.io.InputStream |
getInputStream(java.io.InputStream is,
char[] password)
Creates an decrypting input stream |
java.io.OutputStream |
getOutputStream(java.io.OutputStream os,
char[] password)
Creates an encrypting output stream |
java.io.InputStream |
getSmartInputStream(java.io.InputStream is)
Creates a smart decrypting input stream. |
java.io.InputStream |
getSmartInputStream(java.io.InputStream is,
char[] password)
Creates an decrypting input stream |
| Method Detail |
|---|
java.io.InputStream getInputStream(java.io.InputStream is)
throws java.security.GeneralSecurityException,
java.io.IOException
is - the input stream to be wrapped
java.security.GeneralSecurityException - creating the input stream failed
java.io.IOException - creating the input stream failed
java.io.InputStream getInputStream(java.io.InputStream is,
char[] password)
throws java.security.GeneralSecurityException,
java.io.IOException
is - the input stream to be wrappedpassword - the password to be used
java.security.GeneralSecurityException - creating the input stream failed
java.io.IOException - creating the input stream failed
java.io.InputStream getSmartInputStream(java.io.InputStream is)
throws java.security.GeneralSecurityException,
java.io.IOException
is - the input stream to be wrapped
java.security.GeneralSecurityException - creating the input stream failed
java.io.IOException - creating the input stream failed
java.io.InputStream getSmartInputStream(java.io.InputStream is,
char[] password)
throws java.security.GeneralSecurityException,
java.io.IOException
is - the input stream to be wrappedpassword - the password to be used
java.security.GeneralSecurityException - creating the input stream failed
java.io.IOException - creating the input stream failed
java.io.OutputStream getOutputStream(java.io.OutputStream os,
char[] password)
throws java.security.GeneralSecurityException,
java.io.IOException
os - the output stream to be wrappedpassword - the password to be used
java.security.GeneralSecurityException - creating the ouptut stream failed
java.io.IOException - creating the ouptut stream failed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||