T - the generic type of the input to decryptR - the generic type of the resultpublic interface Decryptor<T,R> extends Cryptor
Decryptor can decrypt an object of type <T> (that was
previously encrypted) and return the decrypted result as object of type <R>.| Modifier and Type | Method and Description |
|---|---|
R |
decrypt(T encrypted)
Decrypt the given encrypted object.
|
default int |
newOperationMode()
Factory callback method for get the operation mode. the operation mode can be one of the
following values: ENCRYPT_MODE, DECRYPT_MODE, WRAP_MODE or UNWRAP_MODE
|
R decrypt(T encrypted) throws Exception
encrypted - The object to decrypt.Exception - is thrown if decryption fails.default int newOperationMode()
newOperationMode in interface CryptorCopyright © 2015–2016 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.