Package org.jboss.resteasy.jose.jwe.crypto

## Class RSADecrypter

- java.lang.Object
- - org.jboss.resteasy.jose.jwe.crypto.RSADecrypter

-     public class RSADecrypter
      extends Object

  RSA decrypter. This class is thread-safe.

  Supports the following JWE algorithms:

  - RSA1_5
  - RSA_OAEP

  Supports the following encryption methods:

  - A128CBC_HS256
  - A256CBC_HS512
  - A128GCM
  - A256GCM
  Version:
    $version$ (2013-05-29)
  Author:
    David Ortiz, Vladimir Dzhuvinov

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `RSADecrypter()` |

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static byte[]` | `decrypt​(JWEHeader readOnlyJWEHeader, String encodedHeader, String encodedEncryptedKey, String encodedIv, String encodedCipherText, String encodedAuthTag, RSAPrivateKey privateKey)` |

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

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

- - ### Constructor Detail

    - #### RSADecrypter

          public RSADecrypter()

  - ### Method Detail

    - #### decrypt

          public static byte[] decrypt​(JWEHeader readOnlyJWEHeader,
                                       String encodedHeader,
                                       String encodedEncryptedKey,
                                       String encodedIv,
                                       String encodedCipherText,
                                       String encodedAuthTag,
                                       RSAPrivateKey privateKey)