Skip to content

GeneratePinDataInput

Source code in docs_src/capo_payment_cryptography_data/types/generate_pin_data_input.py
class GeneratePinDataInput(TypedDict, closed=True):
    generation_key_identifier: "capo_payment_cryptography_data.types.key_arn_or_key_alias_type.KeyArnOrKeyAliasType"
    """<p>The <code>keyARN</code> of the PEK that Amazon Web Services Payment Cryptography uses for pin data generation.</p>"""
    encryption_key_identifier: "capo_payment_cryptography_data.types.key_arn_or_key_alias_type.KeyArnOrKeyAliasType"
    """<p>The <code>keyARN</code> of the PEK that Amazon Web Services Payment Cryptography uses to encrypt the PIN Block. For ECDH, it is the <code>keyARN</code> of the asymmetric ECC key.</p>"""
    generation_attributes: "capo_payment_cryptography_data.types.pin_generation_attributes.PinGenerationAttributes"
    """<p>The attributes and values to use for PIN, PVV, or PIN Offset generation.</p>"""
    pin_data_length: NotRequired[
        "capo_payment_cryptography_data.types.integer_range_between4_and12.IntegerRangeBetween4And12"
    ]
    """<p>The length of PIN under generation.</p>"""
    primary_account_number: NotRequired[
        "capo_payment_cryptography_data.types.primary_account_number_type.PrimaryAccountNumberType"
    ]
    """<p>The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.</p>"""
    pin_block_format: "capo_payment_cryptography_data.types.pin_block_format_for_pin_data.PinBlockFormatForPinData"
    """<p>The PIN encoding format for pin data generation as specified in ISO 9564. Amazon Web Services Payment Cryptography supports <code>ISO_Format_0</code>, <code>ISO_Format_3</code> and <code>ISO_Format_4</code>.</p> <p>The <code>ISO_Format_0</code> PIN block format is equivalent to the ANSI X9.8, VISA-1, and ECI-1 PIN block formats. It is similar to a VISA-4 PIN block format. It supports a PIN from 4 to 12 digits in length.</p> <p>The <code>ISO_Format_3</code> PIN block format is the same as <code>ISO_Format_0</code> except that the fill digits are random values from 10 to 15.</p> <p>The <code>ISO_Format_4</code> PIN block format is the only one supporting AES encryption.</p>"""
    encryption_wrapped_key: NotRequired[
        "capo_payment_cryptography_data.types.wrapped_key.WrappedKey"
    ]

encryption_key_identifier instance-attribute

encryption_key_identifier: KeyArnOrKeyAliasType

The keyARN of the PEK that Amazon Web Services Payment Cryptography uses to encrypt the PIN Block. For ECDH, it is the keyARN of the asymmetric ECC key.

encryption_wrapped_key instance-attribute

encryption_wrapped_key: NotRequired[WrappedKey]

generation_attributes instance-attribute

generation_attributes: PinGenerationAttributes

The attributes and values to use for PIN, PVV, or PIN Offset generation.

generation_key_identifier instance-attribute

generation_key_identifier: KeyArnOrKeyAliasType

The keyARN of the PEK that Amazon Web Services Payment Cryptography uses for pin data generation.

pin_block_format instance-attribute

pin_block_format: PinBlockFormatForPinData

The PIN encoding format for pin data generation as specified in ISO 9564. Amazon Web Services Payment Cryptography supports ISO_Format_0, ISO_Format_3 and ISO_Format_4.

The ISO_Format_0 PIN block format is equivalent to the ANSI X9.8, VISA-1, and ECI-1 PIN block formats. It is similar to a VISA-4 PIN block format. It supports a PIN from 4 to 12 digits in length.

The ISO_Format_3 PIN block format is the same as ISO_Format_0 except that the fill digits are random values from 10 to 15.

The ISO_Format_4 PIN block format is the only one supporting AES encryption.

pin_data_length instance-attribute

pin_data_length: NotRequired[IntegerRangeBetween4And12]

The length of PIN under generation.

primary_account_number instance-attribute

primary_account_number: NotRequired[PrimaryAccountNumberType]

The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.