public static class TestEncryptionTest.FailingCipherProvider extends Object implements CipherProvider
Constructor and Description |
---|
FailingCipherProvider() |
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()
CipherProvider
getName
in interface CipherProvider
public String[] getSupportedCiphers()
CipherProvider
getSupportedCiphers
in interface CipherProvider
public Cipher getCipher(String name)
CipherProvider
getCipher
in interface CipherProvider
name
- Cipher name, e.g. "AES"