Payment Cryptography Data Classes
AmexCardSecurityCodeVersion1TypeDef
CardExpiryDate
- Type:
- Required: Yes
AmexCardSecurityCodeVersion2TypeDef
CardExpiryDate
- Type:
- Required: Yes
ServiceCode
- Type:
- Required: Yes
AsymmetricEncryptionAttributesTypeDef
PaddingType
- Type: typing.Optional[typing.Literal['OAEP_SHA1', 'OAEP_SHA256', 'OAEP_SHA512', 'PKCS1']]
BaseValidatorModel
Oops! This Pydantic model is currently empty. Stay tuned!
CardGenerationAttributesTypeDef
AmexCardSecurityCodeVersion1
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.AmexCardSecurityCodeVersion1TypeDef]
AmexCardSecurityCodeVersion2
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.AmexCardSecurityCodeVersion2TypeDef]
CardVerificationValue1
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.CardVerificationValue1TypeDef]
CardVerificationValue2
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.CardVerificationValue2TypeDef]
CardHolderVerificationValue
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.CardHolderVerificationValueTypeDef]
DynamicCardVerificationCode
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.DynamicCardVerificationCodeTypeDef]
DynamicCardVerificationValue
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.DynamicCardVerificationValueTypeDef]
CardHolderVerificationValueTypeDef
UnpredictableNumber
- Type:
- Required: Yes
PanSequenceNumber
- Type:
- Required: Yes
ApplicationTransactionCounter
- Type:
- Required: Yes
CardVerificationAttributesTypeDef
AmexCardSecurityCodeVersion1
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.AmexCardSecurityCodeVersion1TypeDef]
AmexCardSecurityCodeVersion2
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.AmexCardSecurityCodeVersion2TypeDef]
CardVerificationValue1
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.CardVerificationValue1TypeDef]
CardVerificationValue2
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.CardVerificationValue2TypeDef]
CardHolderVerificationValue
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.CardHolderVerificationValueTypeDef]
DynamicCardVerificationCode
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.DynamicCardVerificationCodeTypeDef]
DynamicCardVerificationValue
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.DynamicCardVerificationValueTypeDef]
DiscoverDynamicCardVerificationCode
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.DiscoverDynamicCardVerificationCodeTypeDef]
CardVerificationValue1TypeDef
CardExpiryDate
- Type:
- Required: Yes
ServiceCode
- Type:
- Required: Yes
CardVerificationValue2TypeDef
CardExpiryDate
- Type:
- Required: Yes
CryptogramAuthResponseTypeDef
ArpcMethod1
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.CryptogramVerificationArpcMethod1TypeDef]
ArpcMethod2
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.CryptogramVerificationArpcMethod2TypeDef]
CryptogramVerificationArpcMethod1TypeDef
AuthResponseCode
- Type:
- Required: Yes
CryptogramVerificationArpcMethod2TypeDef
CardStatusUpdate
- Type:
- Required: Yes
ProprietaryAuthenticationData
- Type: typing.Optional[str]
DecryptDataInputRequestTypeDef
KeyIdentifier
- Type:
- Required: Yes
CipherText
- Type:
- Required: Yes
DecryptionAttributes
- Type:
- Required: Yes
WrappedKey
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.WrappedKeyTypeDef]
DecryptDataOutputTypeDef
KeyArn
- Type:
- Required: Yes
KeyCheckValue
- Type:
- Required: Yes
PlainText
- Type:
- Required: Yes
ResponseMetadata
- Type:
- Required: Yes
DiscoverDynamicCardVerificationCodeTypeDef
CardExpiryDate
- Type:
- Required: Yes
UnpredictableNumber
- Type:
- Required: Yes
ApplicationTransactionCounter
- Type:
- Required: Yes
DukptAttributesTypeDef
KeySerialNumber
- Type:
- Required: Yes
DukptDerivationType
- Type: typing.Literal['AES_128', 'AES_192', 'AES_256', 'TDES_2KEY', 'TDES_3KEY']
- Required: Yes
DukptDerivationAttributesTypeDef
KeySerialNumber
- Type:
- Required: Yes
DukptKeyDerivationType
- Type: typing.Optional[typing.Literal['AES_128', 'AES_192', 'AES_256', 'TDES_2KEY', 'TDES_3KEY']]
DukptKeyVariant
- Type: typing.Optional[typing.Literal['BIDIRECTIONAL', 'REQUEST', 'RESPONSE']]
DukptEncryptionAttributesTypeDef
KeySerialNumber
- Type:
- Required: Yes
Mode
- Type: typing.Optional[typing.Literal['CBC', 'ECB']]
DukptKeyDerivationType
- Type: typing.Optional[typing.Literal['AES_128', 'AES_192', 'AES_256', 'TDES_2KEY', 'TDES_3KEY']]
DukptKeyVariant
- Type: typing.Optional[typing.Literal['BIDIRECTIONAL', 'REQUEST', 'RESPONSE']]
InitializationVector
- Type: typing.Optional[str]
DynamicCardVerificationCodeTypeDef
UnpredictableNumber
- Type:
- Required: Yes
PanSequenceNumber
- Type:
- Required: Yes
ApplicationTransactionCounter
- Type:
- Required: Yes
TrackData
- Type:
- Required: Yes
DynamicCardVerificationValueTypeDef
PanSequenceNumber
- Type:
- Required: Yes
CardExpiryDate
- Type:
- Required: Yes
ServiceCode
- Type:
- Required: Yes
ApplicationTransactionCounter
- Type:
- Required: Yes
EmvEncryptionAttributesTypeDef
MajorKeyDerivationMode
- Type: typing.Literal['EMV_OPTION_A', 'EMV_OPTION_B']
- Required: Yes
PrimaryAccountNumber
- Type:
- Required: Yes
PanSequenceNumber
- Type:
- Required: Yes
SessionDerivationData
- Type:
- Required: Yes
Mode
- Type: typing.Optional[typing.Literal['CBC', 'ECB']]
InitializationVector
- Type: typing.Optional[str]
EncryptDataInputRequestTypeDef
KeyIdentifier
- Type:
- Required: Yes
PlainText
- Type:
- Required: Yes
EncryptionAttributes
- Type:
- Required: Yes
WrappedKey
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.WrappedKeyTypeDef]
EncryptDataOutputTypeDef
KeyArn
- Type:
- Required: Yes
KeyCheckValue
- Type:
- Required: Yes
CipherText
- Type:
- Required: Yes
ResponseMetadata
- Type:
- Required: Yes
EncryptionDecryptionAttributesTypeDef
Symmetric
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.SymmetricEncryptionAttributesTypeDef]
Asymmetric
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.AsymmetricEncryptionAttributesTypeDef]
Dukpt
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.DukptEncryptionAttributesTypeDef]
Emv
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.EmvEncryptionAttributesTypeDef]
GenerateCardValidationDataInputRequestTypeDef
KeyIdentifier
- Type:
- Required: Yes
PrimaryAccountNumber
- Type:
- Required: Yes
GenerationAttributes
- Type:
- Required: Yes
ValidationDataLength
- Type: typing.Optional[int]
GenerateCardValidationDataOutputTypeDef
KeyArn
- Type:
- Required: Yes
KeyCheckValue
- Type:
- Required: Yes
ValidationData
- Type:
- Required: Yes
ResponseMetadata
- Type:
- Required: Yes
GenerateMacInputRequestTypeDef
KeyIdentifier
- Type:
- Required: Yes
MessageData
- Type:
- Required: Yes
GenerationAttributes
- Type:
- Required: Yes
MacLength
- Type: typing.Optional[int]
GenerateMacOutputTypeDef
KeyArn
- Type:
- Required: Yes
KeyCheckValue
- Type:
- Required: Yes
Mac
- Type:
- Required: Yes
ResponseMetadata
- Type:
- Required: Yes
GeneratePinDataInputRequestTypeDef
GenerationKeyIdentifier
- Type:
- Required: Yes
EncryptionKeyIdentifier
- Type:
- Required: Yes
GenerationAttributes
- Type:
- Required: Yes
PrimaryAccountNumber
- Type:
- Required: Yes
PinBlockFormat
- Type: typing.Literal['ISO_FORMAT_0', 'ISO_FORMAT_3']
- Required: Yes
PinDataLength
- Type: typing.Optional[int]
GeneratePinDataOutputTypeDef
GenerationKeyArn
- Type:
- Required: Yes
GenerationKeyCheckValue
- Type:
- Required: Yes
EncryptionKeyArn
- Type:
- Required: Yes
EncryptionKeyCheckValue
- Type:
- Required: Yes
EncryptedPinBlock
- Type:
- Required: Yes
PinData
- Type:
- Required: Yes
ResponseMetadata
- Type:
- Required: Yes
Ibm3624NaturalPinTypeDef
DecimalizationTable
- Type:
- Required: Yes
PinValidationDataPadCharacter
- Type:
- Required: Yes
PinValidationData
- Type:
- Required: Yes
Ibm3624PinFromOffsetTypeDef
DecimalizationTable
- Type:
- Required: Yes
PinValidationDataPadCharacter
- Type:
- Required: Yes
PinValidationData
- Type:
- Required: Yes
PinOffset
- Type:
- Required: Yes
Ibm3624PinOffsetTypeDef
EncryptedPinBlock
- Type:
- Required: Yes
DecimalizationTable
- Type:
- Required: Yes
PinValidationDataPadCharacter
- Type:
- Required: Yes
PinValidationData
- Type:
- Required: Yes
Ibm3624PinVerificationTypeDef
DecimalizationTable
- Type:
- Required: Yes
PinValidationDataPadCharacter
- Type:
- Required: Yes
PinValidationData
- Type:
- Required: Yes
PinOffset
- Type:
- Required: Yes
Ibm3624RandomPinTypeDef
DecimalizationTable
- Type:
- Required: Yes
PinValidationDataPadCharacter
- Type:
- Required: Yes
PinValidationData
- Type:
- Required: Yes
MacAlgorithmDukptTypeDef
KeySerialNumber
- Type:
- Required: Yes
DukptKeyVariant
- Type: typing.Literal['BIDIRECTIONAL', 'REQUEST', 'RESPONSE']
- Required: Yes
DukptDerivationType
- Type: typing.Optional[typing.Literal['AES_128', 'AES_192', 'AES_256', 'TDES_2KEY', 'TDES_3KEY']]
MacAlgorithmEmvTypeDef
MajorKeyDerivationMode
- Type: typing.Literal['EMV_OPTION_A', 'EMV_OPTION_B']
- Required: Yes
PrimaryAccountNumber
- Type:
- Required: Yes
PanSequenceNumber
- Type:
- Required: Yes
SessionKeyDerivationMode
- Type: typing.Literal['AMEX', 'EMV2000', 'EMV_COMMON_SESSION_KEY', 'MASTERCARD_SESSION_KEY', 'VISA']
- Required: Yes
SessionKeyDerivationValue
- Type:
- Required: Yes
MacAttributesTypeDef
Algorithm
- Type: typing.Optional[typing.Literal['CMAC', 'HMAC_SHA224', 'HMAC_SHA256', 'HMAC_SHA384', 'HMAC_SHA512', 'ISO9797_ALGORITHM1', 'ISO9797_ALGORITHM3']]
EmvMac
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.MacAlgorithmEmvTypeDef]
DukptIso9797Algorithm1
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.MacAlgorithmDukptTypeDef]
DukptIso9797Algorithm3
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.MacAlgorithmDukptTypeDef]
DukptCmac
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.MacAlgorithmDukptTypeDef]
PinDataTypeDef
PinOffset
- Type: typing.Optional[str]
VerificationValue
- Type: typing.Optional[str]
PinGenerationAttributesTypeDef
VisaPin
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.VisaPinTypeDef]
VisaPinVerificationValue
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.VisaPinVerificationValueTypeDef]
Ibm3624PinOffset
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.Ibm3624PinOffsetTypeDef]
Ibm3624NaturalPin
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.Ibm3624NaturalPinTypeDef]
Ibm3624RandomPin
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.Ibm3624RandomPinTypeDef]
Ibm3624PinFromOffset
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.Ibm3624PinFromOffsetTypeDef]
PinVerificationAttributesTypeDef
VisaPin
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.VisaPinVerificationTypeDef]
Ibm3624Pin
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.Ibm3624PinVerificationTypeDef]
ReEncryptDataInputRequestTypeDef
IncomingKeyIdentifier
- Type:
- Required: Yes
OutgoingKeyIdentifier
- Type:
- Required: Yes
CipherText
- Type:
- Required: Yes
IncomingEncryptionAttributes
- Type:
- Required: Yes
OutgoingEncryptionAttributes
- Type:
- Required: Yes
IncomingWrappedKey
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.WrappedKeyTypeDef]
OutgoingWrappedKey
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.WrappedKeyTypeDef]
ReEncryptDataOutputTypeDef
KeyArn
- Type:
- Required: Yes
KeyCheckValue
- Type:
- Required: Yes
CipherText
- Type:
- Required: Yes
ResponseMetadata
- Type:
- Required: Yes
ReEncryptionAttributesTypeDef
Symmetric
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.SymmetricEncryptionAttributesTypeDef]
Dukpt
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.DukptEncryptionAttributesTypeDef]
ResponseMetadataTypeDef
RequestId
- Type:
- Required: Yes
HTTPStatusCode
- Type:
- Required: Yes
HTTPHeaders
- Type: typing.Dict[str, str]
- Required: Yes
RetryAttempts
- Type:
- Required: Yes
HostId
- Type: typing.Optional[str]
SessionKeyAmexTypeDef
PrimaryAccountNumber
- Type:
- Required: Yes
PanSequenceNumber
- Type:
- Required: Yes
SessionKeyDerivationTypeDef
EmvCommon
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.SessionKeyEmvCommonTypeDef]
Mastercard
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.SessionKeyMastercardTypeDef]
Emv2000
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.SessionKeyEmv2000TypeDef]
Amex
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.SessionKeyAmexTypeDef]
Visa
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.SessionKeyVisaTypeDef]
SessionKeyDerivationValueTypeDef
ApplicationCryptogram
- Type: typing.Optional[str]
ApplicationTransactionCounter
- Type: typing.Optional[str]
SessionKeyEmv2000TypeDef
PrimaryAccountNumber
- Type:
- Required: Yes
PanSequenceNumber
- Type:
- Required: Yes
ApplicationTransactionCounter
- Type:
- Required: Yes
SessionKeyEmvCommonTypeDef
PrimaryAccountNumber
- Type:
- Required: Yes
PanSequenceNumber
- Type:
- Required: Yes
ApplicationTransactionCounter
- Type:
- Required: Yes
SessionKeyMastercardTypeDef
PrimaryAccountNumber
- Type:
- Required: Yes
PanSequenceNumber
- Type:
- Required: Yes
ApplicationTransactionCounter
- Type:
- Required: Yes
UnpredictableNumber
- Type:
- Required: Yes
SessionKeyVisaTypeDef
PrimaryAccountNumber
- Type:
- Required: Yes
PanSequenceNumber
- Type:
- Required: Yes
SymmetricEncryptionAttributesTypeDef
Mode
- Type: typing.Literal['CBC', 'CFB', 'CFB1', 'CFB128', 'CFB64', 'CFB8', 'ECB', 'OFB']
- Required: Yes
InitializationVector
- Type: typing.Optional[str]
PaddingType
- Type: typing.Optional[typing.Literal['OAEP_SHA1', 'OAEP_SHA256', 'OAEP_SHA512', 'PKCS1']]
TranslatePinDataInputRequestTypeDef
IncomingKeyIdentifier
- Type:
- Required: Yes
OutgoingKeyIdentifier
- Type:
- Required: Yes
IncomingTranslationAttributes
- Type:
- Required: Yes
OutgoingTranslationAttributes
- Type:
- Required: Yes
EncryptedPinBlock
- Type:
- Required: Yes
IncomingDukptAttributes
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.DukptDerivationAttributesTypeDef]
OutgoingDukptAttributes
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.DukptDerivationAttributesTypeDef]
IncomingWrappedKey
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.WrappedKeyTypeDef]
OutgoingWrappedKey
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.WrappedKeyTypeDef]
TranslatePinDataOutputTypeDef
PinBlock
- Type:
- Required: Yes
KeyArn
- Type:
- Required: Yes
KeyCheckValue
- Type:
- Required: Yes
ResponseMetadata
- Type:
- Required: Yes
TranslationIsoFormatsTypeDef
IsoFormat0
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.TranslationPinDataIsoFormat034TypeDef]
IsoFormat1
- Type: typing.Optional[typing.Mapping[str, typing.Any]]
IsoFormat3
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.TranslationPinDataIsoFormat034TypeDef]
IsoFormat4
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.TranslationPinDataIsoFormat034TypeDef]
TranslationPinDataIsoFormat034TypeDef
PrimaryAccountNumber
- Type:
- Required: Yes
VerifyAuthRequestCryptogramInputRequestTypeDef
KeyIdentifier
- Type:
- Required: Yes
TransactionData
- Type:
- Required: Yes
AuthRequestCryptogram
- Type:
- Required: Yes
MajorKeyDerivationMode
- Type: typing.Literal['EMV_OPTION_A', 'EMV_OPTION_B']
- Required: Yes
SessionKeyDerivationAttributes
- Type:
- Required: Yes
AuthResponseAttributes
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.CryptogramAuthResponseTypeDef]
VerifyAuthRequestCryptogramOutputTypeDef
KeyArn
- Type:
- Required: Yes
KeyCheckValue
- Type:
- Required: Yes
AuthResponseValue
- Type:
- Required: Yes
ResponseMetadata
- Type:
- Required: Yes
VerifyCardValidationDataInputRequestTypeDef
KeyIdentifier
- Type:
- Required: Yes
PrimaryAccountNumber
- Type:
- Required: Yes
VerificationAttributes
- Type:
- Required: Yes
ValidationData
- Type:
- Required: Yes
VerifyCardValidationDataOutputTypeDef
KeyArn
- Type:
- Required: Yes
KeyCheckValue
- Type:
- Required: Yes
ResponseMetadata
- Type:
- Required: Yes
VerifyMacInputRequestTypeDef
KeyIdentifier
- Type:
- Required: Yes
MessageData
- Type:
- Required: Yes
Mac
- Type:
- Required: Yes
VerificationAttributes
- Type:
- Required: Yes
MacLength
- Type: typing.Optional[int]
VerifyMacOutputTypeDef
KeyArn
- Type:
- Required: Yes
KeyCheckValue
- Type:
- Required: Yes
ResponseMetadata
- Type:
- Required: Yes
VerifyPinDataInputRequestTypeDef
VerificationKeyIdentifier
- Type:
- Required: Yes
EncryptionKeyIdentifier
- Type:
- Required: Yes
VerificationAttributes
- Type:
- Required: Yes
EncryptedPinBlock
- Type:
- Required: Yes
PrimaryAccountNumber
- Type:
- Required: Yes
PinBlockFormat
- Type: typing.Literal['ISO_FORMAT_0', 'ISO_FORMAT_3']
- Required: Yes
PinDataLength
- Type: typing.Optional[int]
DukptAttributes
- Type: typing.Optional[aws_resource_validator.pydantic_models.payment_cryptography_data_classes.DukptAttributesTypeDef]
VerifyPinDataOutputTypeDef
VerificationKeyArn
- Type:
- Required: Yes
VerificationKeyCheckValue
- Type:
- Required: Yes
EncryptionKeyArn
- Type:
- Required: Yes
EncryptionKeyCheckValue
- Type:
- Required: Yes
ResponseMetadata
- Type:
- Required: Yes
VisaPinTypeDef
PinVerificationKeyIndex
- Type:
- Required: Yes
VisaPinVerificationTypeDef
PinVerificationKeyIndex
- Type:
- Required: Yes
VerificationValue
- Type:
- Required: Yes
VisaPinVerificationValueTypeDef
EncryptedPinBlock
- Type:
- Required: Yes
PinVerificationKeyIndex
- Type:
- Required: Yes
WrappedKeyMaterialTypeDef
Tr31KeyBlock
- Type: typing.Optional[str]
WrappedKeyTypeDef
WrappedKeyMaterial
- Type:
- Required: Yes
KeyCheckValueAlgorithm
- Type: typing.Optional[typing.Literal['ANSI_X9_24', 'CMAC']]