public interface Encryptor
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
decrypt(java.security.Key key,
java.lang.String encryptedString) |
byte[] |
decryptUnencodedAsBytes(java.security.Key key,
byte[] encryptedBytes) |
java.security.Key |
deserializeKey(java.lang.String base64String) |
java.lang.String |
encrypt(java.security.Key key,
java.lang.String plainText) |
byte[] |
encryptUnencoded(java.security.Key key,
byte[] plainBytes) |
byte[] |
encryptUnencoded(java.security.Key key,
java.lang.String plainText) |
java.security.Key |
generateKey() |
java.lang.String |
serializeKey(java.security.Key key) |
java.lang.String decrypt(java.security.Key key,
java.lang.String encryptedString)
throws EncryptorException
EncryptorExceptionbyte[] decryptUnencodedAsBytes(java.security.Key key,
byte[] encryptedBytes)
throws EncryptorException
EncryptorExceptionjava.security.Key deserializeKey(java.lang.String base64String)
java.lang.String encrypt(java.security.Key key,
java.lang.String plainText)
throws EncryptorException
EncryptorExceptionbyte[] encryptUnencoded(java.security.Key key,
byte[] plainBytes)
throws EncryptorException
EncryptorExceptionbyte[] encryptUnencoded(java.security.Key key,
java.lang.String plainText)
throws EncryptorException
EncryptorExceptionjava.security.Key generateKey()
throws EncryptorException
EncryptorExceptionjava.lang.String serializeKey(java.security.Key key)