Class SecretHmacSigningHandler
java.lang.Object
org.forgerock.json.jose.jws.handlers.SecretSigningHandler
org.forgerock.json.jose.jws.handlers.SecretHmacSigningHandler
- All Implemented Interfaces:
SigningHandler
An implementation of the SigningHandler which can sign and verify using algorithms from the HMAC family.
-
Constructor Summary
ConstructorDescriptionSecretHmacSigningHandler
(SigningKey signingKey) Constructs a new SecretHmacSigningHandler for creating signature with the givensigningKey
.SecretHmacSigningHandler
(VerificationKey verificationKey) Constructs a new SecretHmacSigningHandler 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 Details
-
SecretHmacSigningHandler
Constructs a new SecretHmacSigningHandler for creating signature with the givensigningKey
.- Parameters:
signingKey
- key to use for signature creation
-
SecretHmacSigningHandler
Constructs a new SecretHmacSigningHandler for verifying signature with the givenverificationKey
.- Parameters:
verificationKey
- key to use for signature verification
-