Package com.nimbusds.jose.crypto.impl
Class RSASSA
java.lang.Object
com.nimbusds.jose.crypto.impl.RSASSA
RSA-SSA functions and utilities.
- Version:
- 2021-08-01
- Author:
- Vladimir Dzhuvinov
-
Method Summary
Modifier and TypeMethodDescriptionstatic SignaturegetSignerAndVerifier(JWSAlgorithm alg, Provider provider) Returns a signer and verifier for the specified RSASSA-based JSON Web Algorithm (JWA).
-
Method Details
-
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 notnull.- Returns:
- A signer and verifier instance.
- Throws:
JOSEException- If the algorithm is not supported.
-