Skip to content

Type definitions#

Index > PaymentCryptographyDataPlane > Type definitions

Auto-generated documentation for PaymentCryptographyDataPlane type annotations stubs module mypy-boto3-payment-cryptography-data.

CurrentPinAttributesTypeDef#

# CurrentPinAttributesTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import CurrentPinAttributesTypeDef


def get_value() -> CurrentPinAttributesTypeDef:
    return {
        "CurrentPinPekIdentifier": ...,
    }


# CurrentPinAttributesTypeDef definition

class CurrentPinAttributesTypeDef(TypedDict):
    CurrentPinPekIdentifier: str,
    CurrentEncryptedPinBlock: str,

AmexCardSecurityCodeVersion1TypeDef#

# AmexCardSecurityCodeVersion1TypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import AmexCardSecurityCodeVersion1TypeDef


def get_value() -> AmexCardSecurityCodeVersion1TypeDef:
    return {
        "CardExpiryDate": ...,
    }


# AmexCardSecurityCodeVersion1TypeDef definition

class AmexCardSecurityCodeVersion1TypeDef(TypedDict):
    CardExpiryDate: str,

AmexCardSecurityCodeVersion2TypeDef#

# AmexCardSecurityCodeVersion2TypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import AmexCardSecurityCodeVersion2TypeDef


def get_value() -> AmexCardSecurityCodeVersion2TypeDef:
    return {
        "CardExpiryDate": ...,
    }


# AmexCardSecurityCodeVersion2TypeDef definition

class AmexCardSecurityCodeVersion2TypeDef(TypedDict):
    CardExpiryDate: str,
    ServiceCode: str,

AsymmetricEncryptionAttributesTypeDef#

# AsymmetricEncryptionAttributesTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import AsymmetricEncryptionAttributesTypeDef


def get_value() -> AsymmetricEncryptionAttributesTypeDef:
    return {
        "PaddingType": ...,
    }


# AsymmetricEncryptionAttributesTypeDef definition

class AsymmetricEncryptionAttributesTypeDef(TypedDict):
    PaddingType: NotRequired[PaddingTypeType],  # (1)
  1. See PaddingTypeType

CardHolderVerificationValueTypeDef#

# CardHolderVerificationValueTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import CardHolderVerificationValueTypeDef


def get_value() -> CardHolderVerificationValueTypeDef:
    return {
        "UnpredictableNumber": ...,
    }


# CardHolderVerificationValueTypeDef definition

class CardHolderVerificationValueTypeDef(TypedDict):
    UnpredictableNumber: str,
    PanSequenceNumber: str,
    ApplicationTransactionCounter: str,

CardVerificationValue1TypeDef#

# CardVerificationValue1TypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import CardVerificationValue1TypeDef


def get_value() -> CardVerificationValue1TypeDef:
    return {
        "CardExpiryDate": ...,
    }


# CardVerificationValue1TypeDef definition

class CardVerificationValue1TypeDef(TypedDict):
    CardExpiryDate: str,
    ServiceCode: str,

CardVerificationValue2TypeDef#

# CardVerificationValue2TypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import CardVerificationValue2TypeDef


def get_value() -> CardVerificationValue2TypeDef:
    return {
        "CardExpiryDate": ...,
    }


# CardVerificationValue2TypeDef definition

class CardVerificationValue2TypeDef(TypedDict):
    CardExpiryDate: str,

DynamicCardVerificationCodeTypeDef#

# DynamicCardVerificationCodeTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import DynamicCardVerificationCodeTypeDef


def get_value() -> DynamicCardVerificationCodeTypeDef:
    return {
        "UnpredictableNumber": ...,
    }


# DynamicCardVerificationCodeTypeDef definition

class DynamicCardVerificationCodeTypeDef(TypedDict):
    UnpredictableNumber: str,
    PanSequenceNumber: str,
    ApplicationTransactionCounter: str,
    TrackData: str,

DynamicCardVerificationValueTypeDef#

# DynamicCardVerificationValueTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import DynamicCardVerificationValueTypeDef


def get_value() -> DynamicCardVerificationValueTypeDef:
    return {
        "PanSequenceNumber": ...,
    }


# DynamicCardVerificationValueTypeDef definition

class DynamicCardVerificationValueTypeDef(TypedDict):
    PanSequenceNumber: str,
    CardExpiryDate: str,
    ServiceCode: str,
    ApplicationTransactionCounter: str,

DiscoverDynamicCardVerificationCodeTypeDef#

# DiscoverDynamicCardVerificationCodeTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import DiscoverDynamicCardVerificationCodeTypeDef


def get_value() -> DiscoverDynamicCardVerificationCodeTypeDef:
    return {
        "CardExpiryDate": ...,
    }


# DiscoverDynamicCardVerificationCodeTypeDef definition

class DiscoverDynamicCardVerificationCodeTypeDef(TypedDict):
    CardExpiryDate: str,
    UnpredictableNumber: str,
    ApplicationTransactionCounter: str,

CryptogramVerificationArpcMethod1TypeDef#

# CryptogramVerificationArpcMethod1TypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import CryptogramVerificationArpcMethod1TypeDef


def get_value() -> CryptogramVerificationArpcMethod1TypeDef:
    return {
        "AuthResponseCode": ...,
    }


# CryptogramVerificationArpcMethod1TypeDef definition

class CryptogramVerificationArpcMethod1TypeDef(TypedDict):
    AuthResponseCode: str,

CryptogramVerificationArpcMethod2TypeDef#

# CryptogramVerificationArpcMethod2TypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import CryptogramVerificationArpcMethod2TypeDef


def get_value() -> CryptogramVerificationArpcMethod2TypeDef:
    return {
        "CardStatusUpdate": ...,
    }


# CryptogramVerificationArpcMethod2TypeDef definition

class CryptogramVerificationArpcMethod2TypeDef(TypedDict):
    CardStatusUpdate: str,
    ProprietaryAuthenticationData: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import ResponseMetadataTypeDef


def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
    }


# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

Emv2000AttributesTypeDef#

# Emv2000AttributesTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import Emv2000AttributesTypeDef


def get_value() -> Emv2000AttributesTypeDef:
    return {
        "MajorKeyDerivationMode": ...,
    }


# Emv2000AttributesTypeDef definition

class Emv2000AttributesTypeDef(TypedDict):
    MajorKeyDerivationMode: MajorKeyDerivationModeType,  # (1)
    PrimaryAccountNumber: str,
    PanSequenceNumber: str,
    ApplicationTransactionCounter: str,
  1. See MajorKeyDerivationModeType

EmvCommonAttributesTypeDef#

# EmvCommonAttributesTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import EmvCommonAttributesTypeDef


def get_value() -> EmvCommonAttributesTypeDef:
    return {
        "MajorKeyDerivationMode": ...,
    }


# EmvCommonAttributesTypeDef definition

class EmvCommonAttributesTypeDef(TypedDict):
    MajorKeyDerivationMode: MajorKeyDerivationModeType,  # (1)
    PrimaryAccountNumber: str,
    PanSequenceNumber: str,
    ApplicationCryptogram: str,
    Mode: EmvEncryptionModeType,  # (2)
    PinBlockPaddingType: PinBlockPaddingTypeType,  # (3)
    PinBlockLengthPosition: PinBlockLengthPositionType,  # (4)
  1. See MajorKeyDerivationModeType
  2. See EmvEncryptionModeType
  3. See PinBlockPaddingTypeType
  4. See PinBlockLengthPositionType

MasterCardAttributesTypeDef#

# MasterCardAttributesTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import MasterCardAttributesTypeDef


def get_value() -> MasterCardAttributesTypeDef:
    return {
        "MajorKeyDerivationMode": ...,
    }


# MasterCardAttributesTypeDef definition

class MasterCardAttributesTypeDef(TypedDict):
    MajorKeyDerivationMode: MajorKeyDerivationModeType,  # (1)
    PrimaryAccountNumber: str,
    PanSequenceNumber: str,
    ApplicationCryptogram: str,
  1. See MajorKeyDerivationModeType

DukptAttributesTypeDef#

# DukptAttributesTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import DukptAttributesTypeDef


def get_value() -> DukptAttributesTypeDef:
    return {
        "KeySerialNumber": ...,
    }


# DukptAttributesTypeDef definition

class DukptAttributesTypeDef(TypedDict):
    KeySerialNumber: str,
    DukptDerivationType: DukptDerivationTypeType,  # (1)
  1. See DukptDerivationTypeType

DukptDerivationAttributesTypeDef#

# DukptDerivationAttributesTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import DukptDerivationAttributesTypeDef


def get_value() -> DukptDerivationAttributesTypeDef:
    return {
        "KeySerialNumber": ...,
    }


# DukptDerivationAttributesTypeDef definition

class DukptDerivationAttributesTypeDef(TypedDict):
    KeySerialNumber: str,
    DukptKeyDerivationType: NotRequired[DukptDerivationTypeType],  # (1)
    DukptKeyVariant: NotRequired[DukptKeyVariantType],  # (2)
  1. See DukptDerivationTypeType
  2. See DukptKeyVariantType

DukptEncryptionAttributesTypeDef#

# DukptEncryptionAttributesTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import DukptEncryptionAttributesTypeDef


def get_value() -> DukptEncryptionAttributesTypeDef:
    return {
        "KeySerialNumber": ...,
    }


# DukptEncryptionAttributesTypeDef definition

class DukptEncryptionAttributesTypeDef(TypedDict):
    KeySerialNumber: str,
    Mode: NotRequired[DukptEncryptionModeType],  # (1)
    DukptKeyDerivationType: NotRequired[DukptDerivationTypeType],  # (2)
    DukptKeyVariant: NotRequired[DukptKeyVariantType],  # (3)
    InitializationVector: NotRequired[str],
  1. See DukptEncryptionModeType
  2. See DukptDerivationTypeType
  3. See DukptKeyVariantType

EcdhDerivationAttributesTypeDef#

# EcdhDerivationAttributesTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import EcdhDerivationAttributesTypeDef


def get_value() -> EcdhDerivationAttributesTypeDef:
    return {
        "CertificateAuthorityPublicKeyIdentifier": ...,
    }


# EcdhDerivationAttributesTypeDef definition

class EcdhDerivationAttributesTypeDef(TypedDict):
    CertificateAuthorityPublicKeyIdentifier: str,
    PublicKeyCertificate: str,
    KeyAlgorithm: SymmetricKeyAlgorithmType,  # (1)
    KeyDerivationFunction: KeyDerivationFunctionType,  # (2)
    KeyDerivationHashAlgorithm: KeyDerivationHashAlgorithmType,  # (3)
    SharedInformation: str,
  1. See SymmetricKeyAlgorithmType
  2. See KeyDerivationFunctionType
  3. See KeyDerivationHashAlgorithmType

EmvEncryptionAttributesTypeDef#

# EmvEncryptionAttributesTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import EmvEncryptionAttributesTypeDef


def get_value() -> EmvEncryptionAttributesTypeDef:
    return {
        "MajorKeyDerivationMode": ...,
    }


# EmvEncryptionAttributesTypeDef definition

class EmvEncryptionAttributesTypeDef(TypedDict):
    MajorKeyDerivationMode: EmvMajorKeyDerivationModeType,  # (1)
    PrimaryAccountNumber: str,
    PanSequenceNumber: str,
    SessionDerivationData: str,
    Mode: NotRequired[EmvEncryptionModeType],  # (2)
    InitializationVector: NotRequired[str],
  1. See EmvMajorKeyDerivationModeType
  2. See EmvEncryptionModeType

SymmetricEncryptionAttributesTypeDef#

# SymmetricEncryptionAttributesTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import SymmetricEncryptionAttributesTypeDef


def get_value() -> SymmetricEncryptionAttributesTypeDef:
    return {
        "Mode": ...,
    }


# SymmetricEncryptionAttributesTypeDef definition

class SymmetricEncryptionAttributesTypeDef(TypedDict):
    Mode: EncryptionModeType,  # (1)
    InitializationVector: NotRequired[str],
    PaddingType: NotRequired[PaddingTypeType],  # (2)
  1. See EncryptionModeType
  2. See PaddingTypeType

VisaAmexDerivationOutputsTypeDef#

# VisaAmexDerivationOutputsTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import VisaAmexDerivationOutputsTypeDef


def get_value() -> VisaAmexDerivationOutputsTypeDef:
    return {
        "AuthorizationRequestKeyArn": ...,
    }


# VisaAmexDerivationOutputsTypeDef definition

class VisaAmexDerivationOutputsTypeDef(TypedDict):
    AuthorizationRequestKeyArn: str,
    AuthorizationRequestKeyCheckValue: str,
    CurrentPinPekArn: NotRequired[str],
    CurrentPinPekKeyCheckValue: NotRequired[str],

PinDataTypeDef#

# PinDataTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import PinDataTypeDef


def get_value() -> PinDataTypeDef:
    return {
        "PinOffset": ...,
    }


# PinDataTypeDef definition

class PinDataTypeDef(TypedDict):
    PinOffset: NotRequired[str],
    VerificationValue: NotRequired[str],

Ibm3624NaturalPinTypeDef#

# Ibm3624NaturalPinTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import Ibm3624NaturalPinTypeDef


def get_value() -> Ibm3624NaturalPinTypeDef:
    return {
        "DecimalizationTable": ...,
    }


# Ibm3624NaturalPinTypeDef definition

class Ibm3624NaturalPinTypeDef(TypedDict):
    DecimalizationTable: str,
    PinValidationDataPadCharacter: str,
    PinValidationData: str,

Ibm3624PinFromOffsetTypeDef#

# Ibm3624PinFromOffsetTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import Ibm3624PinFromOffsetTypeDef


def get_value() -> Ibm3624PinFromOffsetTypeDef:
    return {
        "DecimalizationTable": ...,
    }


# Ibm3624PinFromOffsetTypeDef definition

class Ibm3624PinFromOffsetTypeDef(TypedDict):
    DecimalizationTable: str,
    PinValidationDataPadCharacter: str,
    PinValidationData: str,
    PinOffset: str,

Ibm3624PinOffsetTypeDef#

# Ibm3624PinOffsetTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import Ibm3624PinOffsetTypeDef


def get_value() -> Ibm3624PinOffsetTypeDef:
    return {
        "EncryptedPinBlock": ...,
    }


# Ibm3624PinOffsetTypeDef definition

class Ibm3624PinOffsetTypeDef(TypedDict):
    EncryptedPinBlock: str,
    DecimalizationTable: str,
    PinValidationDataPadCharacter: str,
    PinValidationData: str,

Ibm3624PinVerificationTypeDef#

# Ibm3624PinVerificationTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import Ibm3624PinVerificationTypeDef


def get_value() -> Ibm3624PinVerificationTypeDef:
    return {
        "DecimalizationTable": ...,
    }


# Ibm3624PinVerificationTypeDef definition

class Ibm3624PinVerificationTypeDef(TypedDict):
    DecimalizationTable: str,
    PinValidationDataPadCharacter: str,
    PinValidationData: str,
    PinOffset: str,

Ibm3624RandomPinTypeDef#

# Ibm3624RandomPinTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import Ibm3624RandomPinTypeDef


def get_value() -> Ibm3624RandomPinTypeDef:
    return {
        "DecimalizationTable": ...,
    }


# Ibm3624RandomPinTypeDef definition

class Ibm3624RandomPinTypeDef(TypedDict):
    DecimalizationTable: str,
    PinValidationDataPadCharacter: str,
    PinValidationData: str,

MacAlgorithmDukptTypeDef#

# MacAlgorithmDukptTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import MacAlgorithmDukptTypeDef


def get_value() -> MacAlgorithmDukptTypeDef:
    return {
        "KeySerialNumber": ...,
    }


# MacAlgorithmDukptTypeDef definition

class MacAlgorithmDukptTypeDef(TypedDict):
    KeySerialNumber: str,
    DukptKeyVariant: DukptKeyVariantType,  # (1)
    DukptDerivationType: NotRequired[DukptDerivationTypeType],  # (2)
  1. See DukptKeyVariantType
  2. See DukptDerivationTypeType

SessionKeyDerivationValueTypeDef#

# SessionKeyDerivationValueTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import SessionKeyDerivationValueTypeDef


def get_value() -> SessionKeyDerivationValueTypeDef:
    return {
        "ApplicationCryptogram": ...,
    }


# SessionKeyDerivationValueTypeDef definition

class SessionKeyDerivationValueTypeDef(TypedDict):
    ApplicationCryptogram: NotRequired[str],
    ApplicationTransactionCounter: NotRequired[str],

VisaPinTypeDef#

# VisaPinTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import VisaPinTypeDef


def get_value() -> VisaPinTypeDef:
    return {
        "PinVerificationKeyIndex": ...,
    }


# VisaPinTypeDef definition

class VisaPinTypeDef(TypedDict):
    PinVerificationKeyIndex: int,

VisaPinVerificationValueTypeDef#

# VisaPinVerificationValueTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import VisaPinVerificationValueTypeDef


def get_value() -> VisaPinVerificationValueTypeDef:
    return {
        "EncryptedPinBlock": ...,
    }


# VisaPinVerificationValueTypeDef definition

class VisaPinVerificationValueTypeDef(TypedDict):
    EncryptedPinBlock: str,
    PinVerificationKeyIndex: int,

VisaPinVerificationTypeDef#

# VisaPinVerificationTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import VisaPinVerificationTypeDef


def get_value() -> VisaPinVerificationTypeDef:
    return {
        "PinVerificationKeyIndex": ...,
    }


# VisaPinVerificationTypeDef definition

class VisaPinVerificationTypeDef(TypedDict):
    PinVerificationKeyIndex: int,
    VerificationValue: str,

SessionKeyAmexTypeDef#

# SessionKeyAmexTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import SessionKeyAmexTypeDef


def get_value() -> SessionKeyAmexTypeDef:
    return {
        "PrimaryAccountNumber": ...,
    }


# SessionKeyAmexTypeDef definition

class SessionKeyAmexTypeDef(TypedDict):
    PrimaryAccountNumber: str,
    PanSequenceNumber: str,

SessionKeyEmv2000TypeDef#

# SessionKeyEmv2000TypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import SessionKeyEmv2000TypeDef


def get_value() -> SessionKeyEmv2000TypeDef:
    return {
        "PrimaryAccountNumber": ...,
    }


# SessionKeyEmv2000TypeDef definition

class SessionKeyEmv2000TypeDef(TypedDict):
    PrimaryAccountNumber: str,
    PanSequenceNumber: str,
    ApplicationTransactionCounter: str,

SessionKeyEmvCommonTypeDef#

# SessionKeyEmvCommonTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import SessionKeyEmvCommonTypeDef


def get_value() -> SessionKeyEmvCommonTypeDef:
    return {
        "PrimaryAccountNumber": ...,
    }


# SessionKeyEmvCommonTypeDef definition

class SessionKeyEmvCommonTypeDef(TypedDict):
    PrimaryAccountNumber: str,
    PanSequenceNumber: str,
    ApplicationTransactionCounter: str,

SessionKeyMastercardTypeDef#

# SessionKeyMastercardTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import SessionKeyMastercardTypeDef


def get_value() -> SessionKeyMastercardTypeDef:
    return {
        "PrimaryAccountNumber": ...,
    }


# SessionKeyMastercardTypeDef definition

class SessionKeyMastercardTypeDef(TypedDict):
    PrimaryAccountNumber: str,
    PanSequenceNumber: str,
    ApplicationTransactionCounter: str,
    UnpredictableNumber: str,

SessionKeyVisaTypeDef#

# SessionKeyVisaTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import SessionKeyVisaTypeDef


def get_value() -> SessionKeyVisaTypeDef:
    return {
        "PrimaryAccountNumber": ...,
    }


# SessionKeyVisaTypeDef definition

class SessionKeyVisaTypeDef(TypedDict):
    PrimaryAccountNumber: str,
    PanSequenceNumber: str,

TranslationPinDataIsoFormat034TypeDef#

# TranslationPinDataIsoFormat034TypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import TranslationPinDataIsoFormat034TypeDef


def get_value() -> TranslationPinDataIsoFormat034TypeDef:
    return {
        "PrimaryAccountNumber": ...,
    }


# TranslationPinDataIsoFormat034TypeDef definition

class TranslationPinDataIsoFormat034TypeDef(TypedDict):
    PrimaryAccountNumber: str,

AmexAttributesTypeDef#

# AmexAttributesTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import AmexAttributesTypeDef


def get_value() -> AmexAttributesTypeDef:
    return {
        "MajorKeyDerivationMode": ...,
    }


# AmexAttributesTypeDef definition

class AmexAttributesTypeDef(TypedDict):
    MajorKeyDerivationMode: MajorKeyDerivationModeType,  # (1)
    PrimaryAccountNumber: str,
    PanSequenceNumber: str,
    ApplicationTransactionCounter: str,
    AuthorizationRequestKeyIdentifier: str,
    CurrentPinAttributes: NotRequired[CurrentPinAttributesTypeDef],  # (2)
  1. See MajorKeyDerivationModeType
  2. See CurrentPinAttributesTypeDef

VisaAttributesTypeDef#

# VisaAttributesTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import VisaAttributesTypeDef


def get_value() -> VisaAttributesTypeDef:
    return {
        "MajorKeyDerivationMode": ...,
    }


# VisaAttributesTypeDef definition

class VisaAttributesTypeDef(TypedDict):
    MajorKeyDerivationMode: MajorKeyDerivationModeType,  # (1)
    PrimaryAccountNumber: str,
    PanSequenceNumber: str,
    ApplicationTransactionCounter: str,
    AuthorizationRequestKeyIdentifier: str,
    CurrentPinAttributes: NotRequired[CurrentPinAttributesTypeDef],  # (2)
  1. See MajorKeyDerivationModeType
  2. See CurrentPinAttributesTypeDef

CardGenerationAttributesTypeDef#

# CardGenerationAttributesTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import CardGenerationAttributesTypeDef


def get_value() -> CardGenerationAttributesTypeDef:
    return {
        "AmexCardSecurityCodeVersion1": ...,
    }


# CardGenerationAttributesTypeDef definition

class CardGenerationAttributesTypeDef(TypedDict):
    AmexCardSecurityCodeVersion1: NotRequired[AmexCardSecurityCodeVersion1TypeDef],  # (1)
    AmexCardSecurityCodeVersion2: NotRequired[AmexCardSecurityCodeVersion2TypeDef],  # (2)
    CardVerificationValue1: NotRequired[CardVerificationValue1TypeDef],  # (3)
    CardVerificationValue2: NotRequired[CardVerificationValue2TypeDef],  # (4)
    CardHolderVerificationValue: NotRequired[CardHolderVerificationValueTypeDef],  # (5)
    DynamicCardVerificationCode: NotRequired[DynamicCardVerificationCodeTypeDef],  # (6)
    DynamicCardVerificationValue: NotRequired[DynamicCardVerificationValueTypeDef],  # (7)
  1. See AmexCardSecurityCodeVersion1TypeDef
  2. See AmexCardSecurityCodeVersion2TypeDef
  3. See CardVerificationValue1TypeDef
  4. See CardVerificationValue2TypeDef
  5. See CardHolderVerificationValueTypeDef
  6. See DynamicCardVerificationCodeTypeDef
  7. See DynamicCardVerificationValueTypeDef

CardVerificationAttributesTypeDef#

# CardVerificationAttributesTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import CardVerificationAttributesTypeDef


def get_value() -> CardVerificationAttributesTypeDef:
    return {
        "AmexCardSecurityCodeVersion1": ...,
    }


# CardVerificationAttributesTypeDef definition

class CardVerificationAttributesTypeDef(TypedDict):
    AmexCardSecurityCodeVersion1: NotRequired[AmexCardSecurityCodeVersion1TypeDef],  # (1)
    AmexCardSecurityCodeVersion2: NotRequired[AmexCardSecurityCodeVersion2TypeDef],  # (2)
    CardVerificationValue1: NotRequired[CardVerificationValue1TypeDef],  # (3)
    CardVerificationValue2: NotRequired[CardVerificationValue2TypeDef],  # (4)
    CardHolderVerificationValue: NotRequired[CardHolderVerificationValueTypeDef],  # (5)
    DynamicCardVerificationCode: NotRequired[DynamicCardVerificationCodeTypeDef],  # (6)
    DynamicCardVerificationValue: NotRequired[DynamicCardVerificationValueTypeDef],  # (7)
    DiscoverDynamicCardVerificationCode: NotRequired[DiscoverDynamicCardVerificationCodeTypeDef],  # (8)
  1. See AmexCardSecurityCodeVersion1TypeDef
  2. See AmexCardSecurityCodeVersion2TypeDef
  3. See CardVerificationValue1TypeDef
  4. See CardVerificationValue2TypeDef
  5. See CardHolderVerificationValueTypeDef
  6. See DynamicCardVerificationCodeTypeDef
  7. See DynamicCardVerificationValueTypeDef
  8. See DiscoverDynamicCardVerificationCodeTypeDef

CryptogramAuthResponseTypeDef#

# CryptogramAuthResponseTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import CryptogramAuthResponseTypeDef


def get_value() -> CryptogramAuthResponseTypeDef:
    return {
        "ArpcMethod1": ...,
    }


# CryptogramAuthResponseTypeDef definition

class CryptogramAuthResponseTypeDef(TypedDict):
    ArpcMethod1: NotRequired[CryptogramVerificationArpcMethod1TypeDef],  # (1)
    ArpcMethod2: NotRequired[CryptogramVerificationArpcMethod2TypeDef],  # (2)
  1. See CryptogramVerificationArpcMethod1TypeDef
  2. See CryptogramVerificationArpcMethod2TypeDef

DecryptDataOutputTypeDef#

# DecryptDataOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import DecryptDataOutputTypeDef


def get_value() -> DecryptDataOutputTypeDef:
    return {
        "KeyArn": ...,
    }


# DecryptDataOutputTypeDef definition

class DecryptDataOutputTypeDef(TypedDict):
    KeyArn: str,
    KeyCheckValue: str,
    PlainText: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EncryptDataOutputTypeDef#

# EncryptDataOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import EncryptDataOutputTypeDef


def get_value() -> EncryptDataOutputTypeDef:
    return {
        "KeyArn": ...,
    }


# EncryptDataOutputTypeDef definition

class EncryptDataOutputTypeDef(TypedDict):
    KeyArn: str,
    KeyCheckValue: str,
    CipherText: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GenerateCardValidationDataOutputTypeDef#

# GenerateCardValidationDataOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import GenerateCardValidationDataOutputTypeDef


def get_value() -> GenerateCardValidationDataOutputTypeDef:
    return {
        "KeyArn": ...,
    }


# GenerateCardValidationDataOutputTypeDef definition

class GenerateCardValidationDataOutputTypeDef(TypedDict):
    KeyArn: str,
    KeyCheckValue: str,
    ValidationData: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GenerateMacOutputTypeDef#

# GenerateMacOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import GenerateMacOutputTypeDef


def get_value() -> GenerateMacOutputTypeDef:
    return {
        "KeyArn": ...,
    }


# GenerateMacOutputTypeDef definition

class GenerateMacOutputTypeDef(TypedDict):
    KeyArn: str,
    KeyCheckValue: str,
    Mac: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ReEncryptDataOutputTypeDef#

# ReEncryptDataOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import ReEncryptDataOutputTypeDef


def get_value() -> ReEncryptDataOutputTypeDef:
    return {
        "KeyArn": ...,
    }


# ReEncryptDataOutputTypeDef definition

class ReEncryptDataOutputTypeDef(TypedDict):
    KeyArn: str,
    KeyCheckValue: str,
    CipherText: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

TranslatePinDataOutputTypeDef#

# TranslatePinDataOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import TranslatePinDataOutputTypeDef


def get_value() -> TranslatePinDataOutputTypeDef:
    return {
        "PinBlock": ...,
    }


# TranslatePinDataOutputTypeDef definition

class TranslatePinDataOutputTypeDef(TypedDict):
    PinBlock: str,
    KeyArn: str,
    KeyCheckValue: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

VerifyAuthRequestCryptogramOutputTypeDef#

# VerifyAuthRequestCryptogramOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import VerifyAuthRequestCryptogramOutputTypeDef


def get_value() -> VerifyAuthRequestCryptogramOutputTypeDef:
    return {
        "KeyArn": ...,
    }


# VerifyAuthRequestCryptogramOutputTypeDef definition

class VerifyAuthRequestCryptogramOutputTypeDef(TypedDict):
    KeyArn: str,
    KeyCheckValue: str,
    AuthResponseValue: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

VerifyCardValidationDataOutputTypeDef#

# VerifyCardValidationDataOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import VerifyCardValidationDataOutputTypeDef


def get_value() -> VerifyCardValidationDataOutputTypeDef:
    return {
        "KeyArn": ...,
    }


# VerifyCardValidationDataOutputTypeDef definition

class VerifyCardValidationDataOutputTypeDef(TypedDict):
    KeyArn: str,
    KeyCheckValue: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

VerifyMacOutputTypeDef#

# VerifyMacOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import VerifyMacOutputTypeDef


def get_value() -> VerifyMacOutputTypeDef:
    return {
        "KeyArn": ...,
    }


# VerifyMacOutputTypeDef definition

class VerifyMacOutputTypeDef(TypedDict):
    KeyArn: str,
    KeyCheckValue: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

VerifyPinDataOutputTypeDef#

# VerifyPinDataOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import VerifyPinDataOutputTypeDef


def get_value() -> VerifyPinDataOutputTypeDef:
    return {
        "VerificationKeyArn": ...,
    }


# VerifyPinDataOutputTypeDef definition

class VerifyPinDataOutputTypeDef(TypedDict):
    VerificationKeyArn: str,
    VerificationKeyCheckValue: str,
    EncryptionKeyArn: str,
    EncryptionKeyCheckValue: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

WrappedKeyMaterialTypeDef#

# WrappedKeyMaterialTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import WrappedKeyMaterialTypeDef


def get_value() -> WrappedKeyMaterialTypeDef:
    return {
        "Tr31KeyBlock": ...,
    }


# WrappedKeyMaterialTypeDef definition

class WrappedKeyMaterialTypeDef(TypedDict):
    Tr31KeyBlock: NotRequired[str],
    DiffieHellmanSymmetricKey: NotRequired[EcdhDerivationAttributesTypeDef],  # (1)
  1. See EcdhDerivationAttributesTypeDef

EncryptionDecryptionAttributesTypeDef#

# EncryptionDecryptionAttributesTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import EncryptionDecryptionAttributesTypeDef


def get_value() -> EncryptionDecryptionAttributesTypeDef:
    return {
        "Symmetric": ...,
    }


# EncryptionDecryptionAttributesTypeDef definition

class EncryptionDecryptionAttributesTypeDef(TypedDict):
    Symmetric: NotRequired[SymmetricEncryptionAttributesTypeDef],  # (1)
    Asymmetric: NotRequired[AsymmetricEncryptionAttributesTypeDef],  # (2)
    Dukpt: NotRequired[DukptEncryptionAttributesTypeDef],  # (3)
    Emv: NotRequired[EmvEncryptionAttributesTypeDef],  # (4)
  1. See SymmetricEncryptionAttributesTypeDef
  2. See AsymmetricEncryptionAttributesTypeDef
  3. See DukptEncryptionAttributesTypeDef
  4. See EmvEncryptionAttributesTypeDef

ReEncryptionAttributesTypeDef#

# ReEncryptionAttributesTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import ReEncryptionAttributesTypeDef


def get_value() -> ReEncryptionAttributesTypeDef:
    return {
        "Symmetric": ...,
    }


# ReEncryptionAttributesTypeDef definition

class ReEncryptionAttributesTypeDef(TypedDict):
    Symmetric: NotRequired[SymmetricEncryptionAttributesTypeDef],  # (1)
    Dukpt: NotRequired[DukptEncryptionAttributesTypeDef],  # (2)
  1. See SymmetricEncryptionAttributesTypeDef
  2. See DukptEncryptionAttributesTypeDef

GenerateMacEmvPinChangeOutputTypeDef#

# GenerateMacEmvPinChangeOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import GenerateMacEmvPinChangeOutputTypeDef


def get_value() -> GenerateMacEmvPinChangeOutputTypeDef:
    return {
        "NewPinPekArn": ...,
    }


# GenerateMacEmvPinChangeOutputTypeDef definition

class GenerateMacEmvPinChangeOutputTypeDef(TypedDict):
    NewPinPekArn: str,
    SecureMessagingIntegrityKeyArn: str,
    SecureMessagingConfidentialityKeyArn: str,
    Mac: str,
    EncryptedPinBlock: str,
    NewPinPekKeyCheckValue: str,
    SecureMessagingIntegrityKeyCheckValue: str,
    SecureMessagingConfidentialityKeyCheckValue: str,
    VisaAmexDerivationOutputs: VisaAmexDerivationOutputsTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VisaAmexDerivationOutputsTypeDef
  2. See ResponseMetadataTypeDef

GeneratePinDataOutputTypeDef#

# GeneratePinDataOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import GeneratePinDataOutputTypeDef


def get_value() -> GeneratePinDataOutputTypeDef:
    return {
        "GenerationKeyArn": ...,
    }


# GeneratePinDataOutputTypeDef definition

class GeneratePinDataOutputTypeDef(TypedDict):
    GenerationKeyArn: str,
    GenerationKeyCheckValue: str,
    EncryptionKeyArn: str,
    EncryptionKeyCheckValue: str,
    EncryptedPinBlock: str,
    PinData: PinDataTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PinDataTypeDef
  2. See ResponseMetadataTypeDef

MacAlgorithmEmvTypeDef#

# MacAlgorithmEmvTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import MacAlgorithmEmvTypeDef


def get_value() -> MacAlgorithmEmvTypeDef:
    return {
        "MajorKeyDerivationMode": ...,
    }


# MacAlgorithmEmvTypeDef definition

class MacAlgorithmEmvTypeDef(TypedDict):
    MajorKeyDerivationMode: MajorKeyDerivationModeType,  # (1)
    PrimaryAccountNumber: str,
    PanSequenceNumber: str,
    SessionKeyDerivationMode: SessionKeyDerivationModeType,  # (2)
    SessionKeyDerivationValue: SessionKeyDerivationValueTypeDef,  # (3)
  1. See MajorKeyDerivationModeType
  2. See SessionKeyDerivationModeType
  3. See SessionKeyDerivationValueTypeDef

PinGenerationAttributesTypeDef#

# PinGenerationAttributesTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import PinGenerationAttributesTypeDef


def get_value() -> PinGenerationAttributesTypeDef:
    return {
        "VisaPin": ...,
    }


# PinGenerationAttributesTypeDef definition

class PinGenerationAttributesTypeDef(TypedDict):
    VisaPin: NotRequired[VisaPinTypeDef],  # (1)
    VisaPinVerificationValue: NotRequired[VisaPinVerificationValueTypeDef],  # (2)
    Ibm3624PinOffset: NotRequired[Ibm3624PinOffsetTypeDef],  # (3)
    Ibm3624NaturalPin: NotRequired[Ibm3624NaturalPinTypeDef],  # (4)
    Ibm3624RandomPin: NotRequired[Ibm3624RandomPinTypeDef],  # (5)
    Ibm3624PinFromOffset: NotRequired[Ibm3624PinFromOffsetTypeDef],  # (6)
  1. See VisaPinTypeDef
  2. See VisaPinVerificationValueTypeDef
  3. See Ibm3624PinOffsetTypeDef
  4. See Ibm3624NaturalPinTypeDef
  5. See Ibm3624RandomPinTypeDef
  6. See Ibm3624PinFromOffsetTypeDef

PinVerificationAttributesTypeDef#

# PinVerificationAttributesTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import PinVerificationAttributesTypeDef


def get_value() -> PinVerificationAttributesTypeDef:
    return {
        "VisaPin": ...,
    }


# PinVerificationAttributesTypeDef definition

class PinVerificationAttributesTypeDef(TypedDict):
    VisaPin: NotRequired[VisaPinVerificationTypeDef],  # (1)
    Ibm3624Pin: NotRequired[Ibm3624PinVerificationTypeDef],  # (2)
  1. See VisaPinVerificationTypeDef
  2. See Ibm3624PinVerificationTypeDef

SessionKeyDerivationTypeDef#

# SessionKeyDerivationTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import SessionKeyDerivationTypeDef


def get_value() -> SessionKeyDerivationTypeDef:
    return {
        "EmvCommon": ...,
    }


# SessionKeyDerivationTypeDef definition

class SessionKeyDerivationTypeDef(TypedDict):
    EmvCommon: NotRequired[SessionKeyEmvCommonTypeDef],  # (1)
    Mastercard: NotRequired[SessionKeyMastercardTypeDef],  # (2)
    Emv2000: NotRequired[SessionKeyEmv2000TypeDef],  # (3)
    Amex: NotRequired[SessionKeyAmexTypeDef],  # (4)
    Visa: NotRequired[SessionKeyVisaTypeDef],  # (5)
  1. See SessionKeyEmvCommonTypeDef
  2. See SessionKeyMastercardTypeDef
  3. See SessionKeyEmv2000TypeDef
  4. See SessionKeyAmexTypeDef
  5. See SessionKeyVisaTypeDef

TranslationIsoFormatsTypeDef#

# TranslationIsoFormatsTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import TranslationIsoFormatsTypeDef


def get_value() -> TranslationIsoFormatsTypeDef:
    return {
        "IsoFormat0": ...,
    }


# TranslationIsoFormatsTypeDef definition

class TranslationIsoFormatsTypeDef(TypedDict):
    IsoFormat0: NotRequired[TranslationPinDataIsoFormat034TypeDef],  # (1)
    IsoFormat1: NotRequired[Mapping[str, Any]],
    IsoFormat3: NotRequired[TranslationPinDataIsoFormat034TypeDef],  # (1)
    IsoFormat4: NotRequired[TranslationPinDataIsoFormat034TypeDef],  # (1)
  1. See TranslationPinDataIsoFormat034TypeDef
  2. See TranslationPinDataIsoFormat034TypeDef
  3. See TranslationPinDataIsoFormat034TypeDef

DerivationMethodAttributesTypeDef#

# DerivationMethodAttributesTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import DerivationMethodAttributesTypeDef


def get_value() -> DerivationMethodAttributesTypeDef:
    return {
        "EmvCommon": ...,
    }


# DerivationMethodAttributesTypeDef definition

class DerivationMethodAttributesTypeDef(TypedDict):
    EmvCommon: NotRequired[EmvCommonAttributesTypeDef],  # (1)
    Amex: NotRequired[AmexAttributesTypeDef],  # (2)
    Visa: NotRequired[VisaAttributesTypeDef],  # (3)
    Emv2000: NotRequired[Emv2000AttributesTypeDef],  # (4)
    Mastercard: NotRequired[MasterCardAttributesTypeDef],  # (5)
  1. See EmvCommonAttributesTypeDef
  2. See AmexAttributesTypeDef
  3. See VisaAttributesTypeDef
  4. See Emv2000AttributesTypeDef
  5. See MasterCardAttributesTypeDef

GenerateCardValidationDataInputTypeDef#

# GenerateCardValidationDataInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import GenerateCardValidationDataInputTypeDef


def get_value() -> GenerateCardValidationDataInputTypeDef:
    return {
        "KeyIdentifier": ...,
    }


# GenerateCardValidationDataInputTypeDef definition

class GenerateCardValidationDataInputTypeDef(TypedDict):
    KeyIdentifier: str,
    PrimaryAccountNumber: str,
    GenerationAttributes: CardGenerationAttributesTypeDef,  # (1)
    ValidationDataLength: NotRequired[int],
  1. See CardGenerationAttributesTypeDef

VerifyCardValidationDataInputTypeDef#

# VerifyCardValidationDataInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import VerifyCardValidationDataInputTypeDef


def get_value() -> VerifyCardValidationDataInputTypeDef:
    return {
        "KeyIdentifier": ...,
    }


# VerifyCardValidationDataInputTypeDef definition

class VerifyCardValidationDataInputTypeDef(TypedDict):
    KeyIdentifier: str,
    PrimaryAccountNumber: str,
    VerificationAttributes: CardVerificationAttributesTypeDef,  # (1)
    ValidationData: str,
  1. See CardVerificationAttributesTypeDef

WrappedKeyTypeDef#

# WrappedKeyTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import WrappedKeyTypeDef


def get_value() -> WrappedKeyTypeDef:
    return {
        "WrappedKeyMaterial": ...,
    }


# WrappedKeyTypeDef definition

class WrappedKeyTypeDef(TypedDict):
    WrappedKeyMaterial: WrappedKeyMaterialTypeDef,  # (1)
    KeyCheckValueAlgorithm: NotRequired[KeyCheckValueAlgorithmType],  # (2)
  1. See WrappedKeyMaterialTypeDef
  2. See KeyCheckValueAlgorithmType

MacAttributesTypeDef#

# MacAttributesTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import MacAttributesTypeDef


def get_value() -> MacAttributesTypeDef:
    return {
        "Algorithm": ...,
    }


# MacAttributesTypeDef definition

class MacAttributesTypeDef(TypedDict):
    Algorithm: NotRequired[MacAlgorithmType],  # (1)
    EmvMac: NotRequired[MacAlgorithmEmvTypeDef],  # (2)
    DukptIso9797Algorithm1: NotRequired[MacAlgorithmDukptTypeDef],  # (3)
    DukptIso9797Algorithm3: NotRequired[MacAlgorithmDukptTypeDef],  # (3)
    DukptCmac: NotRequired[MacAlgorithmDukptTypeDef],  # (3)
  1. See MacAlgorithmType
  2. See MacAlgorithmEmvTypeDef
  3. See MacAlgorithmDukptTypeDef
  4. See MacAlgorithmDukptTypeDef
  5. See MacAlgorithmDukptTypeDef

VerifyAuthRequestCryptogramInputTypeDef#

# VerifyAuthRequestCryptogramInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import VerifyAuthRequestCryptogramInputTypeDef


def get_value() -> VerifyAuthRequestCryptogramInputTypeDef:
    return {
        "KeyIdentifier": ...,
    }


# VerifyAuthRequestCryptogramInputTypeDef definition

class VerifyAuthRequestCryptogramInputTypeDef(TypedDict):
    KeyIdentifier: str,
    TransactionData: str,
    AuthRequestCryptogram: str,
    MajorKeyDerivationMode: MajorKeyDerivationModeType,  # (1)
    SessionKeyDerivationAttributes: SessionKeyDerivationTypeDef,  # (2)
    AuthResponseAttributes: NotRequired[CryptogramAuthResponseTypeDef],  # (3)
  1. See MajorKeyDerivationModeType
  2. See SessionKeyDerivationTypeDef
  3. See CryptogramAuthResponseTypeDef

GenerateMacEmvPinChangeInputTypeDef#

# GenerateMacEmvPinChangeInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import GenerateMacEmvPinChangeInputTypeDef


def get_value() -> GenerateMacEmvPinChangeInputTypeDef:
    return {
        "NewPinPekIdentifier": ...,
    }


# GenerateMacEmvPinChangeInputTypeDef definition

class GenerateMacEmvPinChangeInputTypeDef(TypedDict):
    NewPinPekIdentifier: str,
    NewEncryptedPinBlock: str,
    PinBlockFormat: PinBlockFormatForEmvPinChangeType,  # (1)
    SecureMessagingIntegrityKeyIdentifier: str,
    SecureMessagingConfidentialityKeyIdentifier: str,
    MessageData: str,
    DerivationMethodAttributes: DerivationMethodAttributesTypeDef,  # (2)
  1. See PinBlockFormatForEmvPinChangeType
  2. See DerivationMethodAttributesTypeDef

DecryptDataInputTypeDef#

# DecryptDataInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import DecryptDataInputTypeDef


def get_value() -> DecryptDataInputTypeDef:
    return {
        "KeyIdentifier": ...,
    }


# DecryptDataInputTypeDef definition

class DecryptDataInputTypeDef(TypedDict):
    KeyIdentifier: str,
    CipherText: str,
    DecryptionAttributes: EncryptionDecryptionAttributesTypeDef,  # (1)
    WrappedKey: NotRequired[WrappedKeyTypeDef],  # (2)
  1. See EncryptionDecryptionAttributesTypeDef
  2. See WrappedKeyTypeDef

EncryptDataInputTypeDef#

# EncryptDataInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import EncryptDataInputTypeDef


def get_value() -> EncryptDataInputTypeDef:
    return {
        "KeyIdentifier": ...,
    }


# EncryptDataInputTypeDef definition

class EncryptDataInputTypeDef(TypedDict):
    KeyIdentifier: str,
    PlainText: str,
    EncryptionAttributes: EncryptionDecryptionAttributesTypeDef,  # (1)
    WrappedKey: NotRequired[WrappedKeyTypeDef],  # (2)
  1. See EncryptionDecryptionAttributesTypeDef
  2. See WrappedKeyTypeDef

GeneratePinDataInputTypeDef#

# GeneratePinDataInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import GeneratePinDataInputTypeDef


def get_value() -> GeneratePinDataInputTypeDef:
    return {
        "GenerationKeyIdentifier": ...,
    }


# GeneratePinDataInputTypeDef definition

class GeneratePinDataInputTypeDef(TypedDict):
    GenerationKeyIdentifier: str,
    EncryptionKeyIdentifier: str,
    GenerationAttributes: PinGenerationAttributesTypeDef,  # (1)
    PrimaryAccountNumber: str,
    PinBlockFormat: PinBlockFormatForPinDataType,  # (2)
    PinDataLength: NotRequired[int],
    EncryptionWrappedKey: NotRequired[WrappedKeyTypeDef],  # (3)
  1. See PinGenerationAttributesTypeDef
  2. See PinBlockFormatForPinDataType
  3. See WrappedKeyTypeDef

ReEncryptDataInputTypeDef#

# ReEncryptDataInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import ReEncryptDataInputTypeDef


def get_value() -> ReEncryptDataInputTypeDef:
    return {
        "IncomingKeyIdentifier": ...,
    }


# ReEncryptDataInputTypeDef definition

class ReEncryptDataInputTypeDef(TypedDict):
    IncomingKeyIdentifier: str,
    OutgoingKeyIdentifier: str,
    CipherText: str,
    IncomingEncryptionAttributes: ReEncryptionAttributesTypeDef,  # (1)
    OutgoingEncryptionAttributes: ReEncryptionAttributesTypeDef,  # (1)
    IncomingWrappedKey: NotRequired[WrappedKeyTypeDef],  # (3)
    OutgoingWrappedKey: NotRequired[WrappedKeyTypeDef],  # (3)
  1. See ReEncryptionAttributesTypeDef
  2. See ReEncryptionAttributesTypeDef
  3. See WrappedKeyTypeDef
  4. See WrappedKeyTypeDef

TranslatePinDataInputTypeDef#

# TranslatePinDataInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import TranslatePinDataInputTypeDef


def get_value() -> TranslatePinDataInputTypeDef:
    return {
        "IncomingKeyIdentifier": ...,
    }


# TranslatePinDataInputTypeDef definition

class TranslatePinDataInputTypeDef(TypedDict):
    IncomingKeyIdentifier: str,
    OutgoingKeyIdentifier: str,
    IncomingTranslationAttributes: TranslationIsoFormatsTypeDef,  # (1)
    OutgoingTranslationAttributes: TranslationIsoFormatsTypeDef,  # (1)
    EncryptedPinBlock: str,
    IncomingDukptAttributes: NotRequired[DukptDerivationAttributesTypeDef],  # (3)
    OutgoingDukptAttributes: NotRequired[DukptDerivationAttributesTypeDef],  # (3)
    IncomingWrappedKey: NotRequired[WrappedKeyTypeDef],  # (5)
    OutgoingWrappedKey: NotRequired[WrappedKeyTypeDef],  # (5)
  1. See TranslationIsoFormatsTypeDef
  2. See TranslationIsoFormatsTypeDef
  3. See DukptDerivationAttributesTypeDef
  4. See DukptDerivationAttributesTypeDef
  5. See WrappedKeyTypeDef
  6. See WrappedKeyTypeDef

VerifyPinDataInputTypeDef#

# VerifyPinDataInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import VerifyPinDataInputTypeDef


def get_value() -> VerifyPinDataInputTypeDef:
    return {
        "VerificationKeyIdentifier": ...,
    }


# VerifyPinDataInputTypeDef definition

class VerifyPinDataInputTypeDef(TypedDict):
    VerificationKeyIdentifier: str,
    EncryptionKeyIdentifier: str,
    VerificationAttributes: PinVerificationAttributesTypeDef,  # (1)
    EncryptedPinBlock: str,
    PrimaryAccountNumber: str,
    PinBlockFormat: PinBlockFormatForPinDataType,  # (2)
    PinDataLength: NotRequired[int],
    DukptAttributes: NotRequired[DukptAttributesTypeDef],  # (3)
    EncryptionWrappedKey: NotRequired[WrappedKeyTypeDef],  # (4)
  1. See PinVerificationAttributesTypeDef
  2. See PinBlockFormatForPinDataType
  3. See DukptAttributesTypeDef
  4. See WrappedKeyTypeDef

GenerateMacInputTypeDef#

# GenerateMacInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import GenerateMacInputTypeDef


def get_value() -> GenerateMacInputTypeDef:
    return {
        "KeyIdentifier": ...,
    }


# GenerateMacInputTypeDef definition

class GenerateMacInputTypeDef(TypedDict):
    KeyIdentifier: str,
    MessageData: str,
    GenerationAttributes: MacAttributesTypeDef,  # (1)
    MacLength: NotRequired[int],
  1. See MacAttributesTypeDef

VerifyMacInputTypeDef#

# VerifyMacInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography_data.type_defs import VerifyMacInputTypeDef


def get_value() -> VerifyMacInputTypeDef:
    return {
        "KeyIdentifier": ...,
    }


# VerifyMacInputTypeDef definition

class VerifyMacInputTypeDef(TypedDict):
    KeyIdentifier: str,
    MessageData: str,
    Mac: str,
    VerificationAttributes: MacAttributesTypeDef,  # (1)
    MacLength: NotRequired[int],
  1. See MacAttributesTypeDef