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 Details

    • SecretHmacSigningHandler

      public SecretHmacSigningHandler(SigningKey signingKey)
      Constructs a new SecretHmacSigningHandler for creating signature with the given signingKey.
      Parameters:
      signingKey - key to use for signature creation
    • SecretHmacSigningHandler

      public SecretHmacSigningHandler(VerificationKey verificationKey)
      Constructs a new SecretHmacSigningHandler for verifying signature with the given verificationKey.
      Parameters:
      verificationKey - key to use for signature verification