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