Direct decrypter of {@link com.nimbusds.jose.JWEObject JWE objects} with ashared symmetric key. This class is thread-safe.
Supports the following JWE algorithms:
- {@link com.nimbusds.jose.JWEAlgorithm#DIR}
Supports the following encryption methods:
- {@link com.nimbusds.jose.EncryptionMethod#A128CBC_HS256}
- {@link com.nimbusds.jose.EncryptionMethod#A192CBC_HS384}
- {@link com.nimbusds.jose.EncryptionMethod#A256CBC_HS512}
- {@link com.nimbusds.jose.EncryptionMethod#A128GCM}
- {@link com.nimbusds.jose.EncryptionMethod#A192GCM}
- {@link com.nimbusds.jose.EncryptionMethod#A256GCM}
Accepts all {@link com.nimbusds.jose.JWEHeader#getRegisteredParameterNames registered JWE header parameters}. Use {@link #setAcceptedAlgorithms} and{@link #setAcceptedEncryptionMethods} to restrict the acceptable JWEalgorithms and encryption methods.
@author Vladimir Dzhuvinov
@version $version$ (2014-07-08)