Interface CryptoStreamFactoryJ8
-
- All Superinterfaces:
CryptoStreamFactory
- All Known Implementing Classes:
CryptoStreamFactoryJ8Template,CryptoStreamGCMImpl,CryptoStreamPBEImpl
public interface CryptoStreamFactoryJ8 extends CryptoStreamFactory
Interface for creating encrypting/decrypting streams.- Author:
- Georg Kallidis
-
-
Method Summary
Modifier and Type Method Description OutputStreamgetOutputStream(InputStream is, OutputStream os, char[] password)Creates an encrypting output stream using the given password.-
Methods inherited from interface org.apache.fulcrum.jce.crypto.CryptoStreamFactory
getAlgorithm, getInputStream, getInputStream, getInputStream, getInputStream, getOutputStream, getOutputStream, getSmartInputStream, getSmartInputStream
-
-
-
-
Method Detail
-
getOutputStream
OutputStream getOutputStream(InputStream is, OutputStream os, char[] password) throws GeneralSecurityException, IOException
Creates an encrypting output stream using the given password.- Parameters:
is- the input stream to be encodedos- the output stream to be wrappedpassword- the password to be used- Returns:
- the encrypting output stream
- Throws:
GeneralSecurityException- creating the output stream failedIOException- creating the output stream failed
-
-