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
FieldsModifier and TypeFieldDescriptionprivate org.apache.hadoop.conf.Configurationprivate static CryptoCipherProvider -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet an Cipherorg.apache.hadoop.conf.ConfigurationgetConf()static CryptoCipherProvidergetName()Return the provider's nameString[]Return the set of Ciphers supported by this providervoidsetConf(org.apache.hadoop.conf.Configuration conf)
-
Field Details
-
instance
-
conf
-
-
Constructor Details
-
CryptoCipherProvider
private CryptoCipherProvider()
-
-
Method Details
-
getInstance
-
getConf
- Specified by:
getConfin interfaceorg.apache.hadoop.conf.Configurable
-
setConf
- Specified by:
setConfin interfaceorg.apache.hadoop.conf.Configurable
-
getName
Description copied from interface:CipherProviderReturn the provider's name- Specified by:
getNamein interfaceCipherProvider
-
getCipher
Description copied from interface:CipherProviderGet an Cipher- Specified by:
getCipherin interfaceCipherProvider- Parameters:
name- Cipher name, e.g. "AES"- Returns:
- the appropriate Cipher
-
getSupportedCiphers
Description copied from interface:CipherProviderReturn the set of Ciphers supported by this provider- Specified by:
getSupportedCiphersin interfaceCipherProvider
-