Interface HmacSignerInterface


public interface HmacSignerInterface
Common interface for HMAC signatures.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get signature algorithm.
    byte[]
    signData(byte[] data)
    Sign data.
  • Method Details

    • signData

      byte[] signData(byte[] data)
      Sign data.
      Parameters:
      data - Data to sign
      Returns:
      Signed data
    • getAlgorithm

      default HmacAlgorithms getAlgorithm()
      Get signature algorithm.
      Returns:
      Signature algorithm