@InterfaceAudience.Public @InterfaceStability.Evolving public final class DefaultCipherProvider extends Object implements CipherProvider
| 限定符和类型 | 方法和说明 |
|---|---|
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) |
public static DefaultCipherProvider getInstance()
public org.apache.hadoop.conf.Configuration getConf()
getConf 在接口中 org.apache.hadoop.conf.Configurablepublic void setConf(org.apache.hadoop.conf.Configuration conf)
setConf 在接口中 org.apache.hadoop.conf.Configurablepublic String getName()
CipherProvidergetName 在接口中 CipherProviderpublic Cipher getCipher(String name)
CipherProvidergetCipher 在接口中 CipherProvidername - Cipher name, e.g. "AES"public String[] getSupportedCiphers()
CipherProvidergetSupportedCiphers 在接口中 CipherProviderCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.