|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface CryptoModule
Classes that obey this interface may be used to provide encrypting and decrypting streams to the rest of Accumulo. Classes that obey this interface may be configured as the crypto module by setting the property crypto.module.class in the accumulo-site.xml file. Note that this first iteration of this API is considered deprecated because we anticipate it changing in non-backwards compatible ways as we explore the requirements for encryption in Accumulo. So, your mileage is gonna vary a lot as we go forward.
Nested Class Summary | |
---|---|
static class |
CryptoModule.CryptoInitProperty
Deprecated. |
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 implementations
IOException
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 implementations
IOException
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 key
InputStream getDecryptingInputStream(InputStream in, Map<String,String> cryptoOpts, Map<CryptoModule.CryptoInitProperty,Object> cryptoInitParams) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |