Skip to content

GenerateMacInput

Source code in docs_src/capo_payment_cryptography_data/types/generate_mac_input.py
class GenerateMacInput(TypedDict, closed=True):
    key_identifier: "capo_payment_cryptography_data.types.key_arn_or_key_alias_type.KeyArnOrKeyAliasType"
    """<p>The <code>keyARN</code> of the MAC generation encryption key.</p>"""
    message_data: (
        "capo_payment_cryptography_data.types.message_data_type.MessageDataType"
    )
    """<p>The data for which a MAC is under generation. This value must be hexBinary.</p>"""
    generation_attributes: (
        "capo_payment_cryptography_data.types.mac_attributes.MacAttributes"
    )
    """<p>The attributes and data values to use for MAC generation within Amazon Web Services Payment Cryptography.</p>"""
    mac_length: NotRequired[
        "capo_payment_cryptography_data.types.integer_range_between4_and32.IntegerRangeBetween4And32"
    ]
    """<p>The length of a MAC under generation.</p>"""

generation_attributes instance-attribute

generation_attributes: MacAttributes

The attributes and data values to use for MAC generation within Amazon Web Services Payment Cryptography.

key_identifier instance-attribute

key_identifier: KeyArnOrKeyAliasType

The keyARN of the MAC generation encryption key.

mac_length instance-attribute

mac_length: NotRequired[IntegerRangeBetween4And32]

The length of a MAC under generation.

message_data instance-attribute

message_data: MessageDataType

The data for which a MAC is under generation. This value must be hexBinary.