org.apache.accumulo.core.security.crypto
@Deprecated public interface CryptoModule
Modifier and Type | Interface and Description |
---|---|
static class |
CryptoModule.CryptoInitProperty
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
getDecryptingInputStream(InputStream in,
Map<String,String> cryptoOpts)
Deprecated.
Wraps an InputStream and returns a decrypting input stream.
|
InputStream |
getDecryptingInputStream(InputStream in,
Map<String,String> cryptoOpts,
Map<CryptoModule.CryptoInitProperty,Object> cryptoInitParams)
Deprecated.
Wraps an InputStream and returns a decrypting input stream.
|
OutputStream |
getEncryptingOutputStream(OutputStream out,
Map<String,String> cryptoOpts)
Deprecated.
Wraps an OutputStream in an encrypting OutputStream.
|
OutputStream |
getEncryptingOutputStream(OutputStream out,
Map<String,String> conf,
Map<CryptoModule.CryptoInitProperty,Object> cryptoInitParams)
Deprecated.
Wraps an OutputStream in an encrypting OutputStream.
|
OutputStream getEncryptingOutputStream(OutputStream out, Map<String,String> cryptoOpts) throws IOException
out
- the OutputStream to wrapcryptoOpts
- the cryptographic parameters to use; specific string names to look for will depend on the various implementationsIOException
InputStream getDecryptingInputStream(InputStream in, Map<String,String> cryptoOpts) throws IOException
in
- the InputStream to wrapcryptoOpts
- the cryptographic parameters to use; specific string names to look for will depend on the various implementationsIOException
OutputStream getEncryptingOutputStream(OutputStream out, Map<String,String> conf, Map<CryptoModule.CryptoInitProperty,Object> cryptoInitParams)
out
- the OutputStream to wrapconf
- the cryptographic algorithm configurationcryptoInitParams
- the initialization parameters for the algorithm, usually including initialization vector and session keyInputStream getDecryptingInputStream(InputStream in, Map<String,String> cryptoOpts, Map<CryptoModule.CryptoInitProperty,Object> cryptoInitParams) throws IOException
IOException
Copyright © 2015 Apache Accumulo Project. All Rights Reserved.