Class DefaultCipherProvider
java.lang.Object
org.apache.hadoop.hbase.io.crypto.DefaultCipherProvider
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
,CipherProvider
The default cipher provider. Supports AES via the JCE.
-
Field Summary
Modifier and TypeFieldDescriptionprivate org.apache.hadoop.conf.Configuration
private static DefaultCipherProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet an Cipherorg.apache.hadoop.conf.Configuration
getConf()
static DefaultCipherProvider
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
-
DefaultCipherProvider
private DefaultCipherProvider()
-
-
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
-