Class RSASSA


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

      • getSignerAndVerifier

        public static Signature getSignerAndVerifier​(JWSAlgorithm alg,
                                                     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.