public interface ObjectEncryption
| Modifier and Type | Method and Description |
|---|---|
String |
decrypt(String encrypted) |
<T> T |
decrypt(String encrypted,
Class<T> type) |
String |
encrypt(Object object) |
String |
encrypt(String plainText) |
Optional<String> |
tryToDecrypt(String encrypted) |
<T> Optional<T> |
tryToDecrypt(String encrypted,
Class<T> type) |
<T> T decrypt(String encrypted, Class<T> type) throws EncryptionException
EncryptionExceptionString decrypt(String encrypted) throws EncryptionException
EncryptionExceptionString encrypt(Object object) throws EncryptionException
EncryptionExceptionString encrypt(String plainText) throws EncryptionException
EncryptionExceptionCopyright © 2019. All rights reserved.