public class CipherPair extends Object
| Constructor and Description |
|---|
CipherPair(String transformation) |
| Modifier and Type | Method and Description |
|---|---|
Cipher |
createDecryptor()
Create the decryptor every time because the decryptor is not thead safe.
|
Cipher |
getEncryptor() |
String |
getTransformation() |
public CipherPair(String transformation) throws GeneralSecurityException
GeneralSecurityExceptionpublic String getTransformation()
public Cipher getEncryptor()
public Cipher createDecryptor()
Apache Camel