Skip to content

GenerateMacResponse

Source code in docs_src/capo_kms/types/generate_mac_response.py
class GenerateMacResponse(TypedDict, closed=True):
    mac: NotRequired["capo_kms.types.ciphertext_type.CiphertextType"]
    """<p>The hash-based message authentication code (HMAC) that was generated for the specified message, HMAC KMS key, and MAC algorithm.</p> <p>This is the standard, raw HMAC defined in <a href="https://datatracker.ietf.org/doc/html/rfc2104">RFC 2104</a>.</p>"""
    mac_algorithm: NotRequired["capo_kms.types.mac_algorithm_spec.MacAlgorithmSpec"]
    """<p>The MAC algorithm that was used to generate the HMAC.</p>"""
    key_id: NotRequired["capo_kms.types.key_id_type.KeyIdType"]
    """<p>The HMAC KMS key used in the operation.</p>"""

key_id instance-attribute

key_id: NotRequired[KeyIdType]

The HMAC KMS key used in the operation.

mac instance-attribute

mac: NotRequired[CiphertextType]

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.

mac_algorithm instance-attribute

mac_algorithm: NotRequired[MacAlgorithmSpec]

The MAC algorithm that was used to generate the HMAC.