org.jboss.resteasy.jose.jws.crypto

## Class RSAProvider

- java.lang.Object
- - org.jboss.resteasy.jose.jws.crypto.RSAProvider

-     public class RSAProvider
      extends Object

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RSAProvider()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String` | `getJavaAlgorithm(Algorithm alg)`
    `static Signature` | `getSignature(Algorithm alg)`
    `static byte[]` | `sign(byte[] data, Algorithm algorithm, PrivateKey privateKey)`
    `static boolean` | `verify(JWSInput input, PublicKey publicKey)`

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

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

- - ### Constructor Detail

    - #### RSAProvider

          public RSAProvider()

  - ### Method Detail

    - #### getJavaAlgorithm

          public static String getJavaAlgorithm(Algorithm alg)

    - #### getSignature

          public static Signature getSignature(Algorithm alg)

    - #### sign

          public static byte[] sign(byte[] data,
                    Algorithm algorithm,
                    PrivateKey privateKey)

    - #### verify

          public static boolean verify(JWSInput input,
                       PublicKey publicKey)

Copyright © 2014. All Rights Reserved.