public class SimpleDecryptor extends Object implements JsonDecryptor
$crypto JSON object value encrypted with the
x-simple-encryption type.| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE
The type of cryptographic representation that this decryptor supports.
|
| Constructor and Description |
|---|
SimpleDecryptor(SimpleKeySelector selector)
TODO: Description.
|
| Modifier and Type | Method and Description |
|---|---|
JsonValue |
decrypt(JsonValue value)
Decrypts the specified value.
|
String |
getType()
Returns the type of cryptographic representation that this JSON decryptor supports.
|
public static final String TYPE
public SimpleDecryptor(SimpleKeySelector selector)
selector - TODO.public String getType()
JsonDecryptortype property of a JsonCrypto object.getType in interface JsonDecryptorpublic JsonValue decrypt(JsonValue value) throws JsonCryptoException
JsonDecryptordecrypt in interface JsonDecryptorvalue - the JSON value to be decrypted.JsonCryptoException - if the decryptor fails to decrypt the value.Copyright © 2025 Open Identity Platform Community. All rights reserved.