Class DirectDecrypter
- java.lang.Object
-
- org.jboss.resteasy.jose.jwe.crypto.DirectDecrypter
-
public class DirectDecrypter extends Object
Direct decrypter with a shared symmetric key. This class is thread-safe.Supports the following JWE algorithms:
- DIR
Supports the following encryption methods:
- A128CBC_HS256
- A256CBC_HS512
- A128GCM
- A256GCM
- Version:
- $version$ (2013-05-29)
- Author:
- Vladimir Dzhuvinov
-
-
Constructor Summary
Constructors Constructor Description DirectDecrypter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
decrypt(SecretKey key, JWEHeader readOnlyJWEHeader, String encodedHeader, String encryptedKey, String encodedIv, String encodedCipherText, String encodedAuthTag)
-