Class SecretRSASigningHandler
- java.lang.Object
-
- org.forgerock.json.jose.jws.handlers.SecretSigningHandler
-
- org.forgerock.json.jose.jws.handlers.SecretRSASigningHandler
-
- All Implemented Interfaces:
SigningHandler
public class SecretRSASigningHandler extends SecretSigningHandler
AnSecret
-based implementation of the SigningHandler which can sign and verify using algorithms from the RSA family.
-
-
Constructor Summary
Constructors Constructor Description SecretRSASigningHandler(SigningKey signingKey)
Constructs a new SecretRSASigningHandler for creating signature with the givensigningKey
.SecretRSASigningHandler(VerificationKey verificationKey)
Constructs a new SecretRSASigningHandler for verifying signature with the givenverificationKey
.
-
Method Summary
-
Methods inherited from class org.forgerock.json.jose.jws.handlers.SecretSigningHandler
sign, validateAlgorithm, verify
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.forgerock.json.jose.jws.handlers.SigningHandler
sign
-
-
-
-
Constructor Detail
-
SecretRSASigningHandler
public SecretRSASigningHandler(SigningKey signingKey)
Constructs a new SecretRSASigningHandler for creating signature with the givensigningKey
.- Parameters:
signingKey
- key to use for signature creation
-
SecretRSASigningHandler
public SecretRSASigningHandler(VerificationKey verificationKey)
Constructs a new SecretRSASigningHandler for verifying signature with the givenverificationKey
.- Parameters:
verificationKey
- key to use for signature verification
-
-