Class RSASSA


  • public class RSASSA
    extends java.lang.Object
    RSA-SSA functions and utilities.
    Version:
    2021-08-01
    Author:
    Vladimir Dzhuvinov
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.security.Signature getSignerAndVerifier​(JWSAlgorithm alg, java.security.Provider provider)
      Returns a signer and verifier for the specified RSASSA-based JSON Web Algorithm (JWA).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getSignerAndVerifier

        public static java.security.Signature getSignerAndVerifier​(JWSAlgorithm alg,
                                                                   java.security.Provider provider)
                                                            throws JOSEException
        Returns a signer and verifier for the specified RSASSA-based JSON Web Algorithm (JWA).
        Parameters:
        alg - The JSON Web Algorithm (JWA). Must be supported and not null.
        Returns:
        A signer and verifier instance.
        Throws:
        JOSEException - If the algorithm is not supported.