Interface GenerateMacResponse.Builder

    • Method Detail

      • mac

        GenerateMacResponse.Builder mac​(SdkBytes mac)

        The hash-based message authentication code (HMAC) that was generated for the specified message, HMAC KMS key, and MAC algorithm.

        This is the standard, raw HMAC defined in RFC 2104.

        Parameters:
        mac - The hash-based message authentication code (HMAC) that was generated for the specified message, HMAC KMS key, and MAC algorithm.

        This is the standard, raw HMAC defined in RFC 2104.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • macAlgorithm

        GenerateMacResponse.Builder macAlgorithm​(String macAlgorithm)

        The MAC algorithm that was used to generate the HMAC.

        Parameters:
        macAlgorithm - The MAC algorithm that was used to generate the HMAC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MacAlgorithmSpec, MacAlgorithmSpec
      • keyId

        GenerateMacResponse.Builder keyId​(String keyId)

        The HMAC KMS key used in the operation.

        Parameters:
        keyId - The HMAC KMS key used in the operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.