Package org.forgerock.json.crypto
Interface JsonDecryptor
- All Known Implementing Classes:
SimpleDecryptor
public interface JsonDecryptor
Decrypts an encrypted JSON value.
-
Method Summary
-
Method Details
-
getType
String getType()Returns the type of cryptographic representation that this JSON decryptor supports. Expressed in thetype
property of aJsonCrypto
object.- Returns:
- The type.
-
decrypt
Decrypts the specified value.- Parameters:
value
- the JSON value to be decrypted.- Returns:
- the decrypted value.
- Throws:
JsonCryptoException
- if the decryptor fails to decrypt the value.
-