@InterfaceAudience.Public public final class DefaultCipherProvider extends Object implements CipherProvider
| Modifier and Type | Field and Description |
|---|---|
private org.apache.hadoop.conf.Configuration |
conf |
private static DefaultCipherProvider |
instance |
| Modifier | Constructor and Description |
|---|---|
private |
DefaultCipherProvider() |
| Modifier and Type | Method and Description |
|---|---|
Cipher |
getCipher(String name)
Get an Cipher
|
org.apache.hadoop.conf.Configuration |
getConf() |
static DefaultCipherProvider |
getInstance() |
String |
getName()
Return the provider's name
|
String[] |
getSupportedCiphers()
Return the set of Ciphers supported by this provider
|
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
private static DefaultCipherProvider instance
private org.apache.hadoop.conf.Configuration conf
private DefaultCipherProvider()
public static DefaultCipherProvider getInstance()
public org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurablepublic void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.Configurablepublic String getName()
CipherProvidergetName in interface CipherProviderpublic Cipher getCipher(String name)
CipherProvidergetCipher in interface CipherProvidername - Cipher name, e.g. "AES"public String[] getSupportedCiphers()
CipherProvidergetSupportedCiphers in interface CipherProviderCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.