public interface CryptoStreamFactoryJ8 extends CryptoStreamFactory
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
getOutputStream(InputStream is,
OutputStream os,
char[] password)
Creates an encrypting output stream using the given password.
|
getAlgorithm, getInputStream, getInputStream, getInputStream, getInputStream, getOutputStream, getOutputStream, getSmartInputStream, getSmartInputStreamOutputStream getOutputStream(InputStream is, OutputStream os, char[] password) throws GeneralSecurityException, IOException
is - the input stream to be encodedos - the output stream to be wrappedpassword - the password to be usedGeneralSecurityException - creating the output stream failedIOException - creating the output stream failedCopyright © 2008–2020 The Apache Software Foundation. All rights reserved.