Skip to content

EmvCommonAttributes

Source code in docs_src/capo_payment_cryptography_data/types/emv_common_attributes.py
class EmvCommonAttributes(TypedDict, closed=True):
    major_key_derivation_mode: "capo_payment_cryptography_data.types.major_key_derivation_mode.MajorKeyDerivationMode"
    """<p>The method to use when deriving the master key for the payment card.</p>"""
    primary_account_number: "capo_payment_cryptography_data.types.primary_account_number_type.PrimaryAccountNumberType"
    """<p>The Primary Account Number (PAN) of the cardholder.</p>"""
    pan_sequence_number: (
        "capo_payment_cryptography_data.types.number_length_equals2.NumberLengthEquals2"
    )
    """<p>A number that identifies and differentiates payment cards with the same Primary Account Number (PAN). Typically 00 is used, if no value is provided by the terminal.</p>"""
    application_cryptogram: "capo_payment_cryptography_data.types.application_cryptogram_type.ApplicationCryptogramType"
    """<p>The application cryptogram for the current transaction that is provided by the terminal during transaction processing.</p>"""
    mode: "capo_payment_cryptography_data.types.emv_encryption_mode.EmvEncryptionMode"
    """<p>The block cipher method to use for encryption.</p>"""
    pin_block_padding_type: "capo_payment_cryptography_data.types.pin_block_padding_type.PinBlockPaddingType"
    """<p>The padding to be added to the PIN block prior to encryption.</p> <p>Padding type should be <code>ISO_IEC_7816_4</code>, if <code>PinBlockLengthPosition</code> is set to <code>FRONT_OF_PIN_BLOCK</code>. No padding is required, if <code>PinBlockLengthPosition</code> is set to <code>NONE</code>.</p>"""
    pin_block_length_position: "capo_payment_cryptography_data.types.pin_block_length_position.PinBlockLengthPosition"
    """<p>Specifies if PIN block length should be added to front of the pin block. </p> <p>If value is set to <code>FRONT_OF_PIN_BLOCK</code>, then PIN block padding type should be <code>ISO_IEC_7816_4</code>.</p>"""

application_cryptogram instance-attribute

application_cryptogram: ApplicationCryptogramType

The application cryptogram for the current transaction that is provided by the terminal during transaction processing.

major_key_derivation_mode instance-attribute

major_key_derivation_mode: MajorKeyDerivationMode

The method to use when deriving the master key for the payment card.

mode instance-attribute

The block cipher method to use for encryption.

pan_sequence_number instance-attribute

pan_sequence_number: NumberLengthEquals2

A number that identifies and differentiates payment cards with the same Primary Account Number (PAN). Typically 00 is used, if no value is provided by the terminal.

pin_block_length_position instance-attribute

pin_block_length_position: PinBlockLengthPosition

Specifies if PIN block length should be added to front of the pin block.

If value is set to FRONT_OF_PIN_BLOCK, then PIN block padding type should be ISO_IEC_7816_4.

pin_block_padding_type instance-attribute

pin_block_padding_type: PinBlockPaddingType

The padding to be added to the PIN block prior to encryption.

Padding type should be ISO_IEC_7816_4, if PinBlockLengthPosition is set to FRONT_OF_PIN_BLOCK. No padding is required, if PinBlockLengthPosition is set to NONE.

primary_account_number instance-attribute

primary_account_number: PrimaryAccountNumberType

The Primary Account Number (PAN) of the cardholder.