Class CryptoCipherProvider
java.lang.Object
org.apache.hadoop.hbase.io.crypto.CryptoCipherProvider
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
,CipherProvider
The default cipher provider. Supports AES via the Commons Crypto.
-
Field Summary
Modifier and TypeFieldDescriptionprivate org.apache.hadoop.conf.Configuration
private static CryptoCipherProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet an Cipherorg.apache.hadoop.conf.Configuration
getConf()
static CryptoCipherProvider
getName()
Return the provider's nameString[]
Return the set of Ciphers supported by this providervoid
setConf
(org.apache.hadoop.conf.Configuration conf)
-
Field Details
-
instance
-
conf
-
-
Constructor Details
-
CryptoCipherProvider
private CryptoCipherProvider()
-
-
Method Details
-
getInstance
-
getConf
- Specified by:
getConf
in interfaceorg.apache.hadoop.conf.Configurable
-
setConf
- Specified by:
setConf
in interfaceorg.apache.hadoop.conf.Configurable
-
getName
Description copied from interface:CipherProvider
Return the provider's name- Specified by:
getName
in interfaceCipherProvider
-
getCipher
Description copied from interface:CipherProvider
Get an Cipher- Specified by:
getCipher
in interfaceCipherProvider
- Parameters:
name
- Cipher name, e.g. "AES"- Returns:
- the appropriate Cipher
-
getSupportedCiphers
Description copied from interface:CipherProvider
Return the set of Ciphers supported by this provider- Specified by:
getSupportedCiphers
in interfaceCipherProvider
-