org.jboss.resteasy.jose.jwe.crypto

## 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 and Description
    `DirectDecrypter()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static byte[]` | `decrypt(SecretKey key, JWEHeader readOnlyJWEHeader, String encodedHeader, String encryptedKey, String encodedIv, String encodedCipherText, String encodedAuthTag)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DirectDecrypter

          public DirectDecrypter()

  - ### Method Detail

    - #### decrypt

          public static byte[] decrypt(SecretKey key,
                       JWEHeader readOnlyJWEHeader,
                       String encodedHeader,
                       String encryptedKey,
                       String encodedIv,
                       String encodedCipherText,
                       String encodedAuthTag)

Copyright © 2014. All Rights Reserved.