public static class TestCipherProvider.MyCipherProvider extends Object implements CipherProvider
| Constructor and Description |
|---|
MyCipherProvider() |
| Modifier and Type | Method and Description |
|---|---|
Cipher |
getCipher(String name)
Get an Cipher
|
Configuration |
getConf() |
String |
getName()
Return the provider's name
|
String[] |
getSupportedCiphers()
Return the set of Ciphers supported by this provider
|
void |
setConf(Configuration conf) |
public Configuration getConf()
public void setConf(Configuration conf)
public String getName()
CipherProvidergetName in interface CipherProviderpublic String[] getSupportedCiphers()
CipherProvidergetSupportedCiphers in interface CipherProviderpublic Cipher getCipher(String name)
CipherProvidergetCipher in interface CipherProvidername - Cipher name, e.g. "AES"