Class CBORHmacSigner


public class CBORHmacSigner extends CBORSigner<CBORHmacSigner>
Class for creating CBOR HMAC signatures.

Also see CBORSigner.

  • Constructor Details

    • CBORHmacSigner

      public CBORHmacSigner(byte[] secretKey, HmacAlgorithms algorithm)
      Creates a signer object with a secret key.
      Parameters:
      secretKey - Signature key
      algorithm - HMAC algorithm
    • CBORHmacSigner

      public CBORHmacSigner(HmacSignerInterface signer)
      Creates a signer object with an external interface.
      Parameters:
      signer - The external signer