Documentation ¶
Overview ¶
Package paymentcryptographydata provides the client and types for making API requests to Payment Cryptography Data Plane.
You use the Amazon Web Services Payment Cryptography Data Plane to manage how encryption keys are used for payment-related transaction processing and associated cryptographic operations. You can encrypt, decrypt, generate, verify, and translate payment-related cryptographic operations in Amazon Web Services Payment Cryptography. For more information, see Data operations (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/data-operations.html) in the Amazon Web Services Payment Cryptography User Guide.
To manage your encryption keys, you use the Amazon Web Services Payment Cryptography Control Plane (https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/Welcome.html). You can create, import, export, share, manage, and delete keys. You can also manage Identity and Access Management (IAM) policies for keys.
See https://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-data-2022-02-03 for more information on this service.
See paymentcryptographydata package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/paymentcryptographydata/
Using the Client ¶
To contact Payment Cryptography Data Plane with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the Payment Cryptography Data Plane client PaymentCryptographyData for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/paymentcryptographydata/#New
Index ¶
- Constants
- func DukptDerivationType_Values() []string
- func DukptEncryptionMode_Values() []string
- func DukptKeyVariant_Values() []string
- func EmvEncryptionMode_Values() []string
- func EmvMajorKeyDerivationMode_Values() []string
- func EncryptionMode_Values() []string
- func MacAlgorithm_Values() []string
- func MajorKeyDerivationMode_Values() []string
- func PaddingType_Values() []string
- func PinBlockFormatForPinData_Values() []string
- func SessionKeyDerivationMode_Values() []string
- func VerificationFailedReason_Values() []string
- type AccessDeniedException
- func (s *AccessDeniedException) Code() string
- func (s *AccessDeniedException) Error() string
- func (s AccessDeniedException) GoString() string
- func (s *AccessDeniedException) Message() string
- func (s *AccessDeniedException) OrigErr() error
- func (s *AccessDeniedException) RequestID() string
- func (s *AccessDeniedException) StatusCode() int
- func (s AccessDeniedException) String() string
- type AmexCardSecurityCodeVersion1
- type AmexCardSecurityCodeVersion2
- func (s AmexCardSecurityCodeVersion2) GoString() string
- func (s *AmexCardSecurityCodeVersion2) SetCardExpiryDate(v string) *AmexCardSecurityCodeVersion2
- func (s *AmexCardSecurityCodeVersion2) SetServiceCode(v string) *AmexCardSecurityCodeVersion2
- func (s AmexCardSecurityCodeVersion2) String() string
- func (s *AmexCardSecurityCodeVersion2) Validate() error
- type AsymmetricEncryptionAttributes
- type CardGenerationAttributes
- func (s CardGenerationAttributes) GoString() string
- func (s *CardGenerationAttributes) SetAmexCardSecurityCodeVersion1(v *AmexCardSecurityCodeVersion1) *CardGenerationAttributes
- func (s *CardGenerationAttributes) SetAmexCardSecurityCodeVersion2(v *AmexCardSecurityCodeVersion2) *CardGenerationAttributes
- func (s *CardGenerationAttributes) SetCardHolderVerificationValue(v *CardHolderVerificationValue) *CardGenerationAttributes
- func (s *CardGenerationAttributes) SetCardVerificationValue1(v *CardVerificationValue1) *CardGenerationAttributes
- func (s *CardGenerationAttributes) SetCardVerificationValue2(v *CardVerificationValue2) *CardGenerationAttributes
- func (s *CardGenerationAttributes) SetDynamicCardVerificationCode(v *DynamicCardVerificationCode) *CardGenerationAttributes
- func (s *CardGenerationAttributes) SetDynamicCardVerificationValue(v *DynamicCardVerificationValue) *CardGenerationAttributes
- func (s CardGenerationAttributes) String() string
- func (s *CardGenerationAttributes) Validate() error
- type CardHolderVerificationValue
- func (s CardHolderVerificationValue) GoString() string
- func (s *CardHolderVerificationValue) SetApplicationTransactionCounter(v string) *CardHolderVerificationValue
- func (s *CardHolderVerificationValue) SetPanSequenceNumber(v string) *CardHolderVerificationValue
- func (s *CardHolderVerificationValue) SetUnpredictableNumber(v string) *CardHolderVerificationValue
- func (s CardHolderVerificationValue) String() string
- func (s *CardHolderVerificationValue) Validate() error
- type CardVerificationAttributes
- func (s CardVerificationAttributes) GoString() string
- func (s *CardVerificationAttributes) SetAmexCardSecurityCodeVersion1(v *AmexCardSecurityCodeVersion1) *CardVerificationAttributes
- func (s *CardVerificationAttributes) SetAmexCardSecurityCodeVersion2(v *AmexCardSecurityCodeVersion2) *CardVerificationAttributes
- func (s *CardVerificationAttributes) SetCardHolderVerificationValue(v *CardHolderVerificationValue) *CardVerificationAttributes
- func (s *CardVerificationAttributes) SetCardVerificationValue1(v *CardVerificationValue1) *CardVerificationAttributes
- func (s *CardVerificationAttributes) SetCardVerificationValue2(v *CardVerificationValue2) *CardVerificationAttributes
- func (s *CardVerificationAttributes) SetDiscoverDynamicCardVerificationCode(v *DiscoverDynamicCardVerificationCode) *CardVerificationAttributes
- func (s *CardVerificationAttributes) SetDynamicCardVerificationCode(v *DynamicCardVerificationCode) *CardVerificationAttributes
- func (s *CardVerificationAttributes) SetDynamicCardVerificationValue(v *DynamicCardVerificationValue) *CardVerificationAttributes
- func (s CardVerificationAttributes) String() string
- func (s *CardVerificationAttributes) Validate() error
- type CardVerificationValue1
- func (s CardVerificationValue1) GoString() string
- func (s *CardVerificationValue1) SetCardExpiryDate(v string) *CardVerificationValue1
- func (s *CardVerificationValue1) SetServiceCode(v string) *CardVerificationValue1
- func (s CardVerificationValue1) String() string
- func (s *CardVerificationValue1) Validate() error
- type CardVerificationValue2
- type CryptogramAuthResponse
- func (s CryptogramAuthResponse) GoString() string
- func (s *CryptogramAuthResponse) SetArpcMethod1(v *CryptogramVerificationArpcMethod1) *CryptogramAuthResponse
- func (s *CryptogramAuthResponse) SetArpcMethod2(v *CryptogramVerificationArpcMethod2) *CryptogramAuthResponse
- func (s CryptogramAuthResponse) String() string
- func (s *CryptogramAuthResponse) Validate() error
- type CryptogramVerificationArpcMethod1
- type CryptogramVerificationArpcMethod2
- func (s CryptogramVerificationArpcMethod2) GoString() string
- func (s *CryptogramVerificationArpcMethod2) SetCardStatusUpdate(v string) *CryptogramVerificationArpcMethod2
- func (s *CryptogramVerificationArpcMethod2) SetProprietaryAuthenticationData(v string) *CryptogramVerificationArpcMethod2
- func (s CryptogramVerificationArpcMethod2) String() string
- func (s *CryptogramVerificationArpcMethod2) Validate() error
- type DecryptDataInput
- func (s DecryptDataInput) GoString() string
- func (s *DecryptDataInput) SetCipherText(v string) *DecryptDataInput
- func (s *DecryptDataInput) SetDecryptionAttributes(v *EncryptionDecryptionAttributes) *DecryptDataInput
- func (s *DecryptDataInput) SetKeyIdentifier(v string) *DecryptDataInput
- func (s DecryptDataInput) String() string
- func (s *DecryptDataInput) Validate() error
- type DecryptDataOutput
- type DiscoverDynamicCardVerificationCode
- func (s DiscoverDynamicCardVerificationCode) GoString() string
- func (s *DiscoverDynamicCardVerificationCode) SetApplicationTransactionCounter(v string) *DiscoverDynamicCardVerificationCode
- func (s *DiscoverDynamicCardVerificationCode) SetCardExpiryDate(v string) *DiscoverDynamicCardVerificationCode
- func (s *DiscoverDynamicCardVerificationCode) SetUnpredictableNumber(v string) *DiscoverDynamicCardVerificationCode
- func (s DiscoverDynamicCardVerificationCode) String() string
- func (s *DiscoverDynamicCardVerificationCode) Validate() error
- type DukptAttributes
- type DukptDerivationAttributes
- func (s DukptDerivationAttributes) GoString() string
- func (s *DukptDerivationAttributes) SetDukptKeyDerivationType(v string) *DukptDerivationAttributes
- func (s *DukptDerivationAttributes) SetDukptKeyVariant(v string) *DukptDerivationAttributes
- func (s *DukptDerivationAttributes) SetKeySerialNumber(v string) *DukptDerivationAttributes
- func (s DukptDerivationAttributes) String() string
- func (s *DukptDerivationAttributes) Validate() error
- type DukptEncryptionAttributes
- func (s DukptEncryptionAttributes) GoString() string
- func (s *DukptEncryptionAttributes) SetDukptKeyDerivationType(v string) *DukptEncryptionAttributes
- func (s *DukptEncryptionAttributes) SetDukptKeyVariant(v string) *DukptEncryptionAttributes
- func (s *DukptEncryptionAttributes) SetInitializationVector(v string) *DukptEncryptionAttributes
- func (s *DukptEncryptionAttributes) SetKeySerialNumber(v string) *DukptEncryptionAttributes
- func (s *DukptEncryptionAttributes) SetMode(v string) *DukptEncryptionAttributes
- func (s DukptEncryptionAttributes) String() string
- func (s *DukptEncryptionAttributes) Validate() error
- type DynamicCardVerificationCode
- func (s DynamicCardVerificationCode) GoString() string
- func (s *DynamicCardVerificationCode) SetApplicationTransactionCounter(v string) *DynamicCardVerificationCode
- func (s *DynamicCardVerificationCode) SetPanSequenceNumber(v string) *DynamicCardVerificationCode
- func (s *DynamicCardVerificationCode) SetTrackData(v string) *DynamicCardVerificationCode
- func (s *DynamicCardVerificationCode) SetUnpredictableNumber(v string) *DynamicCardVerificationCode
- func (s DynamicCardVerificationCode) String() string
- func (s *DynamicCardVerificationCode) Validate() error
- type DynamicCardVerificationValue
- func (s DynamicCardVerificationValue) GoString() string
- func (s *DynamicCardVerificationValue) SetApplicationTransactionCounter(v string) *DynamicCardVerificationValue
- func (s *DynamicCardVerificationValue) SetCardExpiryDate(v string) *DynamicCardVerificationValue
- func (s *DynamicCardVerificationValue) SetPanSequenceNumber(v string) *DynamicCardVerificationValue
- func (s *DynamicCardVerificationValue) SetServiceCode(v string) *DynamicCardVerificationValue
- func (s DynamicCardVerificationValue) String() string
- func (s *DynamicCardVerificationValue) Validate() error
- type EmvEncryptionAttributes
- func (s EmvEncryptionAttributes) GoString() string
- func (s *EmvEncryptionAttributes) SetInitializationVector(v string) *EmvEncryptionAttributes
- func (s *EmvEncryptionAttributes) SetMajorKeyDerivationMode(v string) *EmvEncryptionAttributes
- func (s *EmvEncryptionAttributes) SetMode(v string) *EmvEncryptionAttributes
- func (s *EmvEncryptionAttributes) SetPanSequenceNumber(v string) *EmvEncryptionAttributes
- func (s *EmvEncryptionAttributes) SetPrimaryAccountNumber(v string) *EmvEncryptionAttributes
- func (s *EmvEncryptionAttributes) SetSessionDerivationData(v string) *EmvEncryptionAttributes
- func (s EmvEncryptionAttributes) String() string
- func (s *EmvEncryptionAttributes) Validate() error
- type EncryptDataInput
- func (s EncryptDataInput) GoString() string
- func (s *EncryptDataInput) SetEncryptionAttributes(v *EncryptionDecryptionAttributes) *EncryptDataInput
- func (s *EncryptDataInput) SetKeyIdentifier(v string) *EncryptDataInput
- func (s *EncryptDataInput) SetPlainText(v string) *EncryptDataInput
- func (s EncryptDataInput) String() string
- func (s *EncryptDataInput) Validate() error
- type EncryptDataOutput
- type EncryptionDecryptionAttributes
- func (s EncryptionDecryptionAttributes) GoString() string
- func (s *EncryptionDecryptionAttributes) SetAsymmetric(v *AsymmetricEncryptionAttributes) *EncryptionDecryptionAttributes
- func (s *EncryptionDecryptionAttributes) SetDukpt(v *DukptEncryptionAttributes) *EncryptionDecryptionAttributes
- func (s *EncryptionDecryptionAttributes) SetEmv(v *EmvEncryptionAttributes) *EncryptionDecryptionAttributes
- func (s *EncryptionDecryptionAttributes) SetSymmetric(v *SymmetricEncryptionAttributes) *EncryptionDecryptionAttributes
- func (s EncryptionDecryptionAttributes) String() string
- func (s *EncryptionDecryptionAttributes) Validate() error
- type GenerateCardValidationDataInput
- func (s GenerateCardValidationDataInput) GoString() string
- func (s *GenerateCardValidationDataInput) SetGenerationAttributes(v *CardGenerationAttributes) *GenerateCardValidationDataInput
- func (s *GenerateCardValidationDataInput) SetKeyIdentifier(v string) *GenerateCardValidationDataInput
- func (s *GenerateCardValidationDataInput) SetPrimaryAccountNumber(v string) *GenerateCardValidationDataInput
- func (s *GenerateCardValidationDataInput) SetValidationDataLength(v int64) *GenerateCardValidationDataInput
- func (s GenerateCardValidationDataInput) String() string
- func (s *GenerateCardValidationDataInput) Validate() error
- type GenerateCardValidationDataOutput
- func (s GenerateCardValidationDataOutput) GoString() string
- func (s *GenerateCardValidationDataOutput) SetKeyArn(v string) *GenerateCardValidationDataOutput
- func (s *GenerateCardValidationDataOutput) SetKeyCheckValue(v string) *GenerateCardValidationDataOutput
- func (s *GenerateCardValidationDataOutput) SetValidationData(v string) *GenerateCardValidationDataOutput
- func (s GenerateCardValidationDataOutput) String() string
- type GenerateMacInput
- func (s GenerateMacInput) GoString() string
- func (s *GenerateMacInput) SetGenerationAttributes(v *MacAttributes) *GenerateMacInput
- func (s *GenerateMacInput) SetKeyIdentifier(v string) *GenerateMacInput
- func (s *GenerateMacInput) SetMacLength(v int64) *GenerateMacInput
- func (s *GenerateMacInput) SetMessageData(v string) *GenerateMacInput
- func (s GenerateMacInput) String() string
- func (s *GenerateMacInput) Validate() error
- type GenerateMacOutput
- type GeneratePinDataInput
- func (s GeneratePinDataInput) GoString() string
- func (s *GeneratePinDataInput) SetEncryptionKeyIdentifier(v string) *GeneratePinDataInput
- func (s *GeneratePinDataInput) SetGenerationAttributes(v *PinGenerationAttributes) *GeneratePinDataInput
- func (s *GeneratePinDataInput) SetGenerationKeyIdentifier(v string) *GeneratePinDataInput
- func (s *GeneratePinDataInput) SetPinBlockFormat(v string) *GeneratePinDataInput
- func (s *GeneratePinDataInput) SetPinDataLength(v int64) *GeneratePinDataInput
- func (s *GeneratePinDataInput) SetPrimaryAccountNumber(v string) *GeneratePinDataInput
- func (s GeneratePinDataInput) String() string
- func (s *GeneratePinDataInput) Validate() error
- type GeneratePinDataOutput
- func (s GeneratePinDataOutput) GoString() string
- func (s *GeneratePinDataOutput) SetEncryptedPinBlock(v string) *GeneratePinDataOutput
- func (s *GeneratePinDataOutput) SetEncryptionKeyArn(v string) *GeneratePinDataOutput
- func (s *GeneratePinDataOutput) SetEncryptionKeyCheckValue(v string) *GeneratePinDataOutput
- func (s *GeneratePinDataOutput) SetGenerationKeyArn(v string) *GeneratePinDataOutput
- func (s *GeneratePinDataOutput) SetGenerationKeyCheckValue(v string) *GeneratePinDataOutput
- func (s *GeneratePinDataOutput) SetPinData(v *PinData) *GeneratePinDataOutput
- func (s GeneratePinDataOutput) String() string
- type Ibm3624NaturalPin
- func (s Ibm3624NaturalPin) GoString() string
- func (s *Ibm3624NaturalPin) SetDecimalizationTable(v string) *Ibm3624NaturalPin
- func (s *Ibm3624NaturalPin) SetPinValidationData(v string) *Ibm3624NaturalPin
- func (s *Ibm3624NaturalPin) SetPinValidationDataPadCharacter(v string) *Ibm3624NaturalPin
- func (s Ibm3624NaturalPin) String() string
- func (s *Ibm3624NaturalPin) Validate() error
- type Ibm3624PinFromOffset
- func (s Ibm3624PinFromOffset) GoString() string
- func (s *Ibm3624PinFromOffset) SetDecimalizationTable(v string) *Ibm3624PinFromOffset
- func (s *Ibm3624PinFromOffset) SetPinOffset(v string) *Ibm3624PinFromOffset
- func (s *Ibm3624PinFromOffset) SetPinValidationData(v string) *Ibm3624PinFromOffset
- func (s *Ibm3624PinFromOffset) SetPinValidationDataPadCharacter(v string) *Ibm3624PinFromOffset
- func (s Ibm3624PinFromOffset) String() string
- func (s *Ibm3624PinFromOffset) Validate() error
- type Ibm3624PinOffset
- func (s Ibm3624PinOffset) GoString() string
- func (s *Ibm3624PinOffset) SetDecimalizationTable(v string) *Ibm3624PinOffset
- func (s *Ibm3624PinOffset) SetEncryptedPinBlock(v string) *Ibm3624PinOffset
- func (s *Ibm3624PinOffset) SetPinValidationData(v string) *Ibm3624PinOffset
- func (s *Ibm3624PinOffset) SetPinValidationDataPadCharacter(v string) *Ibm3624PinOffset
- func (s Ibm3624PinOffset) String() string
- func (s *Ibm3624PinOffset) Validate() error
- type Ibm3624PinVerification
- func (s Ibm3624PinVerification) GoString() string
- func (s *Ibm3624PinVerification) SetDecimalizationTable(v string) *Ibm3624PinVerification
- func (s *Ibm3624PinVerification) SetPinOffset(v string) *Ibm3624PinVerification
- func (s *Ibm3624PinVerification) SetPinValidationData(v string) *Ibm3624PinVerification
- func (s *Ibm3624PinVerification) SetPinValidationDataPadCharacter(v string) *Ibm3624PinVerification
- func (s Ibm3624PinVerification) String() string
- func (s *Ibm3624PinVerification) Validate() error
- type Ibm3624RandomPin
- func (s Ibm3624RandomPin) GoString() string
- func (s *Ibm3624RandomPin) SetDecimalizationTable(v string) *Ibm3624RandomPin
- func (s *Ibm3624RandomPin) SetPinValidationData(v string) *Ibm3624RandomPin
- func (s *Ibm3624RandomPin) SetPinValidationDataPadCharacter(v string) *Ibm3624RandomPin
- func (s Ibm3624RandomPin) String() string
- func (s *Ibm3624RandomPin) Validate() error
- type InternalServerException
- func (s *InternalServerException) Code() string
- func (s *InternalServerException) Error() string
- func (s InternalServerException) GoString() string
- func (s *InternalServerException) Message() string
- func (s *InternalServerException) OrigErr() error
- func (s *InternalServerException) RequestID() string
- func (s *InternalServerException) StatusCode() int
- func (s InternalServerException) String() string
- type MacAlgorithmDukpt
- func (s MacAlgorithmDukpt) GoString() string
- func (s *MacAlgorithmDukpt) SetDukptDerivationType(v string) *MacAlgorithmDukpt
- func (s *MacAlgorithmDukpt) SetDukptKeyVariant(v string) *MacAlgorithmDukpt
- func (s *MacAlgorithmDukpt) SetKeySerialNumber(v string) *MacAlgorithmDukpt
- func (s MacAlgorithmDukpt) String() string
- func (s *MacAlgorithmDukpt) Validate() error
- type MacAlgorithmEmv
- func (s MacAlgorithmEmv) GoString() string
- func (s *MacAlgorithmEmv) SetMajorKeyDerivationMode(v string) *MacAlgorithmEmv
- func (s *MacAlgorithmEmv) SetPanSequenceNumber(v string) *MacAlgorithmEmv
- func (s *MacAlgorithmEmv) SetPrimaryAccountNumber(v string) *MacAlgorithmEmv
- func (s *MacAlgorithmEmv) SetSessionKeyDerivationMode(v string) *MacAlgorithmEmv
- func (s *MacAlgorithmEmv) SetSessionKeyDerivationValue(v *SessionKeyDerivationValue) *MacAlgorithmEmv
- func (s MacAlgorithmEmv) String() string
- func (s *MacAlgorithmEmv) Validate() error
- type MacAttributes
- func (s MacAttributes) GoString() string
- func (s *MacAttributes) SetAlgorithm(v string) *MacAttributes
- func (s *MacAttributes) SetDukptCmac(v *MacAlgorithmDukpt) *MacAttributes
- func (s *MacAttributes) SetDukptIso9797Algorithm1(v *MacAlgorithmDukpt) *MacAttributes
- func (s *MacAttributes) SetDukptIso9797Algorithm3(v *MacAlgorithmDukpt) *MacAttributes
- func (s *MacAttributes) SetEmvMac(v *MacAlgorithmEmv) *MacAttributes
- func (s MacAttributes) String() string
- func (s *MacAttributes) Validate() error
- type PaymentCryptographyData
- func (c *PaymentCryptographyData) DecryptData(input *DecryptDataInput) (*DecryptDataOutput, error)
- func (c *PaymentCryptographyData) DecryptDataRequest(input *DecryptDataInput) (req *request.Request, output *DecryptDataOutput)
- func (c *PaymentCryptographyData) DecryptDataWithContext(ctx aws.Context, input *DecryptDataInput, opts ...request.Option) (*DecryptDataOutput, error)
- func (c *PaymentCryptographyData) EncryptData(input *EncryptDataInput) (*EncryptDataOutput, error)
- func (c *PaymentCryptographyData) EncryptDataRequest(input *EncryptDataInput) (req *request.Request, output *EncryptDataOutput)
- func (c *PaymentCryptographyData) EncryptDataWithContext(ctx aws.Context, input *EncryptDataInput, opts ...request.Option) (*EncryptDataOutput, error)
- func (c *PaymentCryptographyData) GenerateCardValidationData(input *GenerateCardValidationDataInput) (*GenerateCardValidationDataOutput, error)
- func (c *PaymentCryptographyData) GenerateCardValidationDataRequest(input *GenerateCardValidationDataInput) (req *request.Request, output *GenerateCardValidationDataOutput)
- func (c *PaymentCryptographyData) GenerateCardValidationDataWithContext(ctx aws.Context, input *GenerateCardValidationDataInput, ...) (*GenerateCardValidationDataOutput, error)
- func (c *PaymentCryptographyData) GenerateMac(input *GenerateMacInput) (*GenerateMacOutput, error)
- func (c *PaymentCryptographyData) GenerateMacRequest(input *GenerateMacInput) (req *request.Request, output *GenerateMacOutput)
- func (c *PaymentCryptographyData) GenerateMacWithContext(ctx aws.Context, input *GenerateMacInput, opts ...request.Option) (*GenerateMacOutput, error)
- func (c *PaymentCryptographyData) GeneratePinData(input *GeneratePinDataInput) (*GeneratePinDataOutput, error)
- func (c *PaymentCryptographyData) GeneratePinDataRequest(input *GeneratePinDataInput) (req *request.Request, output *GeneratePinDataOutput)
- func (c *PaymentCryptographyData) GeneratePinDataWithContext(ctx aws.Context, input *GeneratePinDataInput, opts ...request.Option) (*GeneratePinDataOutput, error)
- func (c *PaymentCryptographyData) ReEncryptData(input *ReEncryptDataInput) (*ReEncryptDataOutput, error)
- func (c *PaymentCryptographyData) ReEncryptDataRequest(input *ReEncryptDataInput) (req *request.Request, output *ReEncryptDataOutput)
- func (c *PaymentCryptographyData) ReEncryptDataWithContext(ctx aws.Context, input *ReEncryptDataInput, opts ...request.Option) (*ReEncryptDataOutput, error)
- func (c *PaymentCryptographyData) TranslatePinData(input *TranslatePinDataInput) (*TranslatePinDataOutput, error)
- func (c *PaymentCryptographyData) TranslatePinDataRequest(input *TranslatePinDataInput) (req *request.Request, output *TranslatePinDataOutput)
- func (c *PaymentCryptographyData) TranslatePinDataWithContext(ctx aws.Context, input *TranslatePinDataInput, opts ...request.Option) (*TranslatePinDataOutput, error)
- func (c *PaymentCryptographyData) VerifyAuthRequestCryptogram(input *VerifyAuthRequestCryptogramInput) (*VerifyAuthRequestCryptogramOutput, error)
- func (c *PaymentCryptographyData) VerifyAuthRequestCryptogramRequest(input *VerifyAuthRequestCryptogramInput) (req *request.Request, output *VerifyAuthRequestCryptogramOutput)
- func (c *PaymentCryptographyData) VerifyAuthRequestCryptogramWithContext(ctx aws.Context, input *VerifyAuthRequestCryptogramInput, ...) (*VerifyAuthRequestCryptogramOutput, error)
- func (c *PaymentCryptographyData) VerifyCardValidationData(input *VerifyCardValidationDataInput) (*VerifyCardValidationDataOutput, error)
- func (c *PaymentCryptographyData) VerifyCardValidationDataRequest(input *VerifyCardValidationDataInput) (req *request.Request, output *VerifyCardValidationDataOutput)
- func (c *PaymentCryptographyData) VerifyCardValidationDataWithContext(ctx aws.Context, input *VerifyCardValidationDataInput, opts ...request.Option) (*VerifyCardValidationDataOutput, error)
- func (c *PaymentCryptographyData) VerifyMac(input *VerifyMacInput) (*VerifyMacOutput, error)
- func (c *PaymentCryptographyData) VerifyMacRequest(input *VerifyMacInput) (req *request.Request, output *VerifyMacOutput)
- func (c *PaymentCryptographyData) VerifyMacWithContext(ctx aws.Context, input *VerifyMacInput, opts ...request.Option) (*VerifyMacOutput, error)
- func (c *PaymentCryptographyData) VerifyPinData(input *VerifyPinDataInput) (*VerifyPinDataOutput, error)
- func (c *PaymentCryptographyData) VerifyPinDataRequest(input *VerifyPinDataInput) (req *request.Request, output *VerifyPinDataOutput)
- func (c *PaymentCryptographyData) VerifyPinDataWithContext(ctx aws.Context, input *VerifyPinDataInput, opts ...request.Option) (*VerifyPinDataOutput, error)
- type PinData
- type PinGenerationAttributes
- func (s PinGenerationAttributes) GoString() string
- func (s *PinGenerationAttributes) SetIbm3624NaturalPin(v *Ibm3624NaturalPin) *PinGenerationAttributes
- func (s *PinGenerationAttributes) SetIbm3624PinFromOffset(v *Ibm3624PinFromOffset) *PinGenerationAttributes
- func (s *PinGenerationAttributes) SetIbm3624PinOffset(v *Ibm3624PinOffset) *PinGenerationAttributes
- func (s *PinGenerationAttributes) SetIbm3624RandomPin(v *Ibm3624RandomPin) *PinGenerationAttributes
- func (s *PinGenerationAttributes) SetVisaPin(v *VisaPin) *PinGenerationAttributes
- func (s *PinGenerationAttributes) SetVisaPinVerificationValue(v *VisaPinVerificationValue) *PinGenerationAttributes
- func (s PinGenerationAttributes) String() string
- func (s *PinGenerationAttributes) Validate() error
- type PinVerificationAttributes
- func (s PinVerificationAttributes) GoString() string
- func (s *PinVerificationAttributes) SetIbm3624Pin(v *Ibm3624PinVerification) *PinVerificationAttributes
- func (s *PinVerificationAttributes) SetVisaPin(v *VisaPinVerification) *PinVerificationAttributes
- func (s PinVerificationAttributes) String() string
- func (s *PinVerificationAttributes) Validate() error
- type ReEncryptDataInput
- func (s ReEncryptDataInput) GoString() string
- func (s *ReEncryptDataInput) SetCipherText(v string) *ReEncryptDataInput
- func (s *ReEncryptDataInput) SetIncomingEncryptionAttributes(v *ReEncryptionAttributes) *ReEncryptDataInput
- func (s *ReEncryptDataInput) SetIncomingKeyIdentifier(v string) *ReEncryptDataInput
- func (s *ReEncryptDataInput) SetOutgoingEncryptionAttributes(v *ReEncryptionAttributes) *ReEncryptDataInput
- func (s *ReEncryptDataInput) SetOutgoingKeyIdentifier(v string) *ReEncryptDataInput
- func (s ReEncryptDataInput) String() string
- func (s *ReEncryptDataInput) Validate() error
- type ReEncryptDataOutput
- func (s ReEncryptDataOutput) GoString() string
- func (s *ReEncryptDataOutput) SetCipherText(v string) *ReEncryptDataOutput
- func (s *ReEncryptDataOutput) SetKeyArn(v string) *ReEncryptDataOutput
- func (s *ReEncryptDataOutput) SetKeyCheckValue(v string) *ReEncryptDataOutput
- func (s ReEncryptDataOutput) String() string
- type ReEncryptionAttributes
- func (s ReEncryptionAttributes) GoString() string
- func (s *ReEncryptionAttributes) SetDukpt(v *DukptEncryptionAttributes) *ReEncryptionAttributes
- func (s *ReEncryptionAttributes) SetSymmetric(v *SymmetricEncryptionAttributes) *ReEncryptionAttributes
- func (s ReEncryptionAttributes) String() string
- func (s *ReEncryptionAttributes) Validate() error
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type SessionKeyAmex
- type SessionKeyDerivation
- func (s SessionKeyDerivation) GoString() string
- func (s *SessionKeyDerivation) SetAmex(v *SessionKeyAmex) *SessionKeyDerivation
- func (s *SessionKeyDerivation) SetEmv2000(v *SessionKeyEmv2000) *SessionKeyDerivation
- func (s *SessionKeyDerivation) SetEmvCommon(v *SessionKeyEmvCommon) *SessionKeyDerivation
- func (s *SessionKeyDerivation) SetMastercard(v *SessionKeyMastercard) *SessionKeyDerivation
- func (s *SessionKeyDerivation) SetVisa(v *SessionKeyVisa) *SessionKeyDerivation
- func (s SessionKeyDerivation) String() string
- func (s *SessionKeyDerivation) Validate() error
- type SessionKeyDerivationValue
- func (s SessionKeyDerivationValue) GoString() string
- func (s *SessionKeyDerivationValue) SetApplicationCryptogram(v string) *SessionKeyDerivationValue
- func (s *SessionKeyDerivationValue) SetApplicationTransactionCounter(v string) *SessionKeyDerivationValue
- func (s SessionKeyDerivationValue) String() string
- func (s *SessionKeyDerivationValue) Validate() error
- type SessionKeyEmv2000
- func (s SessionKeyEmv2000) GoString() string
- func (s *SessionKeyEmv2000) SetApplicationTransactionCounter(v string) *SessionKeyEmv2000
- func (s *SessionKeyEmv2000) SetPanSequenceNumber(v string) *SessionKeyEmv2000
- func (s *SessionKeyEmv2000) SetPrimaryAccountNumber(v string) *SessionKeyEmv2000
- func (s SessionKeyEmv2000) String() string
- func (s *SessionKeyEmv2000) Validate() error
- type SessionKeyEmvCommon
- func (s SessionKeyEmvCommon) GoString() string
- func (s *SessionKeyEmvCommon) SetApplicationTransactionCounter(v string) *SessionKeyEmvCommon
- func (s *SessionKeyEmvCommon) SetPanSequenceNumber(v string) *SessionKeyEmvCommon
- func (s *SessionKeyEmvCommon) SetPrimaryAccountNumber(v string) *SessionKeyEmvCommon
- func (s SessionKeyEmvCommon) String() string
- func (s *SessionKeyEmvCommon) Validate() error
- type SessionKeyMastercard
- func (s SessionKeyMastercard) GoString() string
- func (s *SessionKeyMastercard) SetApplicationTransactionCounter(v string) *SessionKeyMastercard
- func (s *SessionKeyMastercard) SetPanSequenceNumber(v string) *SessionKeyMastercard
- func (s *SessionKeyMastercard) SetPrimaryAccountNumber(v string) *SessionKeyMastercard
- func (s *SessionKeyMastercard) SetUnpredictableNumber(v string) *SessionKeyMastercard
- func (s SessionKeyMastercard) String() string
- func (s *SessionKeyMastercard) Validate() error
- type SessionKeyVisa
- type SymmetricEncryptionAttributes
- func (s SymmetricEncryptionAttributes) GoString() string
- func (s *SymmetricEncryptionAttributes) SetInitializationVector(v string) *SymmetricEncryptionAttributes
- func (s *SymmetricEncryptionAttributes) SetMode(v string) *SymmetricEncryptionAttributes
- func (s *SymmetricEncryptionAttributes) SetPaddingType(v string) *SymmetricEncryptionAttributes
- func (s SymmetricEncryptionAttributes) String() string
- func (s *SymmetricEncryptionAttributes) Validate() error
- type ThrottlingException
- func (s *ThrottlingException) Code() string
- func (s *ThrottlingException) Error() string
- func (s ThrottlingException) GoString() string
- func (s *ThrottlingException) Message() string
- func (s *ThrottlingException) OrigErr() error
- func (s *ThrottlingException) RequestID() string
- func (s *ThrottlingException) StatusCode() int
- func (s ThrottlingException) String() string
- type TranslatePinDataInput
- func (s TranslatePinDataInput) GoString() string
- func (s *TranslatePinDataInput) SetEncryptedPinBlock(v string) *TranslatePinDataInput
- func (s *TranslatePinDataInput) SetIncomingDukptAttributes(v *DukptDerivationAttributes) *TranslatePinDataInput
- func (s *TranslatePinDataInput) SetIncomingKeyIdentifier(v string) *TranslatePinDataInput
- func (s *TranslatePinDataInput) SetIncomingTranslationAttributes(v *TranslationIsoFormats) *TranslatePinDataInput
- func (s *TranslatePinDataInput) SetOutgoingDukptAttributes(v *DukptDerivationAttributes) *TranslatePinDataInput
- func (s *TranslatePinDataInput) SetOutgoingKeyIdentifier(v string) *TranslatePinDataInput
- func (s *TranslatePinDataInput) SetOutgoingTranslationAttributes(v *TranslationIsoFormats) *TranslatePinDataInput
- func (s TranslatePinDataInput) String() string
- func (s *TranslatePinDataInput) Validate() error
- type TranslatePinDataOutput
- func (s TranslatePinDataOutput) GoString() string
- func (s *TranslatePinDataOutput) SetKeyArn(v string) *TranslatePinDataOutput
- func (s *TranslatePinDataOutput) SetKeyCheckValue(v string) *TranslatePinDataOutput
- func (s *TranslatePinDataOutput) SetPinBlock(v string) *TranslatePinDataOutput
- func (s TranslatePinDataOutput) String() string
- type TranslationIsoFormats
- func (s TranslationIsoFormats) GoString() string
- func (s *TranslationIsoFormats) SetIsoFormat0(v *TranslationPinDataIsoFormat034) *TranslationIsoFormats
- func (s *TranslationIsoFormats) SetIsoFormat1(v *TranslationPinDataIsoFormat1) *TranslationIsoFormats
- func (s *TranslationIsoFormats) SetIsoFormat3(v *TranslationPinDataIsoFormat034) *TranslationIsoFormats
- func (s *TranslationIsoFormats) SetIsoFormat4(v *TranslationPinDataIsoFormat034) *TranslationIsoFormats
- func (s TranslationIsoFormats) String() string
- func (s *TranslationIsoFormats) Validate() error
- type TranslationPinDataIsoFormat034
- type TranslationPinDataIsoFormat1
- type ValidationException
- func (s *ValidationException) Code() string
- func (s *ValidationException) Error() string
- func (s ValidationException) GoString() string
- func (s *ValidationException) Message() string
- func (s *ValidationException) OrigErr() error
- func (s *ValidationException) RequestID() string
- func (s *ValidationException) StatusCode() int
- func (s ValidationException) String() string
- type ValidationExceptionField
- type VerificationFailedException
- func (s *VerificationFailedException) Code() string
- func (s *VerificationFailedException) Error() string
- func (s VerificationFailedException) GoString() string
- func (s *VerificationFailedException) Message() string
- func (s *VerificationFailedException) OrigErr() error
- func (s *VerificationFailedException) RequestID() string
- func (s *VerificationFailedException) StatusCode() int
- func (s VerificationFailedException) String() string
- type VerifyAuthRequestCryptogramInput
- func (s VerifyAuthRequestCryptogramInput) GoString() string
- func (s *VerifyAuthRequestCryptogramInput) SetAuthRequestCryptogram(v string) *VerifyAuthRequestCryptogramInput
- func (s *VerifyAuthRequestCryptogramInput) SetAuthResponseAttributes(v *CryptogramAuthResponse) *VerifyAuthRequestCryptogramInput
- func (s *VerifyAuthRequestCryptogramInput) SetKeyIdentifier(v string) *VerifyAuthRequestCryptogramInput
- func (s *VerifyAuthRequestCryptogramInput) SetMajorKeyDerivationMode(v string) *VerifyAuthRequestCryptogramInput
- func (s *VerifyAuthRequestCryptogramInput) SetSessionKeyDerivationAttributes(v *SessionKeyDerivation) *VerifyAuthRequestCryptogramInput
- func (s *VerifyAuthRequestCryptogramInput) SetTransactionData(v string) *VerifyAuthRequestCryptogramInput
- func (s VerifyAuthRequestCryptogramInput) String() string
- func (s *VerifyAuthRequestCryptogramInput) Validate() error
- type VerifyAuthRequestCryptogramOutput
- func (s VerifyAuthRequestCryptogramOutput) GoString() string
- func (s *VerifyAuthRequestCryptogramOutput) SetAuthResponseValue(v string) *VerifyAuthRequestCryptogramOutput
- func (s *VerifyAuthRequestCryptogramOutput) SetKeyArn(v string) *VerifyAuthRequestCryptogramOutput
- func (s *VerifyAuthRequestCryptogramOutput) SetKeyCheckValue(v string) *VerifyAuthRequestCryptogramOutput
- func (s VerifyAuthRequestCryptogramOutput) String() string
- type VerifyCardValidationDataInput
- func (s VerifyCardValidationDataInput) GoString() string
- func (s *VerifyCardValidationDataInput) SetKeyIdentifier(v string) *VerifyCardValidationDataInput
- func (s *VerifyCardValidationDataInput) SetPrimaryAccountNumber(v string) *VerifyCardValidationDataInput
- func (s *VerifyCardValidationDataInput) SetValidationData(v string) *VerifyCardValidationDataInput
- func (s *VerifyCardValidationDataInput) SetVerificationAttributes(v *CardVerificationAttributes) *VerifyCardValidationDataInput
- func (s VerifyCardValidationDataInput) String() string
- func (s *VerifyCardValidationDataInput) Validate() error
- type VerifyCardValidationDataOutput
- func (s VerifyCardValidationDataOutput) GoString() string
- func (s *VerifyCardValidationDataOutput) SetKeyArn(v string) *VerifyCardValidationDataOutput
- func (s *VerifyCardValidationDataOutput) SetKeyCheckValue(v string) *VerifyCardValidationDataOutput
- func (s VerifyCardValidationDataOutput) String() string
- type VerifyMacInput
- func (s VerifyMacInput) GoString() string
- func (s *VerifyMacInput) SetKeyIdentifier(v string) *VerifyMacInput
- func (s *VerifyMacInput) SetMac(v string) *VerifyMacInput
- func (s *VerifyMacInput) SetMacLength(v int64) *VerifyMacInput
- func (s *VerifyMacInput) SetMessageData(v string) *VerifyMacInput
- func (s *VerifyMacInput) SetVerificationAttributes(v *MacAttributes) *VerifyMacInput
- func (s VerifyMacInput) String() string
- func (s *VerifyMacInput) Validate() error
- type VerifyMacOutput
- type VerifyPinDataInput
- func (s VerifyPinDataInput) GoString() string
- func (s *VerifyPinDataInput) SetDukptAttributes(v *DukptAttributes) *VerifyPinDataInput
- func (s *VerifyPinDataInput) SetEncryptedPinBlock(v string) *VerifyPinDataInput
- func (s *VerifyPinDataInput) SetEncryptionKeyIdentifier(v string) *VerifyPinDataInput
- func (s *VerifyPinDataInput) SetPinBlockFormat(v string) *VerifyPinDataInput
- func (s *VerifyPinDataInput) SetPinDataLength(v int64) *VerifyPinDataInput
- func (s *VerifyPinDataInput) SetPrimaryAccountNumber(v string) *VerifyPinDataInput
- func (s *VerifyPinDataInput) SetVerificationAttributes(v *PinVerificationAttributes) *VerifyPinDataInput
- func (s *VerifyPinDataInput) SetVerificationKeyIdentifier(v string) *VerifyPinDataInput
- func (s VerifyPinDataInput) String() string
- func (s *VerifyPinDataInput) Validate() error
- type VerifyPinDataOutput
- func (s VerifyPinDataOutput) GoString() string
- func (s *VerifyPinDataOutput) SetEncryptionKeyArn(v string) *VerifyPinDataOutput
- func (s *VerifyPinDataOutput) SetEncryptionKeyCheckValue(v string) *VerifyPinDataOutput
- func (s *VerifyPinDataOutput) SetVerificationKeyArn(v string) *VerifyPinDataOutput
- func (s *VerifyPinDataOutput) SetVerificationKeyCheckValue(v string) *VerifyPinDataOutput
- func (s VerifyPinDataOutput) String() string
- type VisaPin
- type VisaPinVerification
- func (s VisaPinVerification) GoString() string
- func (s *VisaPinVerification) SetPinVerificationKeyIndex(v int64) *VisaPinVerification
- func (s *VisaPinVerification) SetVerificationValue(v string) *VisaPinVerification
- func (s VisaPinVerification) String() string
- func (s *VisaPinVerification) Validate() error
- type VisaPinVerificationValue
- func (s VisaPinVerificationValue) GoString() string
- func (s *VisaPinVerificationValue) SetEncryptedPinBlock(v string) *VisaPinVerificationValue
- func (s *VisaPinVerificationValue) SetPinVerificationKeyIndex(v int64) *VisaPinVerificationValue
- func (s VisaPinVerificationValue) String() string
- func (s *VisaPinVerificationValue) Validate() error
Constants ¶
const ( // DukptDerivationTypeTdes2key is a DukptDerivationType enum value DukptDerivationTypeTdes2key = "TDES_2KEY" // DukptDerivationTypeTdes3key is a DukptDerivationType enum value DukptDerivationTypeTdes3key = "TDES_3KEY" // DukptDerivationTypeAes128 is a DukptDerivationType enum value DukptDerivationTypeAes128 = "AES_128" // DukptDerivationTypeAes192 is a DukptDerivationType enum value DukptDerivationTypeAes192 = "AES_192" // DukptDerivationTypeAes256 is a DukptDerivationType enum value DukptDerivationTypeAes256 = "AES_256" )
const ( // DukptEncryptionModeEcb is a DukptEncryptionMode enum value DukptEncryptionModeEcb = "ECB" // DukptEncryptionModeCbc is a DukptEncryptionMode enum value DukptEncryptionModeCbc = "CBC" )
const ( // DukptKeyVariantBidirectional is a DukptKeyVariant enum value DukptKeyVariantBidirectional = "BIDIRECTIONAL" // DukptKeyVariantRequest is a DukptKeyVariant enum value DukptKeyVariantRequest = "REQUEST" // DukptKeyVariantResponse is a DukptKeyVariant enum value DukptKeyVariantResponse = "RESPONSE" )
const ( // EmvEncryptionModeEcb is a EmvEncryptionMode enum value EmvEncryptionModeEcb = "ECB" // EmvEncryptionModeCbc is a EmvEncryptionMode enum value EmvEncryptionModeCbc = "CBC" )
const ( // EmvMajorKeyDerivationModeEmvOptionA is a EmvMajorKeyDerivationMode enum value EmvMajorKeyDerivationModeEmvOptionA = "EMV_OPTION_A" // EmvMajorKeyDerivationModeEmvOptionB is a EmvMajorKeyDerivationMode enum value EmvMajorKeyDerivationModeEmvOptionB = "EMV_OPTION_B" )
const ( // EncryptionModeEcb is a EncryptionMode enum value EncryptionModeEcb = "ECB" // EncryptionModeCbc is a EncryptionMode enum value EncryptionModeCbc = "CBC" // EncryptionModeCfb is a EncryptionMode enum value EncryptionModeCfb = "CFB" // EncryptionModeCfb1 is a EncryptionMode enum value EncryptionModeCfb1 = "CFB1" // EncryptionModeCfb8 is a EncryptionMode enum value EncryptionModeCfb8 = "CFB8" // EncryptionModeCfb64 is a EncryptionMode enum value EncryptionModeCfb64 = "CFB64" // EncryptionModeCfb128 is a EncryptionMode enum value EncryptionModeCfb128 = "CFB128" // EncryptionModeOfb is a EncryptionMode enum value EncryptionModeOfb = "OFB" )
const ( // MacAlgorithmIso9797Algorithm1 is a MacAlgorithm enum value MacAlgorithmIso9797Algorithm1 = "ISO9797_ALGORITHM1" // MacAlgorithmIso9797Algorithm3 is a MacAlgorithm enum value MacAlgorithmIso9797Algorithm3 = "ISO9797_ALGORITHM3" // MacAlgorithmCmac is a MacAlgorithm enum value MacAlgorithmCmac = "CMAC" // MacAlgorithmHmacSha224 is a MacAlgorithm enum value MacAlgorithmHmacSha224 = "HMAC_SHA224" // MacAlgorithmHmacSha256 is a MacAlgorithm enum value MacAlgorithmHmacSha256 = "HMAC_SHA256" // MacAlgorithmHmacSha384 is a MacAlgorithm enum value MacAlgorithmHmacSha384 = "HMAC_SHA384" // MacAlgorithmHmacSha512 is a MacAlgorithm enum value MacAlgorithmHmacSha512 = "HMAC_SHA512" )
const ( // MajorKeyDerivationModeEmvOptionA is a MajorKeyDerivationMode enum value MajorKeyDerivationModeEmvOptionA = "EMV_OPTION_A" // MajorKeyDerivationModeEmvOptionB is a MajorKeyDerivationMode enum value MajorKeyDerivationModeEmvOptionB = "EMV_OPTION_B" )
const ( // PaddingTypePkcs1 is a PaddingType enum value PaddingTypePkcs1 = "PKCS1" // PaddingTypeOaepSha1 is a PaddingType enum value PaddingTypeOaepSha1 = "OAEP_SHA1" // PaddingTypeOaepSha256 is a PaddingType enum value PaddingTypeOaepSha256 = "OAEP_SHA256" // PaddingTypeOaepSha512 is a PaddingType enum value PaddingTypeOaepSha512 = "OAEP_SHA512" )
const ( // PinBlockFormatForPinDataIsoFormat0 is a PinBlockFormatForPinData enum value PinBlockFormatForPinDataIsoFormat0 = "ISO_FORMAT_0" // PinBlockFormatForPinDataIsoFormat3 is a PinBlockFormatForPinData enum value PinBlockFormatForPinDataIsoFormat3 = "ISO_FORMAT_3" )
const ( // SessionKeyDerivationModeEmvCommonSessionKey is a SessionKeyDerivationMode enum value SessionKeyDerivationModeEmvCommonSessionKey = "EMV_COMMON_SESSION_KEY" // SessionKeyDerivationModeEmv2000 is a SessionKeyDerivationMode enum value SessionKeyDerivationModeEmv2000 = "EMV2000" // SessionKeyDerivationModeAmex is a SessionKeyDerivationMode enum value SessionKeyDerivationModeAmex = "AMEX" // SessionKeyDerivationModeMastercardSessionKey is a SessionKeyDerivationMode enum value SessionKeyDerivationModeMastercardSessionKey = "MASTERCARD_SESSION_KEY" // SessionKeyDerivationModeVisa is a SessionKeyDerivationMode enum value SessionKeyDerivationModeVisa = "VISA" )
const ( // VerificationFailedReasonInvalidMac is a VerificationFailedReason enum value VerificationFailedReasonInvalidMac = "INVALID_MAC" // VerificationFailedReasonInvalidPin is a VerificationFailedReason enum value VerificationFailedReasonInvalidPin = "INVALID_PIN" // VerificationFailedReasonInvalidValidationData is a VerificationFailedReason enum value VerificationFailedReasonInvalidValidationData = "INVALID_VALIDATION_DATA" // VerificationFailedReasonInvalidAuthRequestCryptogram is a VerificationFailedReason enum value VerificationFailedReasonInvalidAuthRequestCryptogram = "INVALID_AUTH_REQUEST_CRYPTOGRAM" )
const ( // ErrCodeAccessDeniedException for service response error code // "AccessDeniedException". // // You do not have sufficient access to perform this action. ErrCodeAccessDeniedException = "AccessDeniedException" // ErrCodeInternalServerException for service response error code // "InternalServerException". // // The request processing has failed because of an unknown error, exception, // or failure. ErrCodeInternalServerException = "InternalServerException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // The request was denied due to an invalid resource error. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeThrottlingException for service response error code // "ThrottlingException". // // The request was denied due to request throttling. ErrCodeThrottlingException = "ThrottlingException" // ErrCodeValidationException for service response error code // "ValidationException". // // The request was denied due to an invalid request error. ErrCodeValidationException = "ValidationException" // ErrCodeVerificationFailedException for service response error code // "VerificationFailedException". // // This request failed verification. ErrCodeVerificationFailedException = "VerificationFailedException" )
const ( ServiceName = "Payment Cryptography Data" // Name of service. EndpointsID = "dataplane.payment-cryptography" // ID to lookup a service endpoint with. ServiceID = "Payment Cryptography Data" // ServiceID is a unique identifier of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
func DukptDerivationType_Values ¶
func DukptDerivationType_Values() []string
DukptDerivationType_Values returns all elements of the DukptDerivationType enum
func DukptEncryptionMode_Values ¶
func DukptEncryptionMode_Values() []string
DukptEncryptionMode_Values returns all elements of the DukptEncryptionMode enum
func DukptKeyVariant_Values ¶
func DukptKeyVariant_Values() []string
DukptKeyVariant_Values returns all elements of the DukptKeyVariant enum
func EmvEncryptionMode_Values ¶
func EmvEncryptionMode_Values() []string
EmvEncryptionMode_Values returns all elements of the EmvEncryptionMode enum
func EmvMajorKeyDerivationMode_Values ¶
func EmvMajorKeyDerivationMode_Values() []string
EmvMajorKeyDerivationMode_Values returns all elements of the EmvMajorKeyDerivationMode enum
func EncryptionMode_Values ¶
func EncryptionMode_Values() []string
EncryptionMode_Values returns all elements of the EncryptionMode enum
func MacAlgorithm_Values ¶
func MacAlgorithm_Values() []string
MacAlgorithm_Values returns all elements of the MacAlgorithm enum
func MajorKeyDerivationMode_Values ¶
func MajorKeyDerivationMode_Values() []string
MajorKeyDerivationMode_Values returns all elements of the MajorKeyDerivationMode enum
func PaddingType_Values ¶
func PaddingType_Values() []string
PaddingType_Values returns all elements of the PaddingType enum
func PinBlockFormatForPinData_Values ¶
func PinBlockFormatForPinData_Values() []string
PinBlockFormatForPinData_Values returns all elements of the PinBlockFormatForPinData enum
func SessionKeyDerivationMode_Values ¶
func SessionKeyDerivationMode_Values() []string
SessionKeyDerivationMode_Values returns all elements of the SessionKeyDerivationMode enum
func VerificationFailedReason_Values ¶
func VerificationFailedReason_Values() []string
VerificationFailedReason_Values returns all elements of the VerificationFailedReason enum
Types ¶
type AccessDeniedException ¶
type AccessDeniedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
You do not have sufficient access to perform this action.
func (*AccessDeniedException) Code ¶
func (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (*AccessDeniedException) Error ¶
func (s *AccessDeniedException) Error() string
func (AccessDeniedException) GoString ¶
func (s AccessDeniedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AccessDeniedException) Message ¶
func (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (*AccessDeniedException) OrigErr ¶
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AccessDeniedException) RequestID ¶
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AccessDeniedException) StatusCode ¶
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AccessDeniedException) String ¶
func (s AccessDeniedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AmexCardSecurityCodeVersion1 ¶
type AmexCardSecurityCodeVersion1 struct { // The expiry date of a payment card. // // CardExpiryDate is a required field CardExpiryDate *string `min:"4" type:"string" required:"true"` // contains filtered or unexported fields }
Card data parameters that are required to generate a Card Security Code (CSC2) for an AMEX payment card.
func (AmexCardSecurityCodeVersion1) GoString ¶
func (s AmexCardSecurityCodeVersion1) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AmexCardSecurityCodeVersion1) SetCardExpiryDate ¶
func (s *AmexCardSecurityCodeVersion1) SetCardExpiryDate(v string) *AmexCardSecurityCodeVersion1
SetCardExpiryDate sets the CardExpiryDate field's value.
func (AmexCardSecurityCodeVersion1) String ¶
func (s AmexCardSecurityCodeVersion1) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AmexCardSecurityCodeVersion1) Validate ¶
func (s *AmexCardSecurityCodeVersion1) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AmexCardSecurityCodeVersion2 ¶
type AmexCardSecurityCodeVersion2 struct { // The expiry date of a payment card. // // CardExpiryDate is a required field CardExpiryDate *string `min:"4" type:"string" required:"true"` // The service code of the AMEX payment card. This is different from the Card // Security Code (CSC). // // ServiceCode is a required field ServiceCode *string `min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
Card data parameters that are required to generate a Card Security Code (CSC2) for an AMEX payment card.
func (AmexCardSecurityCodeVersion2) GoString ¶
func (s AmexCardSecurityCodeVersion2) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AmexCardSecurityCodeVersion2) SetCardExpiryDate ¶
func (s *AmexCardSecurityCodeVersion2) SetCardExpiryDate(v string) *AmexCardSecurityCodeVersion2
SetCardExpiryDate sets the CardExpiryDate field's value.
func (*AmexCardSecurityCodeVersion2) SetServiceCode ¶
func (s *AmexCardSecurityCodeVersion2) SetServiceCode(v string) *AmexCardSecurityCodeVersion2
SetServiceCode sets the ServiceCode field's value.
func (AmexCardSecurityCodeVersion2) String ¶
func (s AmexCardSecurityCodeVersion2) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AmexCardSecurityCodeVersion2) Validate ¶
func (s *AmexCardSecurityCodeVersion2) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AsymmetricEncryptionAttributes ¶
type AsymmetricEncryptionAttributes struct { // The padding to be included with the data. PaddingType *string `type:"string" enum:"PaddingType"` // contains filtered or unexported fields }
Parameters for plaintext encryption using asymmetric keys.
func (AsymmetricEncryptionAttributes) GoString ¶
func (s AsymmetricEncryptionAttributes) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AsymmetricEncryptionAttributes) SetPaddingType ¶
func (s *AsymmetricEncryptionAttributes) SetPaddingType(v string) *AsymmetricEncryptionAttributes
SetPaddingType sets the PaddingType field's value.
func (AsymmetricEncryptionAttributes) String ¶
func (s AsymmetricEncryptionAttributes) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CardGenerationAttributes ¶
type CardGenerationAttributes struct { // Card data parameters that are required to generate a Card Security Code (CSC2) // for an AMEX payment card. AmexCardSecurityCodeVersion1 *AmexCardSecurityCodeVersion1 `type:"structure"` // Card data parameters that are required to generate a Card Security Code (CSC2) // for an AMEX payment card. AmexCardSecurityCodeVersion2 *AmexCardSecurityCodeVersion2 `type:"structure"` // Card data parameters that are required to generate a cardholder verification // value for the payment card. CardHolderVerificationValue *CardHolderVerificationValue `type:"structure"` // Card data parameters that are required to generate Card Verification Value // (CVV) for the payment card. CardVerificationValue1 *CardVerificationValue1 `type:"structure"` // Card data parameters that are required to generate Card Verification Value // (CVV2) for the payment card. CardVerificationValue2 *CardVerificationValue2 `type:"structure"` // Card data parameters that are required to generate CDynamic Card Verification // Code (dCVC) for the payment card. DynamicCardVerificationCode *DynamicCardVerificationCode `type:"structure"` // Card data parameters that are required to generate CDynamic Card Verification // Value (dCVV) for the payment card. DynamicCardVerificationValue *DynamicCardVerificationValue `type:"structure"` // contains filtered or unexported fields }
Card data parameters that are required to generate Card Verification Values (CVV/CVV2), Dynamic Card Verification Values (dCVV/dCVV2), or Card Security Codes (CSC).
func (CardGenerationAttributes) GoString ¶
func (s CardGenerationAttributes) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CardGenerationAttributes) SetAmexCardSecurityCodeVersion1 ¶
func (s *CardGenerationAttributes) SetAmexCardSecurityCodeVersion1(v *AmexCardSecurityCodeVersion1) *CardGenerationAttributes
SetAmexCardSecurityCodeVersion1 sets the AmexCardSecurityCodeVersion1 field's value.
func (*CardGenerationAttributes) SetAmexCardSecurityCodeVersion2 ¶
func (s *CardGenerationAttributes) SetAmexCardSecurityCodeVersion2(v *AmexCardSecurityCodeVersion2) *CardGenerationAttributes
SetAmexCardSecurityCodeVersion2 sets the AmexCardSecurityCodeVersion2 field's value.
func (*CardGenerationAttributes) SetCardHolderVerificationValue ¶
func (s *CardGenerationAttributes) SetCardHolderVerificationValue(v *CardHolderVerificationValue) *CardGenerationAttributes
SetCardHolderVerificationValue sets the CardHolderVerificationValue field's value.
func (*CardGenerationAttributes) SetCardVerificationValue1 ¶
func (s *CardGenerationAttributes) SetCardVerificationValue1(v *CardVerificationValue1) *CardGenerationAttributes
SetCardVerificationValue1 sets the CardVerificationValue1 field's value.
func (*CardGenerationAttributes) SetCardVerificationValue2 ¶
func (s *CardGenerationAttributes) SetCardVerificationValue2(v *CardVerificationValue2) *CardGenerationAttributes
SetCardVerificationValue2 sets the CardVerificationValue2 field's value.
func (*CardGenerationAttributes) SetDynamicCardVerificationCode ¶
func (s *CardGenerationAttributes) SetDynamicCardVerificationCode(v *DynamicCardVerificationCode) *CardGenerationAttributes
SetDynamicCardVerificationCode sets the DynamicCardVerificationCode field's value.
func (*CardGenerationAttributes) SetDynamicCardVerificationValue ¶
func (s *CardGenerationAttributes) SetDynamicCardVerificationValue(v *DynamicCardVerificationValue) *CardGenerationAttributes
SetDynamicCardVerificationValue sets the DynamicCardVerificationValue field's value.
func (CardGenerationAttributes) String ¶
func (s CardGenerationAttributes) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CardGenerationAttributes) Validate ¶
func (s *CardGenerationAttributes) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CardHolderVerificationValue ¶
type CardHolderVerificationValue struct { // The transaction counter value that comes from a point of sale terminal. // // ApplicationTransactionCounter is a required field ApplicationTransactionCounter *string `min:"2" type:"string" required:"true"` // A number that identifies and differentiates payment cards with the same Primary // Account Number (PAN). // // PanSequenceNumber is a required field PanSequenceNumber *string `min:"2" type:"string" required:"true"` // A random number generated by the issuer. // // UnpredictableNumber is a required field UnpredictableNumber *string `min:"2" type:"string" required:"true"` // contains filtered or unexported fields }
Card data parameters that are required to generate a cardholder verification value for the payment card.
func (CardHolderVerificationValue) GoString ¶
func (s CardHolderVerificationValue) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CardHolderVerificationValue) SetApplicationTransactionCounter ¶
func (s *CardHolderVerificationValue) SetApplicationTransactionCounter(v string) *CardHolderVerificationValue
SetApplicationTransactionCounter sets the ApplicationTransactionCounter field's value.
func (*CardHolderVerificationValue) SetPanSequenceNumber ¶
func (s *CardHolderVerificationValue) SetPanSequenceNumber(v string) *CardHolderVerificationValue
SetPanSequenceNumber sets the PanSequenceNumber field's value.
func (*CardHolderVerificationValue) SetUnpredictableNumber ¶
func (s *CardHolderVerificationValue) SetUnpredictableNumber(v string) *CardHolderVerificationValue
SetUnpredictableNumber sets the UnpredictableNumber field's value.
func (CardHolderVerificationValue) String ¶
func (s CardHolderVerificationValue) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CardHolderVerificationValue) Validate ¶
func (s *CardHolderVerificationValue) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CardVerificationAttributes ¶
type CardVerificationAttributes struct { // Card data parameters that are required to generate a Card Security Code (CSC2) // for an AMEX payment card. AmexCardSecurityCodeVersion1 *AmexCardSecurityCodeVersion1 `type:"structure"` // Card data parameters that are required to verify a Card Security Code (CSC2) // for an AMEX payment card. AmexCardSecurityCodeVersion2 *AmexCardSecurityCodeVersion2 `type:"structure"` // Card data parameters that are required to verify a cardholder verification // value for the payment card. CardHolderVerificationValue *CardHolderVerificationValue `type:"structure"` // Card data parameters that are required to verify Card Verification Value // (CVV) for the payment card. CardVerificationValue1 *CardVerificationValue1 `type:"structure"` // Card data parameters that are required to verify Card Verification Value // (CVV2) for the payment card. CardVerificationValue2 *CardVerificationValue2 `type:"structure"` // Card data parameters that are required to verify CDynamic Card Verification // Code (dCVC) for the payment card. DiscoverDynamicCardVerificationCode *DiscoverDynamicCardVerificationCode `type:"structure"` // Card data parameters that are required to verify CDynamic Card Verification // Code (dCVC) for the payment card. DynamicCardVerificationCode *DynamicCardVerificationCode `type:"structure"` // Card data parameters that are required to verify CDynamic Card Verification // Value (dCVV) for the payment card. DynamicCardVerificationValue *DynamicCardVerificationValue `type:"structure"` // contains filtered or unexported fields }
Card data parameters that are requried to verify Card Verification Values (CVV/CVV2), Dynamic Card Verification Values (dCVV/dCVV2), or Card Security Codes (CSC).
func (CardVerificationAttributes) GoString ¶
func (s CardVerificationAttributes) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CardVerificationAttributes) SetAmexCardSecurityCodeVersion1 ¶
func (s *CardVerificationAttributes) SetAmexCardSecurityCodeVersion1(v *AmexCardSecurityCodeVersion1) *CardVerificationAttributes
SetAmexCardSecurityCodeVersion1 sets the AmexCardSecurityCodeVersion1 field's value.
func (*CardVerificationAttributes) SetAmexCardSecurityCodeVersion2 ¶
func (s *CardVerificationAttributes) SetAmexCardSecurityCodeVersion2(v *AmexCardSecurityCodeVersion2) *CardVerificationAttributes
SetAmexCardSecurityCodeVersion2 sets the AmexCardSecurityCodeVersion2 field's value.
func (*CardVerificationAttributes) SetCardHolderVerificationValue ¶
func (s *CardVerificationAttributes) SetCardHolderVerificationValue(v *CardHolderVerificationValue) *CardVerificationAttributes
SetCardHolderVerificationValue sets the CardHolderVerificationValue field's value.
func (*CardVerificationAttributes) SetCardVerificationValue1 ¶
func (s *CardVerificationAttributes) SetCardVerificationValue1(v *CardVerificationValue1) *CardVerificationAttributes
SetCardVerificationValue1 sets the CardVerificationValue1 field's value.
func (*CardVerificationAttributes) SetCardVerificationValue2 ¶
func (s *CardVerificationAttributes) SetCardVerificationValue2(v *CardVerificationValue2) *CardVerificationAttributes
SetCardVerificationValue2 sets the CardVerificationValue2 field's value.
func (*CardVerificationAttributes) SetDiscoverDynamicCardVerificationCode ¶
func (s *CardVerificationAttributes) SetDiscoverDynamicCardVerificationCode(v *DiscoverDynamicCardVerificationCode) *CardVerificationAttributes
SetDiscoverDynamicCardVerificationCode sets the DiscoverDynamicCardVerificationCode field's value.
func (*CardVerificationAttributes) SetDynamicCardVerificationCode ¶
func (s *CardVerificationAttributes) SetDynamicCardVerificationCode(v *DynamicCardVerificationCode) *CardVerificationAttributes
SetDynamicCardVerificationCode sets the DynamicCardVerificationCode field's value.
func (*CardVerificationAttributes) SetDynamicCardVerificationValue ¶
func (s *CardVerificationAttributes) SetDynamicCardVerificationValue(v *DynamicCardVerificationValue) *CardVerificationAttributes
SetDynamicCardVerificationValue sets the DynamicCardVerificationValue field's value.
func (CardVerificationAttributes) String ¶
func (s CardVerificationAttributes) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CardVerificationAttributes) Validate ¶
func (s *CardVerificationAttributes) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CardVerificationValue1 ¶
type CardVerificationValue1 struct { // The expiry date of a payment card. // // CardExpiryDate is a required field CardExpiryDate *string `min:"4" type:"string" required:"true"` // The service code of the payment card. This is different from Card Security // Code (CSC). // // ServiceCode is a required field ServiceCode *string `min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
Card data parameters that are required to verify CVV (Card Verification Value) for the payment card.
func (CardVerificationValue1) GoString ¶
func (s CardVerificationValue1) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CardVerificationValue1) SetCardExpiryDate ¶
func (s *CardVerificationValue1) SetCardExpiryDate(v string) *CardVerificationValue1
SetCardExpiryDate sets the CardExpiryDate field's value.
func (*CardVerificationValue1) SetServiceCode ¶
func (s *CardVerificationValue1) SetServiceCode(v string) *CardVerificationValue1
SetServiceCode sets the ServiceCode field's value.
func (CardVerificationValue1) String ¶
func (s CardVerificationValue1) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CardVerificationValue1) Validate ¶
func (s *CardVerificationValue1) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CardVerificationValue2 ¶
type CardVerificationValue2 struct { // The expiry date of a payment card. // // CardExpiryDate is a required field CardExpiryDate *string `min:"4" type:"string" required:"true"` // contains filtered or unexported fields }
Card data parameters that are required to verify Card Verification Value (CVV2) for the payment card.
func (CardVerificationValue2) GoString ¶
func (s CardVerificationValue2) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CardVerificationValue2) SetCardExpiryDate ¶
func (s *CardVerificationValue2) SetCardExpiryDate(v string) *CardVerificationValue2
SetCardExpiryDate sets the CardExpiryDate field's value.
func (CardVerificationValue2) String ¶
func (s CardVerificationValue2) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CardVerificationValue2) Validate ¶
func (s *CardVerificationValue2) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CryptogramAuthResponse ¶
type CryptogramAuthResponse struct { // Parameters that are required for ARPC response generation using method1 after // ARQC verification is successful. ArpcMethod1 *CryptogramVerificationArpcMethod1 `type:"structure"` // Parameters that are required for ARPC response generation using method2 after // ARQC verification is successful. ArpcMethod2 *CryptogramVerificationArpcMethod2 `type:"structure"` // contains filtered or unexported fields }
Parameters that are required for Authorization Response Cryptogram (ARPC) generation after Authorization Request Cryptogram (ARQC) verification is successful.
func (CryptogramAuthResponse) GoString ¶
func (s CryptogramAuthResponse) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CryptogramAuthResponse) SetArpcMethod1 ¶
func (s *CryptogramAuthResponse) SetArpcMethod1(v *CryptogramVerificationArpcMethod1) *CryptogramAuthResponse
SetArpcMethod1 sets the ArpcMethod1 field's value.
func (*CryptogramAuthResponse) SetArpcMethod2 ¶
func (s *CryptogramAuthResponse) SetArpcMethod2(v *CryptogramVerificationArpcMethod2) *CryptogramAuthResponse
SetArpcMethod2 sets the ArpcMethod2 field's value.
func (CryptogramAuthResponse) String ¶
func (s CryptogramAuthResponse) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CryptogramAuthResponse) Validate ¶
func (s *CryptogramAuthResponse) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CryptogramVerificationArpcMethod1 ¶
type CryptogramVerificationArpcMethod1 struct { // The auth code used to calculate APRC after ARQC verification is successful. // This is the same auth code used for ARQC generation outside of Amazon Web // Services Payment Cryptography. // // AuthResponseCode is a required field AuthResponseCode *string `min:"4" type:"string" required:"true"` // contains filtered or unexported fields }
Parameters that are required for ARPC response generation using method1 after ARQC verification is successful.
func (CryptogramVerificationArpcMethod1) GoString ¶
func (s CryptogramVerificationArpcMethod1) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CryptogramVerificationArpcMethod1) SetAuthResponseCode ¶
func (s *CryptogramVerificationArpcMethod1) SetAuthResponseCode(v string) *CryptogramVerificationArpcMethod1
SetAuthResponseCode sets the AuthResponseCode field's value.
func (CryptogramVerificationArpcMethod1) String ¶
func (s CryptogramVerificationArpcMethod1) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CryptogramVerificationArpcMethod1) Validate ¶
func (s *CryptogramVerificationArpcMethod1) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CryptogramVerificationArpcMethod2 ¶
type CryptogramVerificationArpcMethod2 struct { // The data indicating whether the issuer approves or declines an online transaction // using an EMV chip card. // // CardStatusUpdate is a required field CardStatusUpdate *string `min:"8" type:"string" required:"true"` // The proprietary authentication data used by issuer for communication during // online transaction using an EMV chip card. ProprietaryAuthenticationData *string `min:"1" type:"string"` // contains filtered or unexported fields }
Parameters that are required for ARPC response generation using method2 after ARQC verification is successful.
func (CryptogramVerificationArpcMethod2) GoString ¶
func (s CryptogramVerificationArpcMethod2) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CryptogramVerificationArpcMethod2) SetCardStatusUpdate ¶
func (s *CryptogramVerificationArpcMethod2) SetCardStatusUpdate(v string) *CryptogramVerificationArpcMethod2
SetCardStatusUpdate sets the CardStatusUpdate field's value.
func (*CryptogramVerificationArpcMethod2) SetProprietaryAuthenticationData ¶
func (s *CryptogramVerificationArpcMethod2) SetProprietaryAuthenticationData(v string) *CryptogramVerificationArpcMethod2
SetProprietaryAuthenticationData sets the ProprietaryAuthenticationData field's value.
func (CryptogramVerificationArpcMethod2) String ¶
func (s CryptogramVerificationArpcMethod2) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CryptogramVerificationArpcMethod2) Validate ¶
func (s *CryptogramVerificationArpcMethod2) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DecryptDataInput ¶
type DecryptDataInput struct { // The ciphertext to decrypt. // // CipherText is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by DecryptDataInput's // String and GoString methods. // // CipherText is a required field CipherText *string `min:"16" type:"string" required:"true" sensitive:"true"` // The encryption key type and attributes for ciphertext decryption. // // DecryptionAttributes is a required field DecryptionAttributes *EncryptionDecryptionAttributes `type:"structure" required:"true"` // The keyARN of the encryption key that Amazon Web Services Payment Cryptography // uses for ciphertext decryption. // // KeyIdentifier is a required field KeyIdentifier *string `location:"uri" locationName:"KeyIdentifier" min:"7" type:"string" required:"true"` // contains filtered or unexported fields }
func (DecryptDataInput) GoString ¶
func (s DecryptDataInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DecryptDataInput) SetCipherText ¶
func (s *DecryptDataInput) SetCipherText(v string) *DecryptDataInput
SetCipherText sets the CipherText field's value.
func (*DecryptDataInput) SetDecryptionAttributes ¶
func (s *DecryptDataInput) SetDecryptionAttributes(v *EncryptionDecryptionAttributes) *DecryptDataInput
SetDecryptionAttributes sets the DecryptionAttributes field's value.
func (*DecryptDataInput) SetKeyIdentifier ¶
func (s *DecryptDataInput) SetKeyIdentifier(v string) *DecryptDataInput
SetKeyIdentifier sets the KeyIdentifier field's value.
func (DecryptDataInput) String ¶
func (s DecryptDataInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DecryptDataInput) Validate ¶
func (s *DecryptDataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DecryptDataOutput ¶
type DecryptDataOutput struct { // The keyARN of the encryption key that Amazon Web Services Payment Cryptography // uses for ciphertext decryption. // // KeyArn is a required field KeyArn *string `min:"70" type:"string" required:"true"` // The key check value (KCV) of the encryption key. The KCV is used to check // if all parties holding a given key have the same key or to detect that a // key has changed. // // Amazon Web Services Payment Cryptography computes the KCV according to the // CMAC specification. // // KeyCheckValue is a required field KeyCheckValue *string `min:"4" type:"string" required:"true"` // The decrypted plaintext data in hexBinary format. // // PlainText is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by DecryptDataOutput's // String and GoString methods. // // PlainText is a required field PlainText *string `min:"16" type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
func (DecryptDataOutput) GoString ¶
func (s DecryptDataOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DecryptDataOutput) SetKeyArn ¶
func (s *DecryptDataOutput) SetKeyArn(v string) *DecryptDataOutput
SetKeyArn sets the KeyArn field's value.
func (*DecryptDataOutput) SetKeyCheckValue ¶
func (s *DecryptDataOutput) SetKeyCheckValue(v string) *DecryptDataOutput
SetKeyCheckValue sets the KeyCheckValue field's value.
func (*DecryptDataOutput) SetPlainText ¶
func (s *DecryptDataOutput) SetPlainText(v string) *DecryptDataOutput
SetPlainText sets the PlainText field's value.
func (DecryptDataOutput) String ¶
func (s DecryptDataOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DiscoverDynamicCardVerificationCode ¶
type DiscoverDynamicCardVerificationCode struct { // The transaction counter value that comes from the terminal. // // ApplicationTransactionCounter is a required field ApplicationTransactionCounter *string `min:"2" type:"string" required:"true"` // The expiry date of a payment card. // // CardExpiryDate is a required field CardExpiryDate *string `min:"4" type:"string" required:"true"` // A random number that is generated by the issuer. // // UnpredictableNumber is a required field UnpredictableNumber *string `min:"2" type:"string" required:"true"` // contains filtered or unexported fields }
Parameters that are required to generate or verify dCVC (Dynamic Card Verification Code).
func (DiscoverDynamicCardVerificationCode) GoString ¶
func (s DiscoverDynamicCardVerificationCode) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DiscoverDynamicCardVerificationCode) SetApplicationTransactionCounter ¶
func (s *DiscoverDynamicCardVerificationCode) SetApplicationTransactionCounter(v string) *DiscoverDynamicCardVerificationCode
SetApplicationTransactionCounter sets the ApplicationTransactionCounter field's value.
func (*DiscoverDynamicCardVerificationCode) SetCardExpiryDate ¶
func (s *DiscoverDynamicCardVerificationCode) SetCardExpiryDate(v string) *DiscoverDynamicCardVerificationCode
SetCardExpiryDate sets the CardExpiryDate field's value.
func (*DiscoverDynamicCardVerificationCode) SetUnpredictableNumber ¶
func (s *DiscoverDynamicCardVerificationCode) SetUnpredictableNumber(v string) *DiscoverDynamicCardVerificationCode
SetUnpredictableNumber sets the UnpredictableNumber field's value.
func (DiscoverDynamicCardVerificationCode) String ¶
func (s DiscoverDynamicCardVerificationCode) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DiscoverDynamicCardVerificationCode) Validate ¶
func (s *DiscoverDynamicCardVerificationCode) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DukptAttributes ¶
type DukptAttributes struct { // The key type derived using DUKPT from a Base Derivation Key (BDK) and Key // Serial Number (KSN). This must be less than or equal to the strength of the // BDK. For example, you can't use AES_128 as a derivation type for a BDK of // AES_128 or TDES_2KEY. // // DukptDerivationType is a required field DukptDerivationType *string `type:"string" required:"true" enum:"DukptDerivationType"` // The unique identifier known as Key Serial Number (KSN) that comes from an // encrypting device using DUKPT encryption method. The KSN is derived from // the encrypting device unique identifier and an internal transaction counter. // // KeySerialNumber is a required field KeySerialNumber *string `min:"10" type:"string" required:"true"` // contains filtered or unexported fields }
Parameters that are used for Derived Unique Key Per Transaction (DUKPT) derivation algorithm.
func (DukptAttributes) GoString ¶
func (s DukptAttributes) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DukptAttributes) SetDukptDerivationType ¶
func (s *DukptAttributes) SetDukptDerivationType(v string) *DukptAttributes
SetDukptDerivationType sets the DukptDerivationType field's value.
func (*DukptAttributes) SetKeySerialNumber ¶
func (s *DukptAttributes) SetKeySerialNumber(v string) *DukptAttributes
SetKeySerialNumber sets the KeySerialNumber field's value.
func (DukptAttributes) String ¶
func (s DukptAttributes) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DukptAttributes) Validate ¶
func (s *DukptAttributes) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DukptDerivationAttributes ¶
type DukptDerivationAttributes struct { // The key type derived using DUKPT from a Base Derivation Key (BDK) and Key // Serial Number (KSN). This must be less than or equal to the strength of the // BDK. For example, you can't use AES_128 as a derivation type for a BDK of // AES_128 or TDES_2KEY DukptKeyDerivationType *string `type:"string" enum:"DukptDerivationType"` // The type of use of DUKPT, which can be for incoming data decryption, outgoing // data encryption, or both. DukptKeyVariant *string `type:"string" enum:"DukptKeyVariant"` // The unique identifier known as Key Serial Number (KSN) that comes from an // encrypting device using DUKPT encryption method. The KSN is derived from // the encrypting device unique identifier and an internal transaction counter. // // KeySerialNumber is a required field KeySerialNumber *string `min:"10" type:"string" required:"true"` // contains filtered or unexported fields }
Parameters required for encryption or decryption of data using DUKPT.
func (DukptDerivationAttributes) GoString ¶
func (s DukptDerivationAttributes) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DukptDerivationAttributes) SetDukptKeyDerivationType ¶
func (s *DukptDerivationAttributes) SetDukptKeyDerivationType(v string) *DukptDerivationAttributes
SetDukptKeyDerivationType sets the DukptKeyDerivationType field's value.
func (*DukptDerivationAttributes) SetDukptKeyVariant ¶
func (s *DukptDerivationAttributes) SetDukptKeyVariant(v string) *DukptDerivationAttributes
SetDukptKeyVariant sets the DukptKeyVariant field's value.
func (*DukptDerivationAttributes) SetKeySerialNumber ¶
func (s *DukptDerivationAttributes) SetKeySerialNumber(v string) *DukptDerivationAttributes
SetKeySerialNumber sets the KeySerialNumber field's value.
func (DukptDerivationAttributes) String ¶
func (s DukptDerivationAttributes) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DukptDerivationAttributes) Validate ¶
func (s *DukptDerivationAttributes) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DukptEncryptionAttributes ¶
type DukptEncryptionAttributes struct { // The key type encrypted using DUKPT from a Base Derivation Key (BDK) and Key // Serial Number (KSN). This must be less than or equal to the strength of the // BDK. For example, you can't use AES_128 as a derivation type for a BDK of // AES_128 or TDES_2KEY DukptKeyDerivationType *string `type:"string" enum:"DukptDerivationType"` // The type of use of DUKPT, which can be incoming data decryption, outgoing // data encryption, or both. DukptKeyVariant *string `type:"string" enum:"DukptKeyVariant"` // An input used to provide the intial state. If no value is provided, Amazon // Web Services Payment Cryptography defaults it to zero. // // InitializationVector is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by DukptEncryptionAttributes's // String and GoString methods. InitializationVector *string `min:"16" type:"string" sensitive:"true"` // The unique identifier known as Key Serial Number (KSN) that comes from an // encrypting device using DUKPT encryption method. The KSN is derived from // the encrypting device unique identifier and an internal transaction counter. // // KeySerialNumber is a required field KeySerialNumber *string `min:"10" type:"string" required:"true"` // The block cipher method to use for encryption. // // The default is CBC. Mode *string `type:"string" enum:"DukptEncryptionMode"` // contains filtered or unexported fields }
Parameters that are required to encrypt plaintext data using DUKPT.
func (DukptEncryptionAttributes) GoString ¶
func (s DukptEncryptionAttributes) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DukptEncryptionAttributes) SetDukptKeyDerivationType ¶
func (s *DukptEncryptionAttributes) SetDukptKeyDerivationType(v string) *DukptEncryptionAttributes
SetDukptKeyDerivationType sets the DukptKeyDerivationType field's value.
func (*DukptEncryptionAttributes) SetDukptKeyVariant ¶
func (s *DukptEncryptionAttributes) SetDukptKeyVariant(v string) *DukptEncryptionAttributes
SetDukptKeyVariant sets the DukptKeyVariant field's value.
func (*DukptEncryptionAttributes) SetInitializationVector ¶
func (s *DukptEncryptionAttributes) SetInitializationVector(v string) *DukptEncryptionAttributes
SetInitializationVector sets the InitializationVector field's value.
func (*DukptEncryptionAttributes) SetKeySerialNumber ¶
func (s *DukptEncryptionAttributes) SetKeySerialNumber(v string) *DukptEncryptionAttributes
SetKeySerialNumber sets the KeySerialNumber field's value.
func (*DukptEncryptionAttributes) SetMode ¶
func (s *DukptEncryptionAttributes) SetMode(v string) *DukptEncryptionAttributes
SetMode sets the Mode field's value.
func (DukptEncryptionAttributes) String ¶
func (s DukptEncryptionAttributes) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DukptEncryptionAttributes) Validate ¶
func (s *DukptEncryptionAttributes) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DynamicCardVerificationCode ¶
type DynamicCardVerificationCode struct { // The transaction counter value that comes from the terminal. // // ApplicationTransactionCounter is a required field ApplicationTransactionCounter *string `min:"2" type:"string" required:"true"` // A number that identifies and differentiates payment cards with the same Primary // Account Number (PAN). // // PanSequenceNumber is a required field PanSequenceNumber *string `min:"2" type:"string" required:"true"` // The data on the two tracks of magnetic cards used for financial transactions. // This includes the cardholder name, PAN, expiration date, bank ID (BIN) and // several other numbers the issuing bank uses to validate the data received. // // TrackData is a required field TrackData *string `min:"2" type:"string" required:"true"` // A random number generated by the issuer. // // UnpredictableNumber is a required field UnpredictableNumber *string `min:"2" type:"string" required:"true"` // contains filtered or unexported fields }
Parameters that are required to generate or verify Dynamic Card Verification Value (dCVV).
func (DynamicCardVerificationCode) GoString ¶
func (s DynamicCardVerificationCode) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DynamicCardVerificationCode) SetApplicationTransactionCounter ¶
func (s *DynamicCardVerificationCode) SetApplicationTransactionCounter(v string) *DynamicCardVerificationCode
SetApplicationTransactionCounter sets the ApplicationTransactionCounter field's value.
func (*DynamicCardVerificationCode) SetPanSequenceNumber ¶
func (s *DynamicCardVerificationCode) SetPanSequenceNumber(v string) *DynamicCardVerificationCode
SetPanSequenceNumber sets the PanSequenceNumber field's value.
func (*DynamicCardVerificationCode) SetTrackData ¶
func (s *DynamicCardVerificationCode) SetTrackData(v string) *DynamicCardVerificationCode
SetTrackData sets the TrackData field's value.
func (*DynamicCardVerificationCode) SetUnpredictableNumber ¶
func (s *DynamicCardVerificationCode) SetUnpredictableNumber(v string) *DynamicCardVerificationCode
SetUnpredictableNumber sets the UnpredictableNumber field's value.
func (DynamicCardVerificationCode) String ¶
func (s DynamicCardVerificationCode) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DynamicCardVerificationCode) Validate ¶
func (s *DynamicCardVerificationCode) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DynamicCardVerificationValue ¶
type DynamicCardVerificationValue struct { // The transaction counter value that comes from the terminal. // // ApplicationTransactionCounter is a required field ApplicationTransactionCounter *string `min:"2" type:"string" required:"true"` // The expiry date of a payment card. // // CardExpiryDate is a required field CardExpiryDate *string `min:"4" type:"string" required:"true"` // A number that identifies and differentiates payment cards with the same Primary // Account Number (PAN). // // PanSequenceNumber is a required field PanSequenceNumber *string `min:"2" type:"string" required:"true"` // The service code of the payment card. This is different from Card Security // Code (CSC). // // ServiceCode is a required field ServiceCode *string `min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
Parameters that are required to generate or verify Dynamic Card Verification Value (dCVV).
func (DynamicCardVerificationValue) GoString ¶
func (s DynamicCardVerificationValue) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DynamicCardVerificationValue) SetApplicationTransactionCounter ¶
func (s *DynamicCardVerificationValue) SetApplicationTransactionCounter(v string) *DynamicCardVerificationValue
SetApplicationTransactionCounter sets the ApplicationTransactionCounter field's value.
func (*DynamicCardVerificationValue) SetCardExpiryDate ¶
func (s *DynamicCardVerificationValue) SetCardExpiryDate(v string) *DynamicCardVerificationValue
SetCardExpiryDate sets the CardExpiryDate field's value.
func (*DynamicCardVerificationValue) SetPanSequenceNumber ¶
func (s *DynamicCardVerificationValue) SetPanSequenceNumber(v string) *DynamicCardVerificationValue
SetPanSequenceNumber sets the PanSequenceNumber field's value.
func (*DynamicCardVerificationValue) SetServiceCode ¶
func (s *DynamicCardVerificationValue) SetServiceCode(v string) *DynamicCardVerificationValue
SetServiceCode sets the ServiceCode field's value.
func (DynamicCardVerificationValue) String ¶
func (s DynamicCardVerificationValue) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DynamicCardVerificationValue) Validate ¶
func (s *DynamicCardVerificationValue) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EmvEncryptionAttributes ¶
type EmvEncryptionAttributes struct { // An input used to provide the intial state. If no value is provided, Amazon // Web Services Payment Cryptography defaults it to zero. // // InitializationVector is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by EmvEncryptionAttributes's // String and GoString methods. InitializationVector *string `min:"16" type:"string" sensitive:"true"` // The EMV derivation mode to use for ICC master key derivation as per EMV version // 4.3 book 2. // // MajorKeyDerivationMode is a required field MajorKeyDerivationMode *string `type:"string" required:"true" enum:"EmvMajorKeyDerivationMode"` // The block cipher method to use for encryption. Mode *string `type:"string" enum:"EmvEncryptionMode"` // A number that identifies and differentiates payment cards with the same Primary // Account Number (PAN). // // PanSequenceNumber is a required field PanSequenceNumber *string `min:"2" type:"string" required:"true"` // The Primary Account Number (PAN), a unique identifier for a payment credit // or debit card and associates the card to a specific account holder. // // PrimaryAccountNumber is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by EmvEncryptionAttributes's // String and GoString methods. // // PrimaryAccountNumber is a required field PrimaryAccountNumber *string `min:"12" type:"string" required:"true" sensitive:"true"` // The derivation value used to derive the ICC session key. It is typically // the application transaction counter value padded with zeros or previous ARQC // value padded with zeros as per EMV version 4.3 book 2. // // SessionDerivationData is a required field SessionDerivationData *string `min:"16" type:"string" required:"true"` // contains filtered or unexported fields }
Parameters for plaintext encryption using EMV keys.
func (EmvEncryptionAttributes) GoString ¶
func (s EmvEncryptionAttributes) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EmvEncryptionAttributes) SetInitializationVector ¶
func (s *EmvEncryptionAttributes) SetInitializationVector(v string) *EmvEncryptionAttributes
SetInitializationVector sets the InitializationVector field's value.
func (*EmvEncryptionAttributes) SetMajorKeyDerivationMode ¶
func (s *EmvEncryptionAttributes) SetMajorKeyDerivationMode(v string) *EmvEncryptionAttributes
SetMajorKeyDerivationMode sets the MajorKeyDerivationMode field's value.
func (*EmvEncryptionAttributes) SetMode ¶
func (s *EmvEncryptionAttributes) SetMode(v string) *EmvEncryptionAttributes
SetMode sets the Mode field's value.
func (*EmvEncryptionAttributes) SetPanSequenceNumber ¶
func (s *EmvEncryptionAttributes) SetPanSequenceNumber(v string) *EmvEncryptionAttributes
SetPanSequenceNumber sets the PanSequenceNumber field's value.
func (*EmvEncryptionAttributes) SetPrimaryAccountNumber ¶
func (s *EmvEncryptionAttributes) SetPrimaryAccountNumber(v string) *EmvEncryptionAttributes
SetPrimaryAccountNumber sets the PrimaryAccountNumber field's value.
func (*EmvEncryptionAttributes) SetSessionDerivationData ¶
func (s *EmvEncryptionAttributes) SetSessionDerivationData(v string) *EmvEncryptionAttributes
SetSessionDerivationData sets the SessionDerivationData field's value.
func (EmvEncryptionAttributes) String ¶
func (s EmvEncryptionAttributes) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EmvEncryptionAttributes) Validate ¶
func (s *EmvEncryptionAttributes) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EncryptDataInput ¶
type EncryptDataInput struct { // The encryption key type and attributes for plaintext encryption. // // EncryptionAttributes is a required field EncryptionAttributes *EncryptionDecryptionAttributes `type:"structure" required:"true"` // The keyARN of the encryption key that Amazon Web Services Payment Cryptography // uses for plaintext encryption. // // KeyIdentifier is a required field KeyIdentifier *string `location:"uri" locationName:"KeyIdentifier" min:"7" type:"string" required:"true"` // The plaintext to be encrypted. // // For encryption using asymmetric keys, plaintext data length is constrained // by encryption key strength that you define in KeyAlgorithm and padding type // that you define in AsymmetricEncryptionAttributes. For more information, // see Encrypt data (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/encrypt-data.html) // in the Amazon Web Services Payment Cryptography User Guide. // // PlainText is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by EncryptDataInput's // String and GoString methods. // // PlainText is a required field PlainText *string `min:"16" type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
func (EncryptDataInput) GoString ¶
func (s EncryptDataInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EncryptDataInput) SetEncryptionAttributes ¶
func (s *EncryptDataInput) SetEncryptionAttributes(v *EncryptionDecryptionAttributes) *EncryptDataInput
SetEncryptionAttributes sets the EncryptionAttributes field's value.
func (*EncryptDataInput) SetKeyIdentifier ¶
func (s *EncryptDataInput) SetKeyIdentifier(v string) *EncryptDataInput
SetKeyIdentifier sets the KeyIdentifier field's value.
func (*EncryptDataInput) SetPlainText ¶
func (s *EncryptDataInput) SetPlainText(v string) *EncryptDataInput
SetPlainText sets the PlainText field's value.
func (EncryptDataInput) String ¶
func (s EncryptDataInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EncryptDataInput) Validate ¶
func (s *EncryptDataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EncryptDataOutput ¶
type EncryptDataOutput struct { // The encrypted ciphertext. // // CipherText is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by EncryptDataOutput's // String and GoString methods. // // CipherText is a required field CipherText *string `min:"16" type:"string" required:"true" sensitive:"true"` // The keyARN of the encryption key that Amazon Web Services Payment Cryptography // uses for plaintext encryption. // // KeyArn is a required field KeyArn *string `min:"70" type:"string" required:"true"` // The key check value (KCV) of the encryption key. The KCV is used to check // if all parties holding a given key have the same key or to detect that a // key has changed. // // Amazon Web Services Payment Cryptography computes the KCV according to the // CMAC specification. KeyCheckValue *string `min:"4" type:"string"` // contains filtered or unexported fields }
func (EncryptDataOutput) GoString ¶
func (s EncryptDataOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EncryptDataOutput) SetCipherText ¶
func (s *EncryptDataOutput) SetCipherText(v string) *EncryptDataOutput
SetCipherText sets the CipherText field's value.
func (*EncryptDataOutput) SetKeyArn ¶
func (s *EncryptDataOutput) SetKeyArn(v string) *EncryptDataOutput
SetKeyArn sets the KeyArn field's value.
func (*EncryptDataOutput) SetKeyCheckValue ¶
func (s *EncryptDataOutput) SetKeyCheckValue(v string) *EncryptDataOutput
SetKeyCheckValue sets the KeyCheckValue field's value.
func (EncryptDataOutput) String ¶
func (s EncryptDataOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EncryptionDecryptionAttributes ¶
type EncryptionDecryptionAttributes struct { // Parameters for plaintext encryption using asymmetric keys. Asymmetric *AsymmetricEncryptionAttributes `type:"structure"` // Parameters that are required to encrypt plaintext data using DUKPT. Dukpt *DukptEncryptionAttributes `type:"structure"` // Parameters for plaintext encryption using EMV keys. Emv *EmvEncryptionAttributes `type:"structure"` // Parameters that are required to perform encryption and decryption using symmetric // keys. Symmetric *SymmetricEncryptionAttributes `type:"structure"` // contains filtered or unexported fields }
Parameters that are required to perform encryption and decryption operations.
func (EncryptionDecryptionAttributes) GoString ¶
func (s EncryptionDecryptionAttributes) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EncryptionDecryptionAttributes) SetAsymmetric ¶
func (s *EncryptionDecryptionAttributes) SetAsymmetric(v *AsymmetricEncryptionAttributes) *EncryptionDecryptionAttributes
SetAsymmetric sets the Asymmetric field's value.
func (*EncryptionDecryptionAttributes) SetDukpt ¶
func (s *EncryptionDecryptionAttributes) SetDukpt(v *DukptEncryptionAttributes) *EncryptionDecryptionAttributes
SetDukpt sets the Dukpt field's value.
func (*EncryptionDecryptionAttributes) SetEmv ¶
func (s *EncryptionDecryptionAttributes) SetEmv(v *EmvEncryptionAttributes) *EncryptionDecryptionAttributes
SetEmv sets the Emv field's value.
func (*EncryptionDecryptionAttributes) SetSymmetric ¶
func (s *EncryptionDecryptionAttributes) SetSymmetric(v *SymmetricEncryptionAttributes) *EncryptionDecryptionAttributes
SetSymmetric sets the Symmetric field's value.
func (EncryptionDecryptionAttributes) String ¶
func (s EncryptionDecryptionAttributes) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EncryptionDecryptionAttributes) Validate ¶
func (s *EncryptionDecryptionAttributes) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GenerateCardValidationDataInput ¶
type GenerateCardValidationDataInput struct { // The algorithm for generating CVV or CSC values for the card within Amazon // Web Services Payment Cryptography. // // GenerationAttributes is a required field GenerationAttributes *CardGenerationAttributes `type:"structure" required:"true"` // The keyARN of the CVK encryption key that Amazon Web Services Payment Cryptography // uses to generate card data. // // KeyIdentifier is a required field KeyIdentifier *string `min:"7" type:"string" required:"true"` // The Primary Account Number (PAN), a unique identifier for a payment credit // or debit card that associates the card with a specific account holder. // // PrimaryAccountNumber is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by GenerateCardValidationDataInput's // String and GoString methods. // // PrimaryAccountNumber is a required field PrimaryAccountNumber *string `min:"12" type:"string" required:"true" sensitive:"true"` // The length of the CVV or CSC to be generated. The default value is 3. ValidationDataLength *int64 `min:"3" type:"integer"` // contains filtered or unexported fields }
func (GenerateCardValidationDataInput) GoString ¶
func (s GenerateCardValidationDataInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GenerateCardValidationDataInput) SetGenerationAttributes ¶
func (s *GenerateCardValidationDataInput) SetGenerationAttributes(v *CardGenerationAttributes) *GenerateCardValidationDataInput
SetGenerationAttributes sets the GenerationAttributes field's value.
func (*GenerateCardValidationDataInput) SetKeyIdentifier ¶
func (s *GenerateCardValidationDataInput) SetKeyIdentifier(v string) *GenerateCardValidationDataInput
SetKeyIdentifier sets the KeyIdentifier field's value.
func (*GenerateCardValidationDataInput) SetPrimaryAccountNumber ¶
func (s *GenerateCardValidationDataInput) SetPrimaryAccountNumber(v string) *GenerateCardValidationDataInput
SetPrimaryAccountNumber sets the PrimaryAccountNumber field's value.
func (*GenerateCardValidationDataInput) SetValidationDataLength ¶
func (s *GenerateCardValidationDataInput) SetValidationDataLength(v int64) *GenerateCardValidationDataInput
SetValidationDataLength sets the ValidationDataLength field's value.
func (GenerateCardValidationDataInput) String ¶
func (s GenerateCardValidationDataInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GenerateCardValidationDataInput) Validate ¶
func (s *GenerateCardValidationDataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GenerateCardValidationDataOutput ¶
type GenerateCardValidationDataOutput struct { // The keyARN of the CVK encryption key that Amazon Web Services Payment Cryptography // uses to generate CVV or CSC. // // KeyArn is a required field KeyArn *string `min:"70" type:"string" required:"true"` // The key check value (KCV) of the encryption key. The KCV is used to check // if all parties holding a given key have the same key or to detect that a // key has changed. // // Amazon Web Services Payment Cryptography computes the KCV according to the // CMAC specification. // // KeyCheckValue is a required field KeyCheckValue *string `min:"4" type:"string" required:"true"` // The CVV or CSC value that Amazon Web Services Payment Cryptography generates // for the card. // // ValidationData is a required field ValidationData *string `min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
func (GenerateCardValidationDataOutput) GoString ¶
func (s GenerateCardValidationDataOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GenerateCardValidationDataOutput) SetKeyArn ¶
func (s *GenerateCardValidationDataOutput) SetKeyArn(v string) *GenerateCardValidationDataOutput
SetKeyArn sets the KeyArn field's value.
func (*GenerateCardValidationDataOutput) SetKeyCheckValue ¶
func (s *GenerateCardValidationDataOutput) SetKeyCheckValue(v string) *GenerateCardValidationDataOutput
SetKeyCheckValue sets the KeyCheckValue field's value.
func (*GenerateCardValidationDataOutput) SetValidationData ¶
func (s *GenerateCardValidationDataOutput) SetValidationData(v string) *GenerateCardValidationDataOutput
SetValidationData sets the ValidationData field's value.
func (GenerateCardValidationDataOutput) String ¶
func (s GenerateCardValidationDataOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GenerateMacInput ¶
type GenerateMacInput struct { // The attributes and data values to use for MAC generation within Amazon Web // Services Payment Cryptography. // // GenerationAttributes is a required field GenerationAttributes *MacAttributes `type:"structure" required:"true"` // The keyARN of the MAC generation encryption key. // // KeyIdentifier is a required field KeyIdentifier *string `min:"7" type:"string" required:"true"` // The length of a MAC under generation. MacLength *int64 `min:"4" type:"integer"` // The data for which a MAC is under generation. This value must be hexBinary. // // MessageData is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by GenerateMacInput's // String and GoString methods. // // MessageData is a required field MessageData *string `min:"2" type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
func (GenerateMacInput) GoString ¶
func (s GenerateMacInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GenerateMacInput) SetGenerationAttributes ¶
func (s *GenerateMacInput) SetGenerationAttributes(v *MacAttributes) *GenerateMacInput
SetGenerationAttributes sets the GenerationAttributes field's value.
func (*GenerateMacInput) SetKeyIdentifier ¶
func (s *GenerateMacInput) SetKeyIdentifier(v string) *GenerateMacInput
SetKeyIdentifier sets the KeyIdentifier field's value.
func (*GenerateMacInput) SetMacLength ¶
func (s *GenerateMacInput) SetMacLength(v int64) *GenerateMacInput
SetMacLength sets the MacLength field's value.
func (*GenerateMacInput) SetMessageData ¶
func (s *GenerateMacInput) SetMessageData(v string) *GenerateMacInput
SetMessageData sets the MessageData field's value.
func (GenerateMacInput) String ¶
func (s GenerateMacInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GenerateMacInput) Validate ¶
func (s *GenerateMacInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GenerateMacOutput ¶
type GenerateMacOutput struct { // The keyARN of the encryption key that Amazon Web Services Payment Cryptography // uses for MAC generation. // // KeyArn is a required field KeyArn *string `min:"70" type:"string" required:"true"` // The key check value (KCV) of the encryption key. The KCV is used to check // if all parties holding a given key have the same key or to detect that a // key has changed. // // Amazon Web Services Payment Cryptography computes the KCV according to the // CMAC specification. // // KeyCheckValue is a required field KeyCheckValue *string `min:"4" type:"string" required:"true"` // The MAC cryptogram generated within Amazon Web Services Payment Cryptography. // // Mac is a required field Mac *string `min:"4" type:"string" required:"true"` // contains filtered or unexported fields }
func (GenerateMacOutput) GoString ¶
func (s GenerateMacOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GenerateMacOutput) SetKeyArn ¶
func (s *GenerateMacOutput) SetKeyArn(v string) *GenerateMacOutput
SetKeyArn sets the KeyArn field's value.
func (*GenerateMacOutput) SetKeyCheckValue ¶
func (s *GenerateMacOutput) SetKeyCheckValue(v string) *GenerateMacOutput
SetKeyCheckValue sets the KeyCheckValue field's value.
func (*GenerateMacOutput) SetMac ¶
func (s *GenerateMacOutput) SetMac(v string) *GenerateMacOutput
SetMac sets the Mac field's value.
func (GenerateMacOutput) String ¶
func (s GenerateMacOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GeneratePinDataInput ¶
type GeneratePinDataInput struct { // The keyARN of the PEK that Amazon Web Services Payment Cryptography uses // to encrypt the PIN Block. // // EncryptionKeyIdentifier is a required field EncryptionKeyIdentifier *string `min:"7" type:"string" required:"true"` // The attributes and values to use for PIN, PVV, or PIN Offset generation. // // GenerationAttributes is a required field GenerationAttributes *PinGenerationAttributes `type:"structure" required:"true"` // The keyARN of the PEK that Amazon Web Services Payment Cryptography uses // for pin data generation. // // GenerationKeyIdentifier is a required field GenerationKeyIdentifier *string `min:"7" type:"string" required:"true"` // The PIN encoding format for pin data generation as specified in ISO 9564. // Amazon Web Services Payment Cryptography supports ISO_Format_0 and ISO_Format_3. // // 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. // // PinBlockFormat is a required field PinBlockFormat *string `type:"string" required:"true" enum:"PinBlockFormatForPinData"` // The length of PIN under generation. PinDataLength *int64 `min:"4" type:"integer"` // The Primary Account Number (PAN), a unique identifier for a payment credit // or debit card that associates the card with a specific account holder. // // PrimaryAccountNumber is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by GeneratePinDataInput's // String and GoString methods. // // PrimaryAccountNumber is a required field PrimaryAccountNumber *string `min:"12" type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
func (GeneratePinDataInput) GoString ¶
func (s GeneratePinDataInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GeneratePinDataInput) SetEncryptionKeyIdentifier ¶
func (s *GeneratePinDataInput) SetEncryptionKeyIdentifier(v string) *GeneratePinDataInput
SetEncryptionKeyIdentifier sets the EncryptionKeyIdentifier field's value.
func (*GeneratePinDataInput) SetGenerationAttributes ¶
func (s *GeneratePinDataInput) SetGenerationAttributes(v *PinGenerationAttributes) *GeneratePinDataInput
SetGenerationAttributes sets the GenerationAttributes field's value.
func (*GeneratePinDataInput) SetGenerationKeyIdentifier ¶
func (s *GeneratePinDataInput) SetGenerationKeyIdentifier(v string) *GeneratePinDataInput
SetGenerationKeyIdentifier sets the GenerationKeyIdentifier field's value.
func (*GeneratePinDataInput) SetPinBlockFormat ¶
func (s *GeneratePinDataInput) SetPinBlockFormat(v string) *GeneratePinDataInput
SetPinBlockFormat sets the PinBlockFormat field's value.
func (*GeneratePinDataInput) SetPinDataLength ¶
func (s *GeneratePinDataInput) SetPinDataLength(v int64) *GeneratePinDataInput
SetPinDataLength sets the PinDataLength field's value.
func (*GeneratePinDataInput) SetPrimaryAccountNumber ¶
func (s *GeneratePinDataInput) SetPrimaryAccountNumber(v string) *GeneratePinDataInput
SetPrimaryAccountNumber sets the PrimaryAccountNumber field's value.
func (GeneratePinDataInput) String ¶
func (s GeneratePinDataInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GeneratePinDataInput) Validate ¶
func (s *GeneratePinDataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GeneratePinDataOutput ¶
type GeneratePinDataOutput struct { // The PIN block encrypted under PEK from Amazon Web Services Payment Cryptography. // The encrypted PIN block is a composite of PAN (Primary Account Number) and // PIN (Personal Identification Number), generated in accordance with ISO 9564 // standard. // // EncryptedPinBlock is a required field EncryptedPinBlock *string `min:"16" type:"string" required:"true"` // The keyARN of the PEK that Amazon Web Services Payment Cryptography uses // for encrypted pin block generation. // // EncryptionKeyArn is a required field EncryptionKeyArn *string `min:"70" type:"string" required:"true"` // The key check value (KCV) of the encryption key. The KCV is used to check // if all parties holding a given key have the same key or to detect that a // key has changed. // // Amazon Web Services Payment Cryptography computes the KCV according to the // CMAC specification. // // EncryptionKeyCheckValue is a required field EncryptionKeyCheckValue *string `min:"4" type:"string" required:"true"` // The keyARN of the pin data generation key that Amazon Web Services Payment // Cryptography uses for PIN, PVV or PIN Offset generation. // // GenerationKeyArn is a required field GenerationKeyArn *string `min:"70" type:"string" required:"true"` // The key check value (KCV) of the encryption key. The KCV is used to check // if all parties holding a given key have the same key or to detect that a // key has changed. // // Amazon Web Services Payment Cryptography computes the KCV according to the // CMAC specification. // // GenerationKeyCheckValue is a required field GenerationKeyCheckValue *string `min:"4" type:"string" required:"true"` // The attributes and values Amazon Web Services Payment Cryptography uses for // pin data generation. // // PinData is a required field PinData *PinData `type:"structure" required:"true"` // contains filtered or unexported fields }
func (GeneratePinDataOutput) GoString ¶
func (s GeneratePinDataOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GeneratePinDataOutput) SetEncryptedPinBlock ¶
func (s *GeneratePinDataOutput) SetEncryptedPinBlock(v string) *GeneratePinDataOutput
SetEncryptedPinBlock sets the EncryptedPinBlock field's value.
func (*GeneratePinDataOutput) SetEncryptionKeyArn ¶
func (s *GeneratePinDataOutput) SetEncryptionKeyArn(v string) *GeneratePinDataOutput
SetEncryptionKeyArn sets the EncryptionKeyArn field's value.
func (*GeneratePinDataOutput) SetEncryptionKeyCheckValue ¶
func (s *GeneratePinDataOutput) SetEncryptionKeyCheckValue(v string) *GeneratePinDataOutput
SetEncryptionKeyCheckValue sets the EncryptionKeyCheckValue field's value.
func (*GeneratePinDataOutput) SetGenerationKeyArn ¶
func (s *GeneratePinDataOutput) SetGenerationKeyArn(v string) *GeneratePinDataOutput
SetGenerationKeyArn sets the GenerationKeyArn field's value.
func (*GeneratePinDataOutput) SetGenerationKeyCheckValue ¶
func (s *GeneratePinDataOutput) SetGenerationKeyCheckValue(v string) *GeneratePinDataOutput
SetGenerationKeyCheckValue sets the GenerationKeyCheckValue field's value.
func (*GeneratePinDataOutput) SetPinData ¶
func (s *GeneratePinDataOutput) SetPinData(v *PinData) *GeneratePinDataOutput
SetPinData sets the PinData field's value.
func (GeneratePinDataOutput) String ¶
func (s GeneratePinDataOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Ibm3624NaturalPin ¶
type Ibm3624NaturalPin struct { // The decimalization table to use for IBM 3624 PIN algorithm. The table is // used to convert the algorithm intermediate result from hexadecimal characters // to decimal. // // DecimalizationTable is a required field DecimalizationTable *string `min:"16" type:"string" required:"true"` // The unique data for cardholder identification. // // PinValidationData is a required field PinValidationData *string `min:"4" type:"string" required:"true"` // The padding character for validation data. // // PinValidationDataPadCharacter is a required field PinValidationDataPadCharacter *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Parameters that are required to generate or verify Ibm3624 natural PIN.
func (Ibm3624NaturalPin) GoString ¶
func (s Ibm3624NaturalPin) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Ibm3624NaturalPin) SetDecimalizationTable ¶
func (s *Ibm3624NaturalPin) SetDecimalizationTable(v string) *Ibm3624NaturalPin
SetDecimalizationTable sets the DecimalizationTable field's value.
func (*Ibm3624NaturalPin) SetPinValidationData ¶
func (s *Ibm3624NaturalPin) SetPinValidationData(v string) *Ibm3624NaturalPin
SetPinValidationData sets the PinValidationData field's value.
func (*Ibm3624NaturalPin) SetPinValidationDataPadCharacter ¶
func (s *Ibm3624NaturalPin) SetPinValidationDataPadCharacter(v string) *Ibm3624NaturalPin
SetPinValidationDataPadCharacter sets the PinValidationDataPadCharacter field's value.
func (Ibm3624NaturalPin) String ¶
func (s Ibm3624NaturalPin) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Ibm3624NaturalPin) Validate ¶
func (s *Ibm3624NaturalPin) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Ibm3624PinFromOffset ¶
type Ibm3624PinFromOffset struct { // The decimalization table to use for IBM 3624 PIN algorithm. The table is // used to convert the algorithm intermediate result from hexadecimal characters // to decimal. // // DecimalizationTable is a required field DecimalizationTable *string `min:"16" type:"string" required:"true"` // The PIN offset value. // // PinOffset is a required field PinOffset *string `min:"4" type:"string" required:"true"` // The unique data for cardholder identification. // // PinValidationData is a required field PinValidationData *string `min:"4" type:"string" required:"true"` // The padding character for validation data. // // PinValidationDataPadCharacter is a required field PinValidationDataPadCharacter *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Parameters that are required to generate or verify Ibm3624 PIN from offset PIN.
func (Ibm3624PinFromOffset) GoString ¶
func (s Ibm3624PinFromOffset) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Ibm3624PinFromOffset) SetDecimalizationTable ¶
func (s *Ibm3624PinFromOffset) SetDecimalizationTable(v string) *Ibm3624PinFromOffset
SetDecimalizationTable sets the DecimalizationTable field's value.
func (*Ibm3624PinFromOffset) SetPinOffset ¶
func (s *Ibm3624PinFromOffset) SetPinOffset(v string) *Ibm3624PinFromOffset
SetPinOffset sets the PinOffset field's value.
func (*Ibm3624PinFromOffset) SetPinValidationData ¶
func (s *Ibm3624PinFromOffset) SetPinValidationData(v string) *Ibm3624PinFromOffset
SetPinValidationData sets the PinValidationData field's value.
func (*Ibm3624PinFromOffset) SetPinValidationDataPadCharacter ¶
func (s *Ibm3624PinFromOffset) SetPinValidationDataPadCharacter(v string) *Ibm3624PinFromOffset
SetPinValidationDataPadCharacter sets the PinValidationDataPadCharacter field's value.
func (Ibm3624PinFromOffset) String ¶
func (s Ibm3624PinFromOffset) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Ibm3624PinFromOffset) Validate ¶
func (s *Ibm3624PinFromOffset) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Ibm3624PinOffset ¶
type Ibm3624PinOffset struct { // The decimalization table to use for IBM 3624 PIN algorithm. The table is // used to convert the algorithm intermediate result from hexadecimal characters // to decimal. // // DecimalizationTable is a required field DecimalizationTable *string `min:"16" type:"string" required:"true"` // The encrypted PIN block data. According to ISO 9564 standard, a PIN Block // is an encoded representation of a payment card Personal Account Number (PAN) // and the cardholder Personal Identification Number (PIN). // // EncryptedPinBlock is a required field EncryptedPinBlock *string `min:"16" type:"string" required:"true"` // The unique data for cardholder identification. // // PinValidationData is a required field PinValidationData *string `min:"4" type:"string" required:"true"` // The padding character for validation data. // // PinValidationDataPadCharacter is a required field PinValidationDataPadCharacter *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Pparameters that are required to generate or verify Ibm3624 PIN offset PIN.
func (Ibm3624PinOffset) GoString ¶
func (s Ibm3624PinOffset) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Ibm3624PinOffset) SetDecimalizationTable ¶
func (s *Ibm3624PinOffset) SetDecimalizationTable(v string) *Ibm3624PinOffset
SetDecimalizationTable sets the DecimalizationTable field's value.
func (*Ibm3624PinOffset) SetEncryptedPinBlock ¶
func (s *Ibm3624PinOffset) SetEncryptedPinBlock(v string) *Ibm3624PinOffset
SetEncryptedPinBlock sets the EncryptedPinBlock field's value.
func (*Ibm3624PinOffset) SetPinValidationData ¶
func (s *Ibm3624PinOffset) SetPinValidationData(v string) *Ibm3624PinOffset
SetPinValidationData sets the PinValidationData field's value.
func (*Ibm3624PinOffset) SetPinValidationDataPadCharacter ¶
func (s *Ibm3624PinOffset) SetPinValidationDataPadCharacter(v string) *Ibm3624PinOffset
SetPinValidationDataPadCharacter sets the PinValidationDataPadCharacter field's value.
func (Ibm3624PinOffset) String ¶
func (s Ibm3624PinOffset) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Ibm3624PinOffset) Validate ¶
func (s *Ibm3624PinOffset) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Ibm3624PinVerification ¶
type Ibm3624PinVerification struct { // The decimalization table to use for IBM 3624 PIN algorithm. The table is // used to convert the algorithm intermediate result from hexadecimal characters // to decimal. // // DecimalizationTable is a required field DecimalizationTable *string `min:"16" type:"string" required:"true"` // The PIN offset value. // // PinOffset is a required field PinOffset *string `min:"4" type:"string" required:"true"` // The unique data for cardholder identification. // // PinValidationData is a required field PinValidationData *string `min:"4" type:"string" required:"true"` // The padding character for validation data. // // PinValidationDataPadCharacter is a required field PinValidationDataPadCharacter *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Parameters that are required to generate or verify Ibm3624 PIN verification PIN.
func (Ibm3624PinVerification) GoString ¶
func (s Ibm3624PinVerification) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Ibm3624PinVerification) SetDecimalizationTable ¶
func (s *Ibm3624PinVerification) SetDecimalizationTable(v string) *Ibm3624PinVerification
SetDecimalizationTable sets the DecimalizationTable field's value.
func (*Ibm3624PinVerification) SetPinOffset ¶
func (s *Ibm3624PinVerification) SetPinOffset(v string) *Ibm3624PinVerification
SetPinOffset sets the PinOffset field's value.
func (*Ibm3624PinVerification) SetPinValidationData ¶
func (s *Ibm3624PinVerification) SetPinValidationData(v string) *Ibm3624PinVerification
SetPinValidationData sets the PinValidationData field's value.
func (*Ibm3624PinVerification) SetPinValidationDataPadCharacter ¶
func (s *Ibm3624PinVerification) SetPinValidationDataPadCharacter(v string) *Ibm3624PinVerification
SetPinValidationDataPadCharacter sets the PinValidationDataPadCharacter field's value.
func (Ibm3624PinVerification) String ¶
func (s Ibm3624PinVerification) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Ibm3624PinVerification) Validate ¶
func (s *Ibm3624PinVerification) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Ibm3624RandomPin ¶
type Ibm3624RandomPin struct { // The decimalization table to use for IBM 3624 PIN algorithm. The table is // used to convert the algorithm intermediate result from hexadecimal characters // to decimal. // // DecimalizationTable is a required field DecimalizationTable *string `min:"16" type:"string" required:"true"` // The unique data for cardholder identification. // // PinValidationData is a required field PinValidationData *string `min:"4" type:"string" required:"true"` // The padding character for validation data. // // PinValidationDataPadCharacter is a required field PinValidationDataPadCharacter *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Parameters that are required to generate or verify Ibm3624 random PIN.
func (Ibm3624RandomPin) GoString ¶
func (s Ibm3624RandomPin) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Ibm3624RandomPin) SetDecimalizationTable ¶
func (s *Ibm3624RandomPin) SetDecimalizationTable(v string) *Ibm3624RandomPin
SetDecimalizationTable sets the DecimalizationTable field's value.
func (*Ibm3624RandomPin) SetPinValidationData ¶
func (s *Ibm3624RandomPin) SetPinValidationData(v string) *Ibm3624RandomPin
SetPinValidationData sets the PinValidationData field's value.
func (*Ibm3624RandomPin) SetPinValidationDataPadCharacter ¶
func (s *Ibm3624RandomPin) SetPinValidationDataPadCharacter(v string) *Ibm3624RandomPin
SetPinValidationDataPadCharacter sets the PinValidationDataPadCharacter field's value.
func (Ibm3624RandomPin) String ¶
func (s Ibm3624RandomPin) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Ibm3624RandomPin) Validate ¶
func (s *Ibm3624RandomPin) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type InternalServerException ¶
type InternalServerException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The request processing has failed because of an unknown error, exception, or failure.
func (*InternalServerException) Code ¶
func (s *InternalServerException) Code() string
Code returns the exception type name.
func (*InternalServerException) Error ¶
func (s *InternalServerException) Error() string
func (InternalServerException) GoString ¶
func (s InternalServerException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InternalServerException) Message ¶
func (s *InternalServerException) Message() string
Message returns the exception's message.
func (*InternalServerException) OrigErr ¶
func (s *InternalServerException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InternalServerException) RequestID ¶
func (s *InternalServerException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InternalServerException) StatusCode ¶
func (s *InternalServerException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InternalServerException) String ¶
func (s InternalServerException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type MacAlgorithmDukpt ¶
type MacAlgorithmDukpt struct { // The key type derived using DUKPT from a Base Derivation Key (BDK) and Key // Serial Number (KSN). This must be less than or equal to the strength of the // BDK. For example, you can't use AES_128 as a derivation type for a BDK of // AES_128 or TDES_2KEY. DukptDerivationType *string `type:"string" enum:"DukptDerivationType"` // The type of use of DUKPT, which can be MAC generation, MAC verification, // or both. // // DukptKeyVariant is a required field DukptKeyVariant *string `type:"string" required:"true" enum:"DukptKeyVariant"` // The unique identifier known as Key Serial Number (KSN) that comes from an // encrypting device using DUKPT encryption method. The KSN is derived from // the encrypting device unique identifier and an internal transaction counter. // // KeySerialNumber is a required field KeySerialNumber *string `min:"10" type:"string" required:"true"` // contains filtered or unexported fields }
Parameters required for DUKPT MAC generation and verification.
func (MacAlgorithmDukpt) GoString ¶
func (s MacAlgorithmDukpt) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*MacAlgorithmDukpt) SetDukptDerivationType ¶
func (s *MacAlgorithmDukpt) SetDukptDerivationType(v string) *MacAlgorithmDukpt
SetDukptDerivationType sets the DukptDerivationType field's value.
func (*MacAlgorithmDukpt) SetDukptKeyVariant ¶
func (s *MacAlgorithmDukpt) SetDukptKeyVariant(v string) *MacAlgorithmDukpt
SetDukptKeyVariant sets the DukptKeyVariant field's value.
func (*MacAlgorithmDukpt) SetKeySerialNumber ¶
func (s *MacAlgorithmDukpt) SetKeySerialNumber(v string) *MacAlgorithmDukpt
SetKeySerialNumber sets the KeySerialNumber field's value.
func (MacAlgorithmDukpt) String ¶
func (s MacAlgorithmDukpt) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*MacAlgorithmDukpt) Validate ¶
func (s *MacAlgorithmDukpt) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type MacAlgorithmEmv ¶
type MacAlgorithmEmv struct { // The method to use when deriving the master key for EMV MAC generation or // verification. // // MajorKeyDerivationMode is a required field MajorKeyDerivationMode *string `type:"string" required:"true" enum:"MajorKeyDerivationMode"` // A number that identifies and differentiates payment cards with the same Primary // Account Number (PAN). // // PanSequenceNumber is a required field PanSequenceNumber *string `min:"2" type:"string" required:"true"` // The Primary Account Number (PAN), a unique identifier for a payment credit // or debit card and associates the card to a specific account holder. // // PrimaryAccountNumber is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by MacAlgorithmEmv's // String and GoString methods. // // PrimaryAccountNumber is a required field PrimaryAccountNumber *string `min:"12" type:"string" required:"true" sensitive:"true"` // The method of deriving a session key for EMV MAC generation or verification. // // SessionKeyDerivationMode is a required field SessionKeyDerivationMode *string `type:"string" required:"true" enum:"SessionKeyDerivationMode"` // Parameters that are required to generate session key for EMV generation and // verification. // // SessionKeyDerivationValue is a required field SessionKeyDerivationValue *SessionKeyDerivationValue `type:"structure" required:"true"` // contains filtered or unexported fields }
Parameters that are required for EMV MAC generation and verification.
func (MacAlgorithmEmv) GoString ¶
func (s MacAlgorithmEmv) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*MacAlgorithmEmv) SetMajorKeyDerivationMode ¶
func (s *MacAlgorithmEmv) SetMajorKeyDerivationMode(v string) *MacAlgorithmEmv
SetMajorKeyDerivationMode sets the MajorKeyDerivationMode field's value.
func (*MacAlgorithmEmv) SetPanSequenceNumber ¶
func (s *MacAlgorithmEmv) SetPanSequenceNumber(v string) *MacAlgorithmEmv
SetPanSequenceNumber sets the PanSequenceNumber field's value.
func (*MacAlgorithmEmv) SetPrimaryAccountNumber ¶
func (s *MacAlgorithmEmv) SetPrimaryAccountNumber(v string) *MacAlgorithmEmv
SetPrimaryAccountNumber sets the PrimaryAccountNumber field's value.
func (*MacAlgorithmEmv) SetSessionKeyDerivationMode ¶
func (s *MacAlgorithmEmv) SetSessionKeyDerivationMode(v string) *MacAlgorithmEmv
SetSessionKeyDerivationMode sets the SessionKeyDerivationMode field's value.
func (*MacAlgorithmEmv) SetSessionKeyDerivationValue ¶
func (s *MacAlgorithmEmv) SetSessionKeyDerivationValue(v *SessionKeyDerivationValue) *MacAlgorithmEmv
SetSessionKeyDerivationValue sets the SessionKeyDerivationValue field's value.
func (MacAlgorithmEmv) String ¶
func (s MacAlgorithmEmv) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*MacAlgorithmEmv) Validate ¶
func (s *MacAlgorithmEmv) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type MacAttributes ¶
type MacAttributes struct { // The encryption algorithm for MAC generation or verification. Algorithm *string `type:"string" enum:"MacAlgorithm"` // Parameters that are required for MAC generation or verification using DUKPT // CMAC algorithm. DukptCmac *MacAlgorithmDukpt `type:"structure"` // Parameters that are required for MAC generation or verification using DUKPT // ISO 9797 algorithm1. DukptIso9797Algorithm1 *MacAlgorithmDukpt `type:"structure"` // Parameters that are required for MAC generation or verification using DUKPT // ISO 9797 algorithm3. DukptIso9797Algorithm3 *MacAlgorithmDukpt `type:"structure"` // Parameters that are required for MAC generation or verification using EMV // MAC algorithm. EmvMac *MacAlgorithmEmv `type:"structure"` // contains filtered or unexported fields }
Parameters that are required for DUKPT, HMAC, or EMV MAC generation or verification.
func (MacAttributes) GoString ¶
func (s MacAttributes) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*MacAttributes) SetAlgorithm ¶
func (s *MacAttributes) SetAlgorithm(v string) *MacAttributes
SetAlgorithm sets the Algorithm field's value.
func (*MacAttributes) SetDukptCmac ¶
func (s *MacAttributes) SetDukptCmac(v *MacAlgorithmDukpt) *MacAttributes
SetDukptCmac sets the DukptCmac field's value.
func (*MacAttributes) SetDukptIso9797Algorithm1 ¶
func (s *MacAttributes) SetDukptIso9797Algorithm1(v *MacAlgorithmDukpt) *MacAttributes
SetDukptIso9797Algorithm1 sets the DukptIso9797Algorithm1 field's value.
func (*MacAttributes) SetDukptIso9797Algorithm3 ¶
func (s *MacAttributes) SetDukptIso9797Algorithm3(v *MacAlgorithmDukpt) *MacAttributes
SetDukptIso9797Algorithm3 sets the DukptIso9797Algorithm3 field's value.
func (*MacAttributes) SetEmvMac ¶
func (s *MacAttributes) SetEmvMac(v *MacAlgorithmEmv) *MacAttributes
SetEmvMac sets the EmvMac field's value.
func (MacAttributes) String ¶
func (s MacAttributes) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*MacAttributes) Validate ¶
func (s *MacAttributes) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PaymentCryptographyData ¶
PaymentCryptographyData provides the API operation methods for making requests to Payment Cryptography Data Plane. See this package's package overview docs for details on the service.
PaymentCryptographyData methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *PaymentCryptographyData
New creates a new instance of the PaymentCryptographyData client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
mySession := session.Must(session.NewSession()) // Create a PaymentCryptographyData client from just a session. svc := paymentcryptographydata.New(mySession) // Create a PaymentCryptographyData client with additional configuration svc := paymentcryptographydata.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*PaymentCryptographyData) DecryptData ¶
func (c *PaymentCryptographyData) DecryptData(input *DecryptDataInput) (*DecryptDataOutput, error)
DecryptData API operation for Payment Cryptography Data Plane.
Decrypts ciphertext data to plaintext using a symmetric (TDES, AES), asymmetric (RSA), or derived (DUKPT or EMV) encryption key scheme. For more information, see Decrypt data (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/decrypt-data.html) in the Amazon Web Services Payment Cryptography User Guide.
You can use an encryption key generated within Amazon Web Services Payment Cryptography, or you can import your own encryption key by calling ImportKey (https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ImportKey.html). For this operation, the key must have KeyModesOfUse set to Decrypt. In asymmetric decryption, Amazon Web Services Payment Cryptography decrypts the ciphertext using the private component of the asymmetric encryption key pair. For data encryption outside of Amazon Web Services Payment Cryptography, you can export the public component of the asymmetric key pair by calling GetPublicCertificate (https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetPublicKeyCertificate.html).
For symmetric and DUKPT decryption, Amazon Web Services Payment Cryptography supports TDES and AES algorithms. For EMV decryption, Amazon Web Services Payment Cryptography supports TDES algorithms. For asymmetric decryption, Amazon Web Services Payment Cryptography supports RSA.
When you use TDES or TDES DUKPT, the ciphertext data length must be a multiple of 8 bytes. For AES or AES DUKPT, the ciphertext data length must be a multiple of 16 bytes. For RSA, it sould be equal to the key size unless padding is enabled.
For information about valid keys for this operation, see Understanding key attributes (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-validattributes.html) and Key types for specific data operations (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/crypto-ops-validkeys-ops.html) in the Amazon Web Services Payment Cryptography User Guide.
Cross-account use: This operation can't be used across different Amazon Web Services accounts.
Related operations:
EncryptData
GetPublicCertificate (https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetPublicKeyCertificate.html)
ImportKey (https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ImportKey.html)
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Payment Cryptography Data Plane's API operation DecryptData for usage and error information.
Returned Error Types:
ValidationException The request was denied due to an invalid request error.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The request was denied due to an invalid resource error.
ThrottlingException The request was denied due to request throttling.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-data-2022-02-03/DecryptData
func (*PaymentCryptographyData) DecryptDataRequest ¶
func (c *PaymentCryptographyData) DecryptDataRequest(input *DecryptDataInput) (req *request.Request, output *DecryptDataOutput)
DecryptDataRequest generates a "aws/request.Request" representing the client's request for the DecryptData operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DecryptData for more information on using the DecryptData API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DecryptDataRequest method. req, resp := client.DecryptDataRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-data-2022-02-03/DecryptData
func (*PaymentCryptographyData) DecryptDataWithContext ¶
func (c *PaymentCryptographyData) DecryptDataWithContext(ctx aws.Context, input *DecryptDataInput, opts ...request.Option) (*DecryptDataOutput, error)
DecryptDataWithContext is the same as DecryptData with the addition of the ability to pass a context and additional request options.
See DecryptData for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*PaymentCryptographyData) EncryptData ¶
func (c *PaymentCryptographyData) EncryptData(input *EncryptDataInput) (*EncryptDataOutput, error)
EncryptData API operation for Payment Cryptography Data Plane.
Encrypts plaintext data to ciphertext using a symmetric (TDES, AES), asymmetric (RSA), or derived (DUKPT or EMV) encryption key scheme. For more information, see Encrypt data (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/encrypt-data.html) in the Amazon Web Services Payment Cryptography User Guide.
You can generate an encryption key within Amazon Web Services Payment Cryptography by calling CreateKey (https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_CreateKey.html). You can import your own encryption key by calling ImportKey (https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ImportKey.html). For this operation, the key must have KeyModesOfUse set to Encrypt. In asymmetric encryption, plaintext is encrypted using public component. You can import the public component of an asymmetric key pair created outside Amazon Web Services Payment Cryptography by calling ImportKey (https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ImportKey.html).
For symmetric and DUKPT encryption, Amazon Web Services Payment Cryptography supports TDES and AES algorithms. For EMV encryption, Amazon Web Services Payment Cryptography supports TDES algorithms.For asymmetric encryption, Amazon Web Services Payment Cryptography supports RSA.
When you use TDES or TDES DUKPT, the plaintext data length must be a multiple of 8 bytes. For AES or AES DUKPT, the plaintext data length must be a multiple of 16 bytes. For RSA, it sould be equal to the key size unless padding is enabled.
To encrypt using DUKPT, you must already have a BDK (Base Derivation Key) key in your account with KeyModesOfUse set to DeriveKey, or you can generate a new DUKPT key by calling CreateKey (https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_CreateKey.html). To encrypt using EMV, you must already have an IMK (Issuer Master Key) key in your account with KeyModesOfUse set to DeriveKey.
For information about valid keys for this operation, see Understanding key attributes (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-validattributes.html) and Key types for specific data operations (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/crypto-ops-validkeys-ops.html) in the Amazon Web Services Payment Cryptography User Guide.
Cross-account use: This operation can't be used across different Amazon Web Services accounts.
Related operations:
DecryptData
GetPublicCertificate (https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetPublicKeyCertificate.html)
ImportKey (https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ImportKey.html)
ReEncryptData
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Payment Cryptography Data Plane's API operation EncryptData for usage and error information.
Returned Error Types:
ValidationException The request was denied due to an invalid request error.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The request was denied due to an invalid resource error.
ThrottlingException The request was denied due to request throttling.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-data-2022-02-03/EncryptData
func (*PaymentCryptographyData) EncryptDataRequest ¶
func (c *PaymentCryptographyData) EncryptDataRequest(input *EncryptDataInput) (req *request.Request, output *EncryptDataOutput)
EncryptDataRequest generates a "aws/request.Request" representing the client's request for the EncryptData operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See EncryptData for more information on using the EncryptData API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the EncryptDataRequest method. req, resp := client.EncryptDataRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-data-2022-02-03/EncryptData
func (*PaymentCryptographyData) EncryptDataWithContext ¶
func (c *PaymentCryptographyData) EncryptDataWithContext(ctx aws.Context, input *EncryptDataInput, opts ...request.Option) (*EncryptDataOutput, error)
EncryptDataWithContext is the same as EncryptData with the addition of the ability to pass a context and additional request options.
See EncryptData for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*PaymentCryptographyData) GenerateCardValidationData ¶
func (c *PaymentCryptographyData) GenerateCardValidationData(input *GenerateCardValidationDataInput) (*GenerateCardValidationDataOutput, error)
GenerateCardValidationData API operation for Payment Cryptography Data Plane.
Generates card-related validation data using algorithms such as Card Verification Values (CVV/CVV2), Dynamic Card Verification Values (dCVV/dCVV2), or Card Security Codes (CSC). For more information, see Generate card data (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/generate-card-data.html) in the Amazon Web Services Payment Cryptography User Guide.
This operation generates a CVV or CSC value that is printed on a payment credit or debit card during card production. The CVV or CSC, PAN (Primary Account Number) and expiration date of the card are required to check its validity during transaction processing. To begin this operation, a CVK (Card Verification Key) encryption key is required. You can use CreateKey (https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_CreateKey.html) or ImportKey (https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ImportKey.html) to establish a CVK within Amazon Web Services Payment Cryptography. The KeyModesOfUse should be set to Generate and Verify for a CVK encryption key.
For information about valid keys for this operation, see Understanding key attributes (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-validattributes.html) and Key types for specific data operations (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/crypto-ops-validkeys-ops.html) in the Amazon Web Services Payment Cryptography User Guide.
Cross-account use: This operation can't be used across different Amazon Web Services accounts.
Related operations:
ImportKey (https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ImportKey.html)
VerifyCardValidationData
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Payment Cryptography Data Plane's API operation GenerateCardValidationData for usage and error information.
Returned Error Types:
ValidationException The request was denied due to an invalid request error.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The request was denied due to an invalid resource error.
ThrottlingException The request was denied due to request throttling.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
func (*PaymentCryptographyData) GenerateCardValidationDataRequest ¶
func (c *PaymentCryptographyData) GenerateCardValidationDataRequest(input *GenerateCardValidationDataInput) (req *request.Request, output *GenerateCardValidationDataOutput)
GenerateCardValidationDataRequest generates a "aws/request.Request" representing the client's request for the GenerateCardValidationData operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GenerateCardValidationData for more information on using the GenerateCardValidationData API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GenerateCardValidationDataRequest method. req, resp := client.GenerateCardValidationDataRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*PaymentCryptographyData) GenerateCardValidationDataWithContext ¶
func (c *PaymentCryptographyData) GenerateCardValidationDataWithContext(ctx aws.Context, input *GenerateCardValidationDataInput, opts ...request.Option) (*GenerateCardValidationDataOutput, error)
GenerateCardValidationDataWithContext is the same as GenerateCardValidationData with the addition of the ability to pass a context and additional request options.
See GenerateCardValidationData for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*PaymentCryptographyData) GenerateMac ¶
func (c *PaymentCryptographyData) GenerateMac(input *GenerateMacInput) (*GenerateMacOutput, error)
GenerateMac API operation for Payment Cryptography Data Plane.
Generates a Message Authentication Code (MAC) cryptogram within Amazon Web Services Payment Cryptography.
You can use this operation to authenticate card-related data by using known data values to generate MAC for data validation between the sending and receiving parties. This operation uses message data, a secret encryption key and MAC algorithm to generate a unique MAC value for transmission. The receiving party of the MAC must use the same message data, secret encryption key and MAC algorithm to reproduce another MAC value for comparision.
You can use this operation to generate a DUPKT, CMAC, HMAC or EMV MAC by setting generation attributes and algorithm to the associated values. The MAC generation encryption key must have valid values for KeyUsage such as TR31_M7_HMAC_KEY for HMAC generation, and they key must have KeyModesOfUse set to Generate and Verify.
For information about valid keys for this operation, see Understanding key attributes (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-validattributes.html) and Key types for specific data operations (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/crypto-ops-validkeys-ops.html) in the Amazon Web Services Payment Cryptography User Guide.
Cross-account use: This operation can't be used across different Amazon Web Services accounts.
Related operations:
- VerifyMac
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Payment Cryptography Data Plane's API operation GenerateMac for usage and error information.
Returned Error Types:
ValidationException The request was denied due to an invalid request error.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The request was denied due to an invalid resource error.
ThrottlingException The request was denied due to request throttling.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-data-2022-02-03/GenerateMac
func (*PaymentCryptographyData) GenerateMacRequest ¶
func (c *PaymentCryptographyData) GenerateMacRequest(input *GenerateMacInput) (req *request.Request, output *GenerateMacOutput)
GenerateMacRequest generates a "aws/request.Request" representing the client's request for the GenerateMac operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GenerateMac for more information on using the GenerateMac API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GenerateMacRequest method. req, resp := client.GenerateMacRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-data-2022-02-03/GenerateMac
func (*PaymentCryptographyData) GenerateMacWithContext ¶
func (c *PaymentCryptographyData) GenerateMacWithContext(ctx aws.Context, input *GenerateMacInput, opts ...request.Option) (*GenerateMacOutput, error)
GenerateMacWithContext is the same as GenerateMac with the addition of the ability to pass a context and additional request options.
See GenerateMac for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*PaymentCryptographyData) GeneratePinData ¶
func (c *PaymentCryptographyData) GeneratePinData(input *GeneratePinDataInput) (*GeneratePinDataOutput, error)
GeneratePinData API operation for Payment Cryptography Data Plane.
Generates pin-related data such as PIN, PIN Verification Value (PVV), PIN Block, and PIN Offset during new card issuance or reissuance. For more information, see Generate PIN data (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/generate-pin-data.html) in the Amazon Web Services Payment Cryptography User Guide.
PIN data is never transmitted in clear to or from Amazon Web Services Payment Cryptography. This operation generates PIN, PVV, or PIN Offset and then encrypts it using Pin Encryption Key (PEK) to create an EncryptedPinBlock for transmission from Amazon Web Services Payment Cryptography. This operation uses a separate Pin Verification Key (PVK) for VISA PVV generation.
For information about valid keys for this operation, see Understanding key attributes (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-validattributes.html) and Key types for specific data operations (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/crypto-ops-validkeys-ops.html) in the Amazon Web Services Payment Cryptography User Guide.
Cross-account use: This operation can't be used across different Amazon Web Services accounts.
Related operations:
GenerateCardValidationData
TranslatePinData
VerifyPinData
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Payment Cryptography Data Plane's API operation GeneratePinData for usage and error information.
Returned Error Types:
ValidationException The request was denied due to an invalid request error.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The request was denied due to an invalid resource error.
ThrottlingException The request was denied due to request throttling.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-data-2022-02-03/GeneratePinData
func (*PaymentCryptographyData) GeneratePinDataRequest ¶
func (c *PaymentCryptographyData) GeneratePinDataRequest(input *GeneratePinDataInput) (req *request.Request, output *GeneratePinDataOutput)
GeneratePinDataRequest generates a "aws/request.Request" representing the client's request for the GeneratePinData operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GeneratePinData for more information on using the GeneratePinData API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GeneratePinDataRequest method. req, resp := client.GeneratePinDataRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-data-2022-02-03/GeneratePinData
func (*PaymentCryptographyData) GeneratePinDataWithContext ¶
func (c *PaymentCryptographyData) GeneratePinDataWithContext(ctx aws.Context, input *GeneratePinDataInput, opts ...request.Option) (*GeneratePinDataOutput, error)
GeneratePinDataWithContext is the same as GeneratePinData with the addition of the ability to pass a context and additional request options.
See GeneratePinData for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*PaymentCryptographyData) ReEncryptData ¶
func (c *PaymentCryptographyData) ReEncryptData(input *ReEncryptDataInput) (*ReEncryptDataOutput, error)
ReEncryptData API operation for Payment Cryptography Data Plane.
Re-encrypt ciphertext using DUKPT, Symmetric and Asymmetric Data Encryption Keys.
You can either generate an encryption key within Amazon Web Services Payment Cryptography by calling CreateKey (https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_CreateKey.html) or import your own encryption key by calling ImportKey (https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ImportKey.html). The KeyArn for use with this operation must be in a compatible key state with KeyModesOfUse set to Encrypt. In asymmetric encryption, ciphertext is encrypted using public component (imported by calling ImportKey (https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ImportKey.html)) of the asymmetric key pair created outside of Amazon Web Services Payment Cryptography.
For symmetric and DUKPT encryption, Amazon Web Services Payment Cryptography supports TDES and AES algorithms. For asymmetric encryption, Amazon Web Services Payment Cryptography supports RSA. To encrypt using DUKPT, a DUKPT key must already exist within your account with KeyModesOfUse set to DeriveKey or a new DUKPT can be generated by calling CreateKey (https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_CreateKey.html).
For information about valid keys for this operation, see Understanding key attributes (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-validattributes.html) and Key types for specific data operations (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/crypto-ops-validkeys-ops.html) in the Amazon Web Services Payment Cryptography User Guide.
Cross-account use: This operation can't be used across different Amazon Web Services accounts.
Related operations:
DecryptData
EncryptData
GetPublicCertificate (https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetPublicKeyCertificate.html)
ImportKey (https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ImportKey.html)
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Payment Cryptography Data Plane's API operation ReEncryptData for usage and error information.
Returned Error Types:
ValidationException The request was denied due to an invalid request error.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The request was denied due to an invalid resource error.
ThrottlingException The request was denied due to request throttling.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-data-2022-02-03/ReEncryptData
func (*PaymentCryptographyData) ReEncryptDataRequest ¶
func (c *PaymentCryptographyData) ReEncryptDataRequest(input *ReEncryptDataInput) (req *request.Request, output *ReEncryptDataOutput)
ReEncryptDataRequest generates a "aws/request.Request" representing the client's request for the ReEncryptData operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ReEncryptData for more information on using the ReEncryptData API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ReEncryptDataRequest method. req, resp := client.ReEncryptDataRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-data-2022-02-03/ReEncryptData
func (*PaymentCryptographyData) ReEncryptDataWithContext ¶
func (c *PaymentCryptographyData) ReEncryptDataWithContext(ctx aws.Context, input *ReEncryptDataInput, opts ...request.Option) (*ReEncryptDataOutput, error)
ReEncryptDataWithContext is the same as ReEncryptData with the addition of the ability to pass a context and additional request options.
See ReEncryptData for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*PaymentCryptographyData) TranslatePinData ¶
func (c *PaymentCryptographyData) TranslatePinData(input *TranslatePinDataInput) (*TranslatePinDataOutput, error)
TranslatePinData API operation for Payment Cryptography Data Plane.
Translates encrypted PIN block from and to ISO 9564 formats 0,1,3,4. For more information, see Translate PIN data (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/translate-pin-data.html) in the Amazon Web Services Payment Cryptography User Guide.
PIN block translation involves changing the encrytion of PIN block from one encryption key to another encryption key and changing PIN block format from one to another without PIN block data leaving Amazon Web Services Payment Cryptography. The encryption key transformation can be from PEK (Pin Encryption Key) to BDK (Base Derivation Key) for DUKPT or from BDK for DUKPT to PEK. Amazon Web Services Payment Cryptography supports TDES and AES key derivation type for DUKPT translations.
The allowed combinations of PIN block format translations are guided by PCI. It is important to note that not all encrypted PIN block formats (example, format 1) require PAN (Primary Account Number) as input. And as such, PIN block format that requires PAN (example, formats 0,3,4) cannot be translated to a format (format 1) that does not require a PAN for generation.
For information about valid keys for this operation, see Understanding key attributes (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-validattributes.html) and Key types for specific data operations (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/crypto-ops-validkeys-ops.html) in the Amazon Web Services Payment Cryptography User Guide.
Amazon Web Services Payment Cryptography currently supports ISO PIN block 4 translation for PIN block built using legacy PAN length. That is, PAN is the right most 12 digits excluding the check digits.
Cross-account use: This operation can't be used across different Amazon Web Services accounts.
Related operations:
GeneratePinData
VerifyPinData
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Payment Cryptography Data Plane's API operation TranslatePinData for usage and error information.
Returned Error Types:
ValidationException The request was denied due to an invalid request error.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The request was denied due to an invalid resource error.
ThrottlingException The request was denied due to request throttling.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-data-2022-02-03/TranslatePinData
func (*PaymentCryptographyData) TranslatePinDataRequest ¶
func (c *PaymentCryptographyData) TranslatePinDataRequest(input *TranslatePinDataInput) (req *request.Request, output *TranslatePinDataOutput)
TranslatePinDataRequest generates a "aws/request.Request" representing the client's request for the TranslatePinData operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TranslatePinData for more information on using the TranslatePinData API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TranslatePinDataRequest method. req, resp := client.TranslatePinDataRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-data-2022-02-03/TranslatePinData
func (*PaymentCryptographyData) TranslatePinDataWithContext ¶
func (c *PaymentCryptographyData) TranslatePinDataWithContext(ctx aws.Context, input *TranslatePinDataInput, opts ...request.Option) (*TranslatePinDataOutput, error)
TranslatePinDataWithContext is the same as TranslatePinData with the addition of the ability to pass a context and additional request options.
See TranslatePinData for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*PaymentCryptographyData) VerifyAuthRequestCryptogram ¶
func (c *PaymentCryptographyData) VerifyAuthRequestCryptogram(input *VerifyAuthRequestCryptogramInput) (*VerifyAuthRequestCryptogramOutput, error)
VerifyAuthRequestCryptogram API operation for Payment Cryptography Data Plane.
Verifies Authorization Request Cryptogram (ARQC) for a EMV chip payment card authorization. For more information, see Verify auth request cryptogram (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/data-operations.verifyauthrequestcryptogram.html) in the Amazon Web Services Payment Cryptography User Guide.
ARQC generation is done outside of Amazon Web Services Payment Cryptography and is typically generated on a point of sale terminal for an EMV chip card to obtain payment authorization during transaction time. For ARQC verification, you must first import the ARQC generated outside of Amazon Web Services Payment Cryptography by calling ImportKey (https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ImportKey.html). This operation uses the imported ARQC and an major encryption key (DUKPT) created by calling CreateKey (https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_CreateKey.html) to either provide a boolean ARQC verification result or provide an APRC (Authorization Response Cryptogram) response using Method 1 or Method 2. The ARPC_METHOD_1 uses AuthResponseCode to generate ARPC and ARPC_METHOD_2 uses CardStatusUpdate to generate ARPC.
For information about valid keys for this operation, see Understanding key attributes (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-validattributes.html) and Key types for specific data operations (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/crypto-ops-validkeys-ops.html) in the Amazon Web Services Payment Cryptography User Guide.
Cross-account use: This operation can't be used across different Amazon Web Services accounts.
Related operations:
VerifyCardValidationData
VerifyPinData
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Payment Cryptography Data Plane's API operation VerifyAuthRequestCryptogram for usage and error information.
Returned Error Types:
ValidationException The request was denied due to an invalid request error.
VerificationFailedException This request failed verification.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The request was denied due to an invalid resource error.
ThrottlingException The request was denied due to request throttling.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
func (*PaymentCryptographyData) VerifyAuthRequestCryptogramRequest ¶
func (c *PaymentCryptographyData) VerifyAuthRequestCryptogramRequest(input *VerifyAuthRequestCryptogramInput) (req *request.Request, output *VerifyAuthRequestCryptogramOutput)
VerifyAuthRequestCryptogramRequest generates a "aws/request.Request" representing the client's request for the VerifyAuthRequestCryptogram operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See VerifyAuthRequestCryptogram for more information on using the VerifyAuthRequestCryptogram API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the VerifyAuthRequestCryptogramRequest method. req, resp := client.VerifyAuthRequestCryptogramRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*PaymentCryptographyData) VerifyAuthRequestCryptogramWithContext ¶
func (c *PaymentCryptographyData) VerifyAuthRequestCryptogramWithContext(ctx aws.Context, input *VerifyAuthRequestCryptogramInput, opts ...request.Option) (*VerifyAuthRequestCryptogramOutput, error)
VerifyAuthRequestCryptogramWithContext is the same as VerifyAuthRequestCryptogram with the addition of the ability to pass a context and additional request options.
See VerifyAuthRequestCryptogram for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*PaymentCryptographyData) VerifyCardValidationData ¶
func (c *PaymentCryptographyData) VerifyCardValidationData(input *VerifyCardValidationDataInput) (*VerifyCardValidationDataOutput, error)
VerifyCardValidationData API operation for Payment Cryptography Data Plane.
Verifies card-related validation data using algorithms such as Card Verification Values (CVV/CVV2), Dynamic Card Verification Values (dCVV/dCVV2) and Card Security Codes (CSC). For more information, see Verify card data (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/verify-card-data.html) in the Amazon Web Services Payment Cryptography User Guide.
This operation validates the CVV or CSC codes that is printed on a payment credit or debit card during card payment transaction. The input values are typically provided as part of an inbound transaction to an issuer or supporting platform partner. Amazon Web Services Payment Cryptography uses CVV or CSC, PAN (Primary Account Number) and expiration date of the card to check its validity during transaction processing. In this operation, the CVK (Card Verification Key) encryption key for use with card data verification is same as the one in used for GenerateCardValidationData.
For information about valid keys for this operation, see Understanding key attributes (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-validattributes.html) and Key types for specific data operations (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/crypto-ops-validkeys-ops.html) in the Amazon Web Services Payment Cryptography User Guide.
Cross-account use: This operation can't be used across different Amazon Web Services accounts.
Related operations:
GenerateCardValidationData
VerifyAuthRequestCryptogram
VerifyPinData
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Payment Cryptography Data Plane's API operation VerifyCardValidationData for usage and error information.
Returned Error Types:
ValidationException The request was denied due to an invalid request error.
VerificationFailedException This request failed verification.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The request was denied due to an invalid resource error.
ThrottlingException The request was denied due to request throttling.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
func (*PaymentCryptographyData) VerifyCardValidationDataRequest ¶
func (c *PaymentCryptographyData) VerifyCardValidationDataRequest(input *VerifyCardValidationDataInput) (req *request.Request, output *VerifyCardValidationDataOutput)
VerifyCardValidationDataRequest generates a "aws/request.Request" representing the client's request for the VerifyCardValidationData operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See VerifyCardValidationData for more information on using the VerifyCardValidationData API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the VerifyCardValidationDataRequest method. req, resp := client.VerifyCardValidationDataRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*PaymentCryptographyData) VerifyCardValidationDataWithContext ¶
func (c *PaymentCryptographyData) VerifyCardValidationDataWithContext(ctx aws.Context, input *VerifyCardValidationDataInput, opts ...request.Option) (*VerifyCardValidationDataOutput, error)
VerifyCardValidationDataWithContext is the same as VerifyCardValidationData with the addition of the ability to pass a context and additional request options.
See VerifyCardValidationData for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*PaymentCryptographyData) VerifyMac ¶
func (c *PaymentCryptographyData) VerifyMac(input *VerifyMacInput) (*VerifyMacOutput, error)
VerifyMac API operation for Payment Cryptography Data Plane.
Verifies a Message Authentication Code (MAC).
You can use this operation to verify MAC for message data authentication such as . In this operation, you must use the same message data, secret encryption key and MAC algorithm that was used to generate MAC. You can use this operation to verify a DUPKT, CMAC, HMAC or EMV MAC by setting generation attributes and algorithm to the associated values.
For information about valid keys for this operation, see Understanding key attributes (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-validattributes.html) and Key types for specific data operations (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/crypto-ops-validkeys-ops.html) in the Amazon Web Services Payment Cryptography User Guide.
Cross-account use: This operation can't be used across different Amazon Web Services accounts.
Related operations:
- GenerateMac
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Payment Cryptography Data Plane's API operation VerifyMac for usage and error information.
Returned Error Types:
ValidationException The request was denied due to an invalid request error.
VerificationFailedException This request failed verification.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The request was denied due to an invalid resource error.
ThrottlingException The request was denied due to request throttling.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-data-2022-02-03/VerifyMac
func (*PaymentCryptographyData) VerifyMacRequest ¶
func (c *PaymentCryptographyData) VerifyMacRequest(input *VerifyMacInput) (req *request.Request, output *VerifyMacOutput)
VerifyMacRequest generates a "aws/request.Request" representing the client's request for the VerifyMac operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See VerifyMac for more information on using the VerifyMac API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the VerifyMacRequest method. req, resp := client.VerifyMacRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-data-2022-02-03/VerifyMac
func (*PaymentCryptographyData) VerifyMacWithContext ¶
func (c *PaymentCryptographyData) VerifyMacWithContext(ctx aws.Context, input *VerifyMacInput, opts ...request.Option) (*VerifyMacOutput, error)
VerifyMacWithContext is the same as VerifyMac with the addition of the ability to pass a context and additional request options.
See VerifyMac for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*PaymentCryptographyData) VerifyPinData ¶
func (c *PaymentCryptographyData) VerifyPinData(input *VerifyPinDataInput) (*VerifyPinDataOutput, error)
VerifyPinData API operation for Payment Cryptography Data Plane.
Verifies pin-related data such as PIN and PIN Offset using algorithms including VISA PVV and IBM3624. For more information, see Verify PIN data (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/verify-pin-data.html) in the Amazon Web Services Payment Cryptography User Guide.
This operation verifies PIN data for user payment card. A card holder PIN data is never transmitted in clear to or from Amazon Web Services Payment Cryptography. This operation uses PIN Verification Key (PVK) for PIN or PIN Offset generation and then encrypts it using PIN Encryption Key (PEK) to create an EncryptedPinBlock for transmission from Amazon Web Services Payment Cryptography.
For information about valid keys for this operation, see Understanding key attributes (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-validattributes.html) and Key types for specific data operations (https://docs.aws.amazon.com/payment-cryptography/latest/userguide/crypto-ops-validkeys-ops.html) in the Amazon Web Services Payment Cryptography User Guide.
Cross-account use: This operation can't be used across different Amazon Web Services accounts.
Related operations:
GeneratePinData
TranslatePinData
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Payment Cryptography Data Plane's API operation VerifyPinData for usage and error information.
Returned Error Types:
ValidationException The request was denied due to an invalid request error.
VerificationFailedException This request failed verification.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The request was denied due to an invalid resource error.
ThrottlingException The request was denied due to request throttling.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-data-2022-02-03/VerifyPinData
func (*PaymentCryptographyData) VerifyPinDataRequest ¶
func (c *PaymentCryptographyData) VerifyPinDataRequest(input *VerifyPinDataInput) (req *request.Request, output *VerifyPinDataOutput)
VerifyPinDataRequest generates a "aws/request.Request" representing the client's request for the VerifyPinData operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See VerifyPinData for more information on using the VerifyPinData API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the VerifyPinDataRequest method. req, resp := client.VerifyPinDataRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-data-2022-02-03/VerifyPinData
func (*PaymentCryptographyData) VerifyPinDataWithContext ¶
func (c *PaymentCryptographyData) VerifyPinDataWithContext(ctx aws.Context, input *VerifyPinDataInput, opts ...request.Option) (*VerifyPinDataOutput, error)
VerifyPinDataWithContext is the same as VerifyPinData with the addition of the ability to pass a context and additional request options.
See VerifyPinData for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type PinData ¶
type PinData struct { // The PIN offset value. PinOffset *string `min:"4" type:"string"` // The unique data to identify a cardholder. In most cases, this is the same // as cardholder's Primary Account Number (PAN). If a value is not provided, // it defaults to PAN. VerificationValue *string `min:"4" type:"string"` // contains filtered or unexported fields }
Parameters that are required to generate, translate, or verify PIN data.
func (PinData) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PinData) SetPinOffset ¶
SetPinOffset sets the PinOffset field's value.
func (*PinData) SetVerificationValue ¶
SetVerificationValue sets the VerificationValue field's value.
type PinGenerationAttributes ¶
type PinGenerationAttributes struct { // Parameters that are required to generate or verify Ibm3624 natural PIN. Ibm3624NaturalPin *Ibm3624NaturalPin `type:"structure"` // Parameters that are required to generate or verify Ibm3624 PIN from offset // PIN. Ibm3624PinFromOffset *Ibm3624PinFromOffset `type:"structure"` // Parameters that are required to generate or verify Ibm3624 PIN offset PIN. Ibm3624PinOffset *Ibm3624PinOffset `type:"structure"` // Parameters that are required to generate or verify Ibm3624 random PIN. Ibm3624RandomPin *Ibm3624RandomPin `type:"structure"` // Parameters that are required to generate or verify Visa PIN. VisaPin *VisaPin `type:"structure"` // Parameters that are required to generate or verify Visa PIN Verification // Value (PVV). VisaPinVerificationValue *VisaPinVerificationValue `type:"structure"` // contains filtered or unexported fields }
Parameters that are required for PIN data generation.
func (PinGenerationAttributes) GoString ¶
func (s PinGenerationAttributes) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PinGenerationAttributes) SetIbm3624NaturalPin ¶
func (s *PinGenerationAttributes) SetIbm3624NaturalPin(v *Ibm3624NaturalPin) *PinGenerationAttributes
SetIbm3624NaturalPin sets the Ibm3624NaturalPin field's value.
func (*PinGenerationAttributes) SetIbm3624PinFromOffset ¶
func (s *PinGenerationAttributes) SetIbm3624PinFromOffset(v *Ibm3624PinFromOffset) *PinGenerationAttributes
SetIbm3624PinFromOffset sets the Ibm3624PinFromOffset field's value.
func (*PinGenerationAttributes) SetIbm3624PinOffset ¶
func (s *PinGenerationAttributes) SetIbm3624PinOffset(v *Ibm3624PinOffset) *PinGenerationAttributes
SetIbm3624PinOffset sets the Ibm3624PinOffset field's value.
func (*PinGenerationAttributes) SetIbm3624RandomPin ¶
func (s *PinGenerationAttributes) SetIbm3624RandomPin(v *Ibm3624RandomPin) *PinGenerationAttributes
SetIbm3624RandomPin sets the Ibm3624RandomPin field's value.
func (*PinGenerationAttributes) SetVisaPin ¶
func (s *PinGenerationAttributes) SetVisaPin(v *VisaPin) *PinGenerationAttributes
SetVisaPin sets the VisaPin field's value.
func (*PinGenerationAttributes) SetVisaPinVerificationValue ¶
func (s *PinGenerationAttributes) SetVisaPinVerificationValue(v *VisaPinVerificationValue) *PinGenerationAttributes
SetVisaPinVerificationValue sets the VisaPinVerificationValue field's value.
func (PinGenerationAttributes) String ¶
func (s PinGenerationAttributes) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PinGenerationAttributes) Validate ¶
func (s *PinGenerationAttributes) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PinVerificationAttributes ¶
type PinVerificationAttributes struct { // Parameters that are required to generate or verify Ibm3624 PIN. Ibm3624Pin *Ibm3624PinVerification `type:"structure"` // Parameters that are required to generate or verify Visa PIN. VisaPin *VisaPinVerification `type:"structure"` // contains filtered or unexported fields }
Parameters that are required for PIN data verification.
func (PinVerificationAttributes) GoString ¶
func (s PinVerificationAttributes) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PinVerificationAttributes) SetIbm3624Pin ¶
func (s *PinVerificationAttributes) SetIbm3624Pin(v *Ibm3624PinVerification) *PinVerificationAttributes
SetIbm3624Pin sets the Ibm3624Pin field's value.
func (*PinVerificationAttributes) SetVisaPin ¶
func (s *PinVerificationAttributes) SetVisaPin(v *VisaPinVerification) *PinVerificationAttributes
SetVisaPin sets the VisaPin field's value.
func (PinVerificationAttributes) String ¶
func (s PinVerificationAttributes) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PinVerificationAttributes) Validate ¶
func (s *PinVerificationAttributes) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ReEncryptDataInput ¶
type ReEncryptDataInput struct { // Ciphertext to be encrypted. The minimum allowed length is 16 bytes and maximum // allowed length is 4096 bytes. // // CipherText is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by ReEncryptDataInput's // String and GoString methods. // // CipherText is a required field CipherText *string `min:"16" type:"string" required:"true" sensitive:"true"` // The attributes and values for incoming ciphertext. // // IncomingEncryptionAttributes is a required field IncomingEncryptionAttributes *ReEncryptionAttributes `type:"structure" required:"true"` // The keyARN of the encryption key of incoming ciphertext data. // // IncomingKeyIdentifier is a required field IncomingKeyIdentifier *string `location:"uri" locationName:"IncomingKeyIdentifier" min:"7" type:"string" required:"true"` // The attributes and values for outgoing ciphertext data after encryption by // Amazon Web Services Payment Cryptography. // // OutgoingEncryptionAttributes is a required field OutgoingEncryptionAttributes *ReEncryptionAttributes `type:"structure" required:"true"` // The keyARN of the encryption key of outgoing ciphertext data after encryption // by Amazon Web Services Payment Cryptography. // // OutgoingKeyIdentifier is a required field OutgoingKeyIdentifier *string `min:"7" type:"string" required:"true"` // contains filtered or unexported fields }
func (ReEncryptDataInput) GoString ¶
func (s ReEncryptDataInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ReEncryptDataInput) SetCipherText ¶
func (s *ReEncryptDataInput) SetCipherText(v string) *ReEncryptDataInput
SetCipherText sets the CipherText field's value.
func (*ReEncryptDataInput) SetIncomingEncryptionAttributes ¶
func (s *ReEncryptDataInput) SetIncomingEncryptionAttributes(v *ReEncryptionAttributes) *ReEncryptDataInput
SetIncomingEncryptionAttributes sets the IncomingEncryptionAttributes field's value.
func (*ReEncryptDataInput) SetIncomingKeyIdentifier ¶
func (s *ReEncryptDataInput) SetIncomingKeyIdentifier(v string) *ReEncryptDataInput
SetIncomingKeyIdentifier sets the IncomingKeyIdentifier field's value.
func (*ReEncryptDataInput) SetOutgoingEncryptionAttributes ¶
func (s *ReEncryptDataInput) SetOutgoingEncryptionAttributes(v *ReEncryptionAttributes) *ReEncryptDataInput
SetOutgoingEncryptionAttributes sets the OutgoingEncryptionAttributes field's value.
func (*ReEncryptDataInput) SetOutgoingKeyIdentifier ¶
func (s *ReEncryptDataInput) SetOutgoingKeyIdentifier(v string) *ReEncryptDataInput
SetOutgoingKeyIdentifier sets the OutgoingKeyIdentifier field's value.
func (ReEncryptDataInput) String ¶
func (s ReEncryptDataInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ReEncryptDataInput) Validate ¶
func (s *ReEncryptDataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ReEncryptDataOutput ¶
type ReEncryptDataOutput struct { // The encrypted ciphertext. // // CipherText is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by ReEncryptDataOutput's // String and GoString methods. // // CipherText is a required field CipherText *string `min:"16" type:"string" required:"true" sensitive:"true"` // The keyARN (Amazon Resource Name) of the encryption key that Amazon Web Services // Payment Cryptography uses for plaintext encryption. // // KeyArn is a required field KeyArn *string `min:"70" type:"string" required:"true"` // The key check value (KCV) of the encryption key. The KCV is used to check // if all parties holding a given key have the same key or to detect that a // key has changed. // // Amazon Web Services Payment Cryptography computes the KCV according to the // CMAC specification. // // KeyCheckValue is a required field KeyCheckValue *string `min:"4" type:"string" required:"true"` // contains filtered or unexported fields }
func (ReEncryptDataOutput) GoString ¶
func (s ReEncryptDataOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ReEncryptDataOutput) SetCipherText ¶
func (s *ReEncryptDataOutput) SetCipherText(v string) *ReEncryptDataOutput
SetCipherText sets the CipherText field's value.
func (*ReEncryptDataOutput) SetKeyArn ¶
func (s *ReEncryptDataOutput) SetKeyArn(v string) *ReEncryptDataOutput
SetKeyArn sets the KeyArn field's value.
func (*ReEncryptDataOutput) SetKeyCheckValue ¶
func (s *ReEncryptDataOutput) SetKeyCheckValue(v string) *ReEncryptDataOutput
SetKeyCheckValue sets the KeyCheckValue field's value.
func (ReEncryptDataOutput) String ¶
func (s ReEncryptDataOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ReEncryptionAttributes ¶
type ReEncryptionAttributes struct { // Parameters that are required to encrypt plaintext data using DUKPT. Dukpt *DukptEncryptionAttributes `type:"structure"` // Parameters that are required to encrypt data using symmetric keys. Symmetric *SymmetricEncryptionAttributes `type:"structure"` // contains filtered or unexported fields }
Parameters that are required to perform reencryption operation.
func (ReEncryptionAttributes) GoString ¶
func (s ReEncryptionAttributes) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ReEncryptionAttributes) SetDukpt ¶
func (s *ReEncryptionAttributes) SetDukpt(v *DukptEncryptionAttributes) *ReEncryptionAttributes
SetDukpt sets the Dukpt field's value.
func (*ReEncryptionAttributes) SetSymmetric ¶
func (s *ReEncryptionAttributes) SetSymmetric(v *SymmetricEncryptionAttributes) *ReEncryptionAttributes
SetSymmetric sets the Symmetric field's value.
func (ReEncryptionAttributes) String ¶
func (s ReEncryptionAttributes) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ReEncryptionAttributes) Validate ¶
func (s *ReEncryptionAttributes) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // The resource that is missing. ResourceId *string `type:"string"` // contains filtered or unexported fields }
The request was denied due to an invalid resource error.
func (*ResourceNotFoundException) Code ¶
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (*ResourceNotFoundException) Error ¶
func (s *ResourceNotFoundException) Error() string
func (ResourceNotFoundException) GoString ¶
func (s ResourceNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceNotFoundException) Message ¶
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (*ResourceNotFoundException) OrigErr ¶
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceNotFoundException) RequestID ¶
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceNotFoundException) StatusCode ¶
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceNotFoundException) String ¶
func (s ResourceNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type SessionKeyAmex ¶
type SessionKeyAmex struct { // A number that identifies and differentiates payment cards with the same Primary // Account Number (PAN). // // PanSequenceNumber is a required field PanSequenceNumber *string `min:"2" type:"string" required:"true"` // The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier // for a payment credit or debit card and associates the card to a specific // account holder. // // PrimaryAccountNumber is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by SessionKeyAmex's // String and GoString methods. // // PrimaryAccountNumber is a required field PrimaryAccountNumber *string `min:"12" type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
Parameters to derive session key for an Amex payment card.
func (SessionKeyAmex) GoString ¶
func (s SessionKeyAmex) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SessionKeyAmex) SetPanSequenceNumber ¶
func (s *SessionKeyAmex) SetPanSequenceNumber(v string) *SessionKeyAmex
SetPanSequenceNumber sets the PanSequenceNumber field's value.
func (*SessionKeyAmex) SetPrimaryAccountNumber ¶
func (s *SessionKeyAmex) SetPrimaryAccountNumber(v string) *SessionKeyAmex
SetPrimaryAccountNumber sets the PrimaryAccountNumber field's value.
func (SessionKeyAmex) String ¶
func (s SessionKeyAmex) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SessionKeyAmex) Validate ¶
func (s *SessionKeyAmex) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SessionKeyDerivation ¶
type SessionKeyDerivation struct { // Parameters to derive session key for an Amex payment card for ARQC verification. Amex *SessionKeyAmex `type:"structure"` // Parameters to derive session key for an Emv2000 payment card for ARQC verification. Emv2000 *SessionKeyEmv2000 `type:"structure"` // Parameters to derive session key for an Emv common payment card for ARQC // verification. EmvCommon *SessionKeyEmvCommon `type:"structure"` // Parameters to derive session key for a Mastercard payment card for ARQC verification. Mastercard *SessionKeyMastercard `type:"structure"` // Parameters to derive session key for a Visa payment cardfor ARQC verification. Visa *SessionKeyVisa `type:"structure"` // contains filtered or unexported fields }
Parameters to derive a session key for Authorization Response Cryptogram (ARQC) verification.
func (SessionKeyDerivation) GoString ¶
func (s SessionKeyDerivation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SessionKeyDerivation) SetAmex ¶
func (s *SessionKeyDerivation) SetAmex(v *SessionKeyAmex) *SessionKeyDerivation
SetAmex sets the Amex field's value.
func (*SessionKeyDerivation) SetEmv2000 ¶
func (s *SessionKeyDerivation) SetEmv2000(v *SessionKeyEmv2000) *SessionKeyDerivation
SetEmv2000 sets the Emv2000 field's value.
func (*SessionKeyDerivation) SetEmvCommon ¶
func (s *SessionKeyDerivation) SetEmvCommon(v *SessionKeyEmvCommon) *SessionKeyDerivation
SetEmvCommon sets the EmvCommon field's value.
func (*SessionKeyDerivation) SetMastercard ¶
func (s *SessionKeyDerivation) SetMastercard(v *SessionKeyMastercard) *SessionKeyDerivation
SetMastercard sets the Mastercard field's value.
func (*SessionKeyDerivation) SetVisa ¶
func (s *SessionKeyDerivation) SetVisa(v *SessionKeyVisa) *SessionKeyDerivation
SetVisa sets the Visa field's value.
func (SessionKeyDerivation) String ¶
func (s SessionKeyDerivation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SessionKeyDerivation) Validate ¶
func (s *SessionKeyDerivation) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SessionKeyDerivationValue ¶
type SessionKeyDerivationValue struct { // The cryptogram provided by the terminal during transaction processing. ApplicationCryptogram *string `min:"16" type:"string"` // The transaction counter that is provided by the terminal during transaction // processing. ApplicationTransactionCounter *string `min:"2" type:"string"` // contains filtered or unexported fields }
Parameters to derive session key value using a MAC EMV algorithm.
func (SessionKeyDerivationValue) GoString ¶
func (s SessionKeyDerivationValue) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SessionKeyDerivationValue) SetApplicationCryptogram ¶
func (s *SessionKeyDerivationValue) SetApplicationCryptogram(v string) *SessionKeyDerivationValue
SetApplicationCryptogram sets the ApplicationCryptogram field's value.
func (*SessionKeyDerivationValue) SetApplicationTransactionCounter ¶
func (s *SessionKeyDerivationValue) SetApplicationTransactionCounter(v string) *SessionKeyDerivationValue
SetApplicationTransactionCounter sets the ApplicationTransactionCounter field's value.
func (SessionKeyDerivationValue) String ¶
func (s SessionKeyDerivationValue) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SessionKeyDerivationValue) Validate ¶
func (s *SessionKeyDerivationValue) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SessionKeyEmv2000 ¶
type SessionKeyEmv2000 struct { // The transaction counter that is provided by the terminal during transaction // processing. // // ApplicationTransactionCounter is a required field ApplicationTransactionCounter *string `min:"2" type:"string" required:"true"` // A number that identifies and differentiates payment cards with the same Primary // Account Number (PAN). // // PanSequenceNumber is a required field PanSequenceNumber *string `min:"2" type:"string" required:"true"` // The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier // for a payment credit or debit card and associates the card to a specific // account holder. // // PrimaryAccountNumber is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by SessionKeyEmv2000's // String and GoString methods. // // PrimaryAccountNumber is a required field PrimaryAccountNumber *string `min:"12" type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
Parameters to derive session key for an Emv2000 payment card for ARQC verification.
func (SessionKeyEmv2000) GoString ¶
func (s SessionKeyEmv2000) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SessionKeyEmv2000) SetApplicationTransactionCounter ¶
func (s *SessionKeyEmv2000) SetApplicationTransactionCounter(v string) *SessionKeyEmv2000
SetApplicationTransactionCounter sets the ApplicationTransactionCounter field's value.
func (*SessionKeyEmv2000) SetPanSequenceNumber ¶
func (s *SessionKeyEmv2000) SetPanSequenceNumber(v string) *SessionKeyEmv2000
SetPanSequenceNumber sets the PanSequenceNumber field's value.
func (*SessionKeyEmv2000) SetPrimaryAccountNumber ¶
func (s *SessionKeyEmv2000) SetPrimaryAccountNumber(v string) *SessionKeyEmv2000
SetPrimaryAccountNumber sets the PrimaryAccountNumber field's value.
func (SessionKeyEmv2000) String ¶
func (s SessionKeyEmv2000) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SessionKeyEmv2000) Validate ¶
func (s *SessionKeyEmv2000) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SessionKeyEmvCommon ¶
type SessionKeyEmvCommon struct { // The transaction counter that is provided by the terminal during transaction // processing. // // ApplicationTransactionCounter is a required field ApplicationTransactionCounter *string `min:"2" type:"string" required:"true"` // A number that identifies and differentiates payment cards with the same Primary // Account Number (PAN). // // PanSequenceNumber is a required field PanSequenceNumber *string `min:"2" type:"string" required:"true"` // The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier // for a payment credit or debit card and associates the card to a specific // account holder. // // PrimaryAccountNumber is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by SessionKeyEmvCommon's // String and GoString methods. // // PrimaryAccountNumber is a required field PrimaryAccountNumber *string `min:"12" type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
Parameters to derive session key for an Emv common payment card for ARQC verification.
func (SessionKeyEmvCommon) GoString ¶
func (s SessionKeyEmvCommon) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SessionKeyEmvCommon) SetApplicationTransactionCounter ¶
func (s *SessionKeyEmvCommon) SetApplicationTransactionCounter(v string) *SessionKeyEmvCommon
SetApplicationTransactionCounter sets the ApplicationTransactionCounter field's value.
func (*SessionKeyEmvCommon) SetPanSequenceNumber ¶
func (s *SessionKeyEmvCommon) SetPanSequenceNumber(v string) *SessionKeyEmvCommon
SetPanSequenceNumber sets the PanSequenceNumber field's value.
func (*SessionKeyEmvCommon) SetPrimaryAccountNumber ¶
func (s *SessionKeyEmvCommon) SetPrimaryAccountNumber(v string) *SessionKeyEmvCommon
SetPrimaryAccountNumber sets the PrimaryAccountNumber field's value.
func (SessionKeyEmvCommon) String ¶
func (s SessionKeyEmvCommon) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SessionKeyEmvCommon) Validate ¶
func (s *SessionKeyEmvCommon) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SessionKeyMastercard ¶
type SessionKeyMastercard struct { // The transaction counter that is provided by the terminal during transaction // processing. // // ApplicationTransactionCounter is a required field ApplicationTransactionCounter *string `min:"2" type:"string" required:"true"` // A number that identifies and differentiates payment cards with the same Primary // Account Number (PAN). // // PanSequenceNumber is a required field PanSequenceNumber *string `min:"2" type:"string" required:"true"` // The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier // for a payment credit or debit card and associates the card to a specific // account holder. // // PrimaryAccountNumber is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by SessionKeyMastercard's // String and GoString methods. // // PrimaryAccountNumber is a required field PrimaryAccountNumber *string `min:"12" type:"string" required:"true" sensitive:"true"` // A random number generated by the issuer. // // UnpredictableNumber is a required field UnpredictableNumber *string `min:"2" type:"string" required:"true"` // contains filtered or unexported fields }
Parameters to derive session key for Mastercard payment card for ARQC verification.
func (SessionKeyMastercard) GoString ¶
func (s SessionKeyMastercard) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SessionKeyMastercard) SetApplicationTransactionCounter ¶
func (s *SessionKeyMastercard) SetApplicationTransactionCounter(v string) *SessionKeyMastercard
SetApplicationTransactionCounter sets the ApplicationTransactionCounter field's value.
func (*SessionKeyMastercard) SetPanSequenceNumber ¶
func (s *SessionKeyMastercard) SetPanSequenceNumber(v string) *SessionKeyMastercard
SetPanSequenceNumber sets the PanSequenceNumber field's value.
func (*SessionKeyMastercard) SetPrimaryAccountNumber ¶
func (s *SessionKeyMastercard) SetPrimaryAccountNumber(v string) *SessionKeyMastercard
SetPrimaryAccountNumber sets the PrimaryAccountNumber field's value.
func (*SessionKeyMastercard) SetUnpredictableNumber ¶
func (s *SessionKeyMastercard) SetUnpredictableNumber(v string) *SessionKeyMastercard
SetUnpredictableNumber sets the UnpredictableNumber field's value.
func (SessionKeyMastercard) String ¶
func (s SessionKeyMastercard) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SessionKeyMastercard) Validate ¶
func (s *SessionKeyMastercard) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SessionKeyVisa ¶
type SessionKeyVisa struct { // A number that identifies and differentiates payment cards with the same Primary // Account Number (PAN). // // PanSequenceNumber is a required field PanSequenceNumber *string `min:"2" type:"string" required:"true"` // The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier // for a payment credit or debit card and associates the card to a specific // account holder. // // PrimaryAccountNumber is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by SessionKeyVisa's // String and GoString methods. // // PrimaryAccountNumber is a required field PrimaryAccountNumber *string `min:"12" type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
Parameters to derive session key for Visa payment card for ARQC verification.
func (SessionKeyVisa) GoString ¶
func (s SessionKeyVisa) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SessionKeyVisa) SetPanSequenceNumber ¶
func (s *SessionKeyVisa) SetPanSequenceNumber(v string) *SessionKeyVisa
SetPanSequenceNumber sets the PanSequenceNumber field's value.
func (*SessionKeyVisa) SetPrimaryAccountNumber ¶
func (s *SessionKeyVisa) SetPrimaryAccountNumber(v string) *SessionKeyVisa
SetPrimaryAccountNumber sets the PrimaryAccountNumber field's value.
func (SessionKeyVisa) String ¶
func (s SessionKeyVisa) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SessionKeyVisa) Validate ¶
func (s *SessionKeyVisa) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SymmetricEncryptionAttributes ¶
type SymmetricEncryptionAttributes struct { // An input used to provide the intial state. If no value is provided, Amazon // Web Services Payment Cryptography defaults it to zero. // // InitializationVector is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by SymmetricEncryptionAttributes's // String and GoString methods. InitializationVector *string `min:"16" type:"string" sensitive:"true"` // The block cipher method to use for encryption. // // Mode is a required field Mode *string `type:"string" required:"true" enum:"EncryptionMode"` // The padding to be included with the data. PaddingType *string `type:"string" enum:"PaddingType"` // contains filtered or unexported fields }
Parameters requried to encrypt plaintext data using symmetric keys.
func (SymmetricEncryptionAttributes) GoString ¶
func (s SymmetricEncryptionAttributes) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SymmetricEncryptionAttributes) SetInitializationVector ¶
func (s *SymmetricEncryptionAttributes) SetInitializationVector(v string) *SymmetricEncryptionAttributes
SetInitializationVector sets the InitializationVector field's value.
func (*SymmetricEncryptionAttributes) SetMode ¶
func (s *SymmetricEncryptionAttributes) SetMode(v string) *SymmetricEncryptionAttributes
SetMode sets the Mode field's value.
func (*SymmetricEncryptionAttributes) SetPaddingType ¶
func (s *SymmetricEncryptionAttributes) SetPaddingType(v string) *SymmetricEncryptionAttributes
SetPaddingType sets the PaddingType field's value.
func (SymmetricEncryptionAttributes) String ¶
func (s SymmetricEncryptionAttributes) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SymmetricEncryptionAttributes) Validate ¶
func (s *SymmetricEncryptionAttributes) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ThrottlingException ¶
type ThrottlingException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The request was denied due to request throttling.
func (*ThrottlingException) Code ¶
func (s *ThrottlingException) Code() string
Code returns the exception type name.
func (*ThrottlingException) Error ¶
func (s *ThrottlingException) Error() string
func (ThrottlingException) GoString ¶
func (s ThrottlingException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ThrottlingException) Message ¶
func (s *ThrottlingException) Message() string
Message returns the exception's message.
func (*ThrottlingException) OrigErr ¶
func (s *ThrottlingException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ThrottlingException) RequestID ¶
func (s *ThrottlingException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ThrottlingException) StatusCode ¶
func (s *ThrottlingException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ThrottlingException) String ¶
func (s ThrottlingException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TranslatePinDataInput ¶
type TranslatePinDataInput struct { // The encrypted PIN block data that Amazon Web Services Payment Cryptography // translates. // // EncryptedPinBlock is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by TranslatePinDataInput's // String and GoString methods. // // EncryptedPinBlock is a required field EncryptedPinBlock *string `min:"16" type:"string" required:"true" sensitive:"true"` // The attributes and values to use for incoming DUKPT encryption key for PIN // block translation. IncomingDukptAttributes *DukptDerivationAttributes `type:"structure"` // The keyARN of the encryption key under which incoming PIN block data is encrypted. // This key type can be PEK or BDK. // // IncomingKeyIdentifier is a required field IncomingKeyIdentifier *string `min:"7" type:"string" required:"true"` // The format of the incoming PIN block data for translation within Amazon Web // Services Payment Cryptography. // // IncomingTranslationAttributes is a required field IncomingTranslationAttributes *TranslationIsoFormats `type:"structure" required:"true"` // The attributes and values to use for outgoing DUKPT encryption key after // PIN block translation. OutgoingDukptAttributes *DukptDerivationAttributes `type:"structure"` // The keyARN of the encryption key for encrypting outgoing PIN block data. // This key type can be PEK or BDK. // // OutgoingKeyIdentifier is a required field OutgoingKeyIdentifier *string `min:"7" type:"string" required:"true"` // The format of the outgoing PIN block data after translation by Amazon Web // Services Payment Cryptography. // // OutgoingTranslationAttributes is a required field OutgoingTranslationAttributes *TranslationIsoFormats `type:"structure" required:"true"` // contains filtered or unexported fields }
func (TranslatePinDataInput) GoString ¶
func (s TranslatePinDataInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TranslatePinDataInput) SetEncryptedPinBlock ¶
func (s *TranslatePinDataInput) SetEncryptedPinBlock(v string) *TranslatePinDataInput
SetEncryptedPinBlock sets the EncryptedPinBlock field's value.
func (*TranslatePinDataInput) SetIncomingDukptAttributes ¶
func (s *TranslatePinDataInput) SetIncomingDukptAttributes(v *DukptDerivationAttributes) *TranslatePinDataInput
SetIncomingDukptAttributes sets the IncomingDukptAttributes field's value.
func (*TranslatePinDataInput) SetIncomingKeyIdentifier ¶
func (s *TranslatePinDataInput) SetIncomingKeyIdentifier(v string) *TranslatePinDataInput
SetIncomingKeyIdentifier sets the IncomingKeyIdentifier field's value.
func (*TranslatePinDataInput) SetIncomingTranslationAttributes ¶
func (s *TranslatePinDataInput) SetIncomingTranslationAttributes(v *TranslationIsoFormats) *TranslatePinDataInput
SetIncomingTranslationAttributes sets the IncomingTranslationAttributes field's value.
func (*TranslatePinDataInput) SetOutgoingDukptAttributes ¶
func (s *TranslatePinDataInput) SetOutgoingDukptAttributes(v *DukptDerivationAttributes) *TranslatePinDataInput
SetOutgoingDukptAttributes sets the OutgoingDukptAttributes field's value.
func (*TranslatePinDataInput) SetOutgoingKeyIdentifier ¶
func (s *TranslatePinDataInput) SetOutgoingKeyIdentifier(v string) *TranslatePinDataInput
SetOutgoingKeyIdentifier sets the OutgoingKeyIdentifier field's value.
func (*TranslatePinDataInput) SetOutgoingTranslationAttributes ¶
func (s *TranslatePinDataInput) SetOutgoingTranslationAttributes(v *TranslationIsoFormats) *TranslatePinDataInput
SetOutgoingTranslationAttributes sets the OutgoingTranslationAttributes field's value.
func (TranslatePinDataInput) String ¶
func (s TranslatePinDataInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TranslatePinDataInput) Validate ¶
func (s *TranslatePinDataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TranslatePinDataOutput ¶
type TranslatePinDataOutput struct { // The keyARN of the encryption key that Amazon Web Services Payment Cryptography // uses to encrypt outgoing PIN block data after translation. // // KeyArn is a required field KeyArn *string `min:"70" type:"string" required:"true"` // The key check value (KCV) of the encryption key. The KCV is used to check // if all parties holding a given key have the same key or to detect that a // key has changed. // // Amazon Web Services Payment Cryptography computes the KCV according to the // CMAC specification. // // KeyCheckValue is a required field KeyCheckValue *string `min:"4" type:"string" required:"true"` // The outgoing encrypted PIN block data after translation. // // PinBlock is a required field PinBlock *string `min:"16" type:"string" required:"true"` // contains filtered or unexported fields }
func (TranslatePinDataOutput) GoString ¶
func (s TranslatePinDataOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TranslatePinDataOutput) SetKeyArn ¶
func (s *TranslatePinDataOutput) SetKeyArn(v string) *TranslatePinDataOutput
SetKeyArn sets the KeyArn field's value.
func (*TranslatePinDataOutput) SetKeyCheckValue ¶
func (s *TranslatePinDataOutput) SetKeyCheckValue(v string) *TranslatePinDataOutput
SetKeyCheckValue sets the KeyCheckValue field's value.
func (*TranslatePinDataOutput) SetPinBlock ¶
func (s *TranslatePinDataOutput) SetPinBlock(v string) *TranslatePinDataOutput
SetPinBlock sets the PinBlock field's value.
func (TranslatePinDataOutput) String ¶
func (s TranslatePinDataOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TranslationIsoFormats ¶
type TranslationIsoFormats struct { // Parameters that are required for ISO9564 PIN format 0 tranlation. IsoFormat0 *TranslationPinDataIsoFormat034 `type:"structure"` // Parameters that are required for ISO9564 PIN format 1 tranlation. IsoFormat1 *TranslationPinDataIsoFormat1 `type:"structure"` // Parameters that are required for ISO9564 PIN format 3 tranlation. IsoFormat3 *TranslationPinDataIsoFormat034 `type:"structure"` // Parameters that are required for ISO9564 PIN format 4 tranlation. IsoFormat4 *TranslationPinDataIsoFormat034 `type:"structure"` // contains filtered or unexported fields }
Parameters that are required for translation between ISO9564 PIN block formats 0,1,3,4.
func (TranslationIsoFormats) GoString ¶
func (s TranslationIsoFormats) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TranslationIsoFormats) SetIsoFormat0 ¶
func (s *TranslationIsoFormats) SetIsoFormat0(v *TranslationPinDataIsoFormat034) *TranslationIsoFormats
SetIsoFormat0 sets the IsoFormat0 field's value.
func (*TranslationIsoFormats) SetIsoFormat1 ¶
func (s *TranslationIsoFormats) SetIsoFormat1(v *TranslationPinDataIsoFormat1) *TranslationIsoFormats
SetIsoFormat1 sets the IsoFormat1 field's value.
func (*TranslationIsoFormats) SetIsoFormat3 ¶
func (s *TranslationIsoFormats) SetIsoFormat3(v *TranslationPinDataIsoFormat034) *TranslationIsoFormats
SetIsoFormat3 sets the IsoFormat3 field's value.
func (*TranslationIsoFormats) SetIsoFormat4 ¶
func (s *TranslationIsoFormats) SetIsoFormat4(v *TranslationPinDataIsoFormat034) *TranslationIsoFormats
SetIsoFormat4 sets the IsoFormat4 field's value.
func (TranslationIsoFormats) String ¶
func (s TranslationIsoFormats) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TranslationIsoFormats) Validate ¶
func (s *TranslationIsoFormats) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TranslationPinDataIsoFormat034 ¶
type TranslationPinDataIsoFormat034 struct { // The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier // for a payment credit or debit card and associates the card to a specific // account holder. // // PrimaryAccountNumber is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by TranslationPinDataIsoFormat034's // String and GoString methods. // // PrimaryAccountNumber is a required field PrimaryAccountNumber *string `min:"12" type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
Parameters that are required for tranlation between ISO9564 PIN format 0,3,4 tranlation.
func (TranslationPinDataIsoFormat034) GoString ¶
func (s TranslationPinDataIsoFormat034) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TranslationPinDataIsoFormat034) SetPrimaryAccountNumber ¶
func (s *TranslationPinDataIsoFormat034) SetPrimaryAccountNumber(v string) *TranslationPinDataIsoFormat034
SetPrimaryAccountNumber sets the PrimaryAccountNumber field's value.
func (TranslationPinDataIsoFormat034) String ¶
func (s TranslationPinDataIsoFormat034) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TranslationPinDataIsoFormat034) Validate ¶
func (s *TranslationPinDataIsoFormat034) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TranslationPinDataIsoFormat1 ¶
type TranslationPinDataIsoFormat1 struct {
// contains filtered or unexported fields
}
Parameters that are required for ISO9564 PIN format 1 tranlation.
func (TranslationPinDataIsoFormat1) GoString ¶
func (s TranslationPinDataIsoFormat1) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (TranslationPinDataIsoFormat1) String ¶
func (s TranslationPinDataIsoFormat1) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ValidationException ¶
type ValidationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The request was denied due to an invalid request error. FieldList []*ValidationExceptionField `locationName:"fieldList" type:"list"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The request was denied due to an invalid request error.
func (*ValidationException) Code ¶
func (s *ValidationException) Code() string
Code returns the exception type name.
func (*ValidationException) Error ¶
func (s *ValidationException) Error() string
func (ValidationException) GoString ¶
func (s ValidationException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ValidationException) Message ¶
func (s *ValidationException) Message() string
Message returns the exception's message.
func (*ValidationException) OrigErr ¶
func (s *ValidationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ValidationException) RequestID ¶
func (s *ValidationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ValidationException) StatusCode ¶
func (s *ValidationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ValidationException) String ¶
func (s ValidationException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ValidationExceptionField ¶
type ValidationExceptionField struct { // The request was denied due to an invalid request error. // // Message is a required field Message *string `locationName:"message" type:"string" required:"true"` // The request was denied due to an invalid request error. // // Path is a required field Path *string `locationName:"path" type:"string" required:"true"` // contains filtered or unexported fields }
The request was denied due to an invalid request error.
func (ValidationExceptionField) GoString ¶
func (s ValidationExceptionField) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ValidationExceptionField) SetMessage ¶
func (s *ValidationExceptionField) SetMessage(v string) *ValidationExceptionField
SetMessage sets the Message field's value.
func (*ValidationExceptionField) SetPath ¶
func (s *ValidationExceptionField) SetPath(v string) *ValidationExceptionField
SetPath sets the Path field's value.
func (ValidationExceptionField) String ¶
func (s ValidationExceptionField) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type VerificationFailedException ¶
type VerificationFailedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // The reason for the exception. // // Reason is a required field Reason *string `type:"string" required:"true" enum:"VerificationFailedReason"` // contains filtered or unexported fields }
This request failed verification.
func (*VerificationFailedException) Code ¶
func (s *VerificationFailedException) Code() string
Code returns the exception type name.
func (*VerificationFailedException) Error ¶
func (s *VerificationFailedException) Error() string
func (VerificationFailedException) GoString ¶
func (s VerificationFailedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VerificationFailedException) Message ¶
func (s *VerificationFailedException) Message() string
Message returns the exception's message.
func (*VerificationFailedException) OrigErr ¶
func (s *VerificationFailedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*VerificationFailedException) RequestID ¶
func (s *VerificationFailedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*VerificationFailedException) StatusCode ¶
func (s *VerificationFailedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (VerificationFailedException) String ¶
func (s VerificationFailedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type VerifyAuthRequestCryptogramInput ¶
type VerifyAuthRequestCryptogramInput struct { // The auth request cryptogram imported into Amazon Web Services Payment Cryptography // for ARQC verification using a major encryption key and transaction data. // // AuthRequestCryptogram is a required field AuthRequestCryptogram *string `min:"16" type:"string" required:"true"` // The attributes and values for auth request cryptogram verification. These // parameters are required in case using ARPC Method 1 or Method 2 for ARQC // verification. AuthResponseAttributes *CryptogramAuthResponse `type:"structure"` // The keyARN of the major encryption key that Amazon Web Services Payment Cryptography // uses for ARQC verification. // // KeyIdentifier is a required field KeyIdentifier *string `min:"7" type:"string" required:"true"` // The method to use when deriving the major encryption key for ARQC verification // within Amazon Web Services Payment Cryptography. The same key derivation // mode was used for ARQC generation outside of Amazon Web Services Payment // Cryptography. // // MajorKeyDerivationMode is a required field MajorKeyDerivationMode *string `type:"string" required:"true" enum:"MajorKeyDerivationMode"` // The attributes and values to use for deriving a session key for ARQC verification // within Amazon Web Services Payment Cryptography. The same attributes were // used for ARQC generation outside of Amazon Web Services Payment Cryptography. // // SessionKeyDerivationAttributes is a required field SessionKeyDerivationAttributes *SessionKeyDerivation `type:"structure" required:"true"` // The transaction data that Amazon Web Services Payment Cryptography uses for // ARQC verification. The same transaction is used for ARQC generation outside // of Amazon Web Services Payment Cryptography. // // TransactionData is a required field TransactionData *string `min:"2" type:"string" required:"true"` // contains filtered or unexported fields }
func (VerifyAuthRequestCryptogramInput) GoString ¶
func (s VerifyAuthRequestCryptogramInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VerifyAuthRequestCryptogramInput) SetAuthRequestCryptogram ¶
func (s *VerifyAuthRequestCryptogramInput) SetAuthRequestCryptogram(v string) *VerifyAuthRequestCryptogramInput
SetAuthRequestCryptogram sets the AuthRequestCryptogram field's value.
func (*VerifyAuthRequestCryptogramInput) SetAuthResponseAttributes ¶
func (s *VerifyAuthRequestCryptogramInput) SetAuthResponseAttributes(v *CryptogramAuthResponse) *VerifyAuthRequestCryptogramInput
SetAuthResponseAttributes sets the AuthResponseAttributes field's value.
func (*VerifyAuthRequestCryptogramInput) SetKeyIdentifier ¶
func (s *VerifyAuthRequestCryptogramInput) SetKeyIdentifier(v string) *VerifyAuthRequestCryptogramInput
SetKeyIdentifier sets the KeyIdentifier field's value.
func (*VerifyAuthRequestCryptogramInput) SetMajorKeyDerivationMode ¶
func (s *VerifyAuthRequestCryptogramInput) SetMajorKeyDerivationMode(v string) *VerifyAuthRequestCryptogramInput
SetMajorKeyDerivationMode sets the MajorKeyDerivationMode field's value.
func (*VerifyAuthRequestCryptogramInput) SetSessionKeyDerivationAttributes ¶
func (s *VerifyAuthRequestCryptogramInput) SetSessionKeyDerivationAttributes(v *SessionKeyDerivation) *VerifyAuthRequestCryptogramInput
SetSessionKeyDerivationAttributes sets the SessionKeyDerivationAttributes field's value.
func (*VerifyAuthRequestCryptogramInput) SetTransactionData ¶
func (s *VerifyAuthRequestCryptogramInput) SetTransactionData(v string) *VerifyAuthRequestCryptogramInput
SetTransactionData sets the TransactionData field's value.
func (VerifyAuthRequestCryptogramInput) String ¶
func (s VerifyAuthRequestCryptogramInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VerifyAuthRequestCryptogramInput) Validate ¶
func (s *VerifyAuthRequestCryptogramInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VerifyAuthRequestCryptogramOutput ¶
type VerifyAuthRequestCryptogramOutput struct { // The result for ARQC verification or ARPC generation within Amazon Web Services // Payment Cryptography. AuthResponseValue *string `min:"1" type:"string"` // The keyARN of the major encryption key that Amazon Web Services Payment Cryptography // uses for ARQC verification. // // KeyArn is a required field KeyArn *string `min:"70" type:"string" required:"true"` // The key check value (KCV) of the encryption key. The KCV is used to check // if all parties holding a given key have the same key or to detect that a // key has changed. // // Amazon Web Services Payment Cryptography computes the KCV according to the // CMAC specification. // // KeyCheckValue is a required field KeyCheckValue *string `min:"4" type:"string" required:"true"` // contains filtered or unexported fields }
func (VerifyAuthRequestCryptogramOutput) GoString ¶
func (s VerifyAuthRequestCryptogramOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VerifyAuthRequestCryptogramOutput) SetAuthResponseValue ¶
func (s *VerifyAuthRequestCryptogramOutput) SetAuthResponseValue(v string) *VerifyAuthRequestCryptogramOutput
SetAuthResponseValue sets the AuthResponseValue field's value.
func (*VerifyAuthRequestCryptogramOutput) SetKeyArn ¶
func (s *VerifyAuthRequestCryptogramOutput) SetKeyArn(v string) *VerifyAuthRequestCryptogramOutput
SetKeyArn sets the KeyArn field's value.
func (*VerifyAuthRequestCryptogramOutput) SetKeyCheckValue ¶
func (s *VerifyAuthRequestCryptogramOutput) SetKeyCheckValue(v string) *VerifyAuthRequestCryptogramOutput
SetKeyCheckValue sets the KeyCheckValue field's value.
func (VerifyAuthRequestCryptogramOutput) String ¶
func (s VerifyAuthRequestCryptogramOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type VerifyCardValidationDataInput ¶
type VerifyCardValidationDataInput struct { // The keyARN of the CVK encryption key that Amazon Web Services Payment Cryptography // uses to verify card data. // // KeyIdentifier is a required field KeyIdentifier *string `min:"7" type:"string" required:"true"` // The Primary Account Number (PAN), a unique identifier for a payment credit // or debit card that associates the card with a specific account holder. // // PrimaryAccountNumber is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by VerifyCardValidationDataInput's // String and GoString methods. // // PrimaryAccountNumber is a required field PrimaryAccountNumber *string `min:"12" type:"string" required:"true" sensitive:"true"` // The CVV or CSC value for use for card data verification within Amazon Web // Services Payment Cryptography. // // ValidationData is a required field ValidationData *string `min:"3" type:"string" required:"true"` // The algorithm to use for verification of card data within Amazon Web Services // Payment Cryptography. // // VerificationAttributes is a required field VerificationAttributes *CardVerificationAttributes `type:"structure" required:"true"` // contains filtered or unexported fields }
func (VerifyCardValidationDataInput) GoString ¶
func (s VerifyCardValidationDataInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VerifyCardValidationDataInput) SetKeyIdentifier ¶
func (s *VerifyCardValidationDataInput) SetKeyIdentifier(v string) *VerifyCardValidationDataInput
SetKeyIdentifier sets the KeyIdentifier field's value.
func (*VerifyCardValidationDataInput) SetPrimaryAccountNumber ¶
func (s *VerifyCardValidationDataInput) SetPrimaryAccountNumber(v string) *VerifyCardValidationDataInput
SetPrimaryAccountNumber sets the PrimaryAccountNumber field's value.
func (*VerifyCardValidationDataInput) SetValidationData ¶
func (s *VerifyCardValidationDataInput) SetValidationData(v string) *VerifyCardValidationDataInput
SetValidationData sets the ValidationData field's value.
func (*VerifyCardValidationDataInput) SetVerificationAttributes ¶
func (s *VerifyCardValidationDataInput) SetVerificationAttributes(v *CardVerificationAttributes) *VerifyCardValidationDataInput
SetVerificationAttributes sets the VerificationAttributes field's value.
func (VerifyCardValidationDataInput) String ¶
func (s VerifyCardValidationDataInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VerifyCardValidationDataInput) Validate ¶
func (s *VerifyCardValidationDataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VerifyCardValidationDataOutput ¶
type VerifyCardValidationDataOutput struct { // The keyARN of the CVK encryption key that Amazon Web Services Payment Cryptography // uses to verify CVV or CSC. // // KeyArn is a required field KeyArn *string `min:"70" type:"string" required:"true"` // The key check value (KCV) of the encryption key. The KCV is used to check // if all parties holding a given key have the same key or to detect that a // key has changed. // // Amazon Web Services Payment Cryptography computes the KCV according to the // CMAC specification. // // KeyCheckValue is a required field KeyCheckValue *string `min:"4" type:"string" required:"true"` // contains filtered or unexported fields }
func (VerifyCardValidationDataOutput) GoString ¶
func (s VerifyCardValidationDataOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VerifyCardValidationDataOutput) SetKeyArn ¶
func (s *VerifyCardValidationDataOutput) SetKeyArn(v string) *VerifyCardValidationDataOutput
SetKeyArn sets the KeyArn field's value.
func (*VerifyCardValidationDataOutput) SetKeyCheckValue ¶
func (s *VerifyCardValidationDataOutput) SetKeyCheckValue(v string) *VerifyCardValidationDataOutput
SetKeyCheckValue sets the KeyCheckValue field's value.
func (VerifyCardValidationDataOutput) String ¶
func (s VerifyCardValidationDataOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type VerifyMacInput ¶
type VerifyMacInput struct { // The keyARN of the encryption key that Amazon Web Services Payment Cryptography // uses to verify MAC data. // // KeyIdentifier is a required field KeyIdentifier *string `min:"7" type:"string" required:"true"` // The MAC being verified. // // Mac is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by VerifyMacInput's // String and GoString methods. // // Mac is a required field Mac *string `min:"4" type:"string" required:"true" sensitive:"true"` // The length of the MAC. MacLength *int64 `min:"4" type:"integer"` // The data on for which MAC is under verification. This value must be hexBinary. // // MessageData is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by VerifyMacInput's // String and GoString methods. // // MessageData is a required field MessageData *string `min:"2" type:"string" required:"true" sensitive:"true"` // The attributes and data values to use for MAC verification within Amazon // Web Services Payment Cryptography. // // VerificationAttributes is a required field VerificationAttributes *MacAttributes `type:"structure" required:"true"` // contains filtered or unexported fields }
func (VerifyMacInput) GoString ¶
func (s VerifyMacInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VerifyMacInput) SetKeyIdentifier ¶
func (s *VerifyMacInput) SetKeyIdentifier(v string) *VerifyMacInput
SetKeyIdentifier sets the KeyIdentifier field's value.
func (*VerifyMacInput) SetMac ¶
func (s *VerifyMacInput) SetMac(v string) *VerifyMacInput
SetMac sets the Mac field's value.
func (*VerifyMacInput) SetMacLength ¶
func (s *VerifyMacInput) SetMacLength(v int64) *VerifyMacInput
SetMacLength sets the MacLength field's value.
func (*VerifyMacInput) SetMessageData ¶
func (s *VerifyMacInput) SetMessageData(v string) *VerifyMacInput
SetMessageData sets the MessageData field's value.
func (*VerifyMacInput) SetVerificationAttributes ¶
func (s *VerifyMacInput) SetVerificationAttributes(v *MacAttributes) *VerifyMacInput
SetVerificationAttributes sets the VerificationAttributes field's value.
func (VerifyMacInput) String ¶
func (s VerifyMacInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VerifyMacInput) Validate ¶
func (s *VerifyMacInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VerifyMacOutput ¶
type VerifyMacOutput struct { // The keyARN of the encryption key that Amazon Web Services Payment Cryptography // uses for MAC verification. // // KeyArn is a required field KeyArn *string `min:"70" type:"string" required:"true"` // The key check value (KCV) of the encryption key. The KCV is used to check // if all parties holding a given key have the same key or to detect that a // key has changed. // // Amazon Web Services Payment Cryptography computes the KCV according to the // CMAC specification. // // KeyCheckValue is a required field KeyCheckValue *string `min:"4" type:"string" required:"true"` // contains filtered or unexported fields }
func (VerifyMacOutput) GoString ¶
func (s VerifyMacOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VerifyMacOutput) SetKeyArn ¶
func (s *VerifyMacOutput) SetKeyArn(v string) *VerifyMacOutput
SetKeyArn sets the KeyArn field's value.
func (*VerifyMacOutput) SetKeyCheckValue ¶
func (s *VerifyMacOutput) SetKeyCheckValue(v string) *VerifyMacOutput
SetKeyCheckValue sets the KeyCheckValue field's value.
func (VerifyMacOutput) String ¶
func (s VerifyMacOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type VerifyPinDataInput ¶
type VerifyPinDataInput struct { // The attributes and values for the DUKPT encrypted PIN block data. DukptAttributes *DukptAttributes `type:"structure"` // The encrypted PIN block data that Amazon Web Services Payment Cryptography // verifies. // // EncryptedPinBlock is a required field EncryptedPinBlock *string `min:"16" type:"string" required:"true"` // The keyARN of the encryption key under which the PIN block data is encrypted. // This key type can be PEK or BDK. // // EncryptionKeyIdentifier is a required field EncryptionKeyIdentifier *string `min:"7" type:"string" required:"true"` // The PIN encoding format for pin data generation as specified in ISO 9564. // Amazon Web Services Payment Cryptography supports ISO_Format_0 and ISO_Format_3. // // 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. // // PinBlockFormat is a required field PinBlockFormat *string `type:"string" required:"true" enum:"PinBlockFormatForPinData"` // The length of PIN being verified. PinDataLength *int64 `min:"4" type:"integer"` // The Primary Account Number (PAN), a unique identifier for a payment credit // or debit card that associates the card with a specific account holder. // // PrimaryAccountNumber is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by VerifyPinDataInput's // String and GoString methods. // // PrimaryAccountNumber is a required field PrimaryAccountNumber *string `min:"12" type:"string" required:"true" sensitive:"true"` // The attributes and values for PIN data verification. // // VerificationAttributes is a required field VerificationAttributes *PinVerificationAttributes `type:"structure" required:"true"` // The keyARN of the PIN verification key. // // VerificationKeyIdentifier is a required field VerificationKeyIdentifier *string `min:"7" type:"string" required:"true"` // contains filtered or unexported fields }
func (VerifyPinDataInput) GoString ¶
func (s VerifyPinDataInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VerifyPinDataInput) SetDukptAttributes ¶
func (s *VerifyPinDataInput) SetDukptAttributes(v *DukptAttributes) *VerifyPinDataInput
SetDukptAttributes sets the DukptAttributes field's value.
func (*VerifyPinDataInput) SetEncryptedPinBlock ¶
func (s *VerifyPinDataInput) SetEncryptedPinBlock(v string) *VerifyPinDataInput
SetEncryptedPinBlock sets the EncryptedPinBlock field's value.
func (*VerifyPinDataInput) SetEncryptionKeyIdentifier ¶
func (s *VerifyPinDataInput) SetEncryptionKeyIdentifier(v string) *VerifyPinDataInput
SetEncryptionKeyIdentifier sets the EncryptionKeyIdentifier field's value.
func (*VerifyPinDataInput) SetPinBlockFormat ¶
func (s *VerifyPinDataInput) SetPinBlockFormat(v string) *VerifyPinDataInput
SetPinBlockFormat sets the PinBlockFormat field's value.
func (*VerifyPinDataInput) SetPinDataLength ¶
func (s *VerifyPinDataInput) SetPinDataLength(v int64) *VerifyPinDataInput
SetPinDataLength sets the PinDataLength field's value.
func (*VerifyPinDataInput) SetPrimaryAccountNumber ¶
func (s *VerifyPinDataInput) SetPrimaryAccountNumber(v string) *VerifyPinDataInput
SetPrimaryAccountNumber sets the PrimaryAccountNumber field's value.
func (*VerifyPinDataInput) SetVerificationAttributes ¶
func (s *VerifyPinDataInput) SetVerificationAttributes(v *PinVerificationAttributes) *VerifyPinDataInput
SetVerificationAttributes sets the VerificationAttributes field's value.
func (*VerifyPinDataInput) SetVerificationKeyIdentifier ¶
func (s *VerifyPinDataInput) SetVerificationKeyIdentifier(v string) *VerifyPinDataInput
SetVerificationKeyIdentifier sets the VerificationKeyIdentifier field's value.
func (VerifyPinDataInput) String ¶
func (s VerifyPinDataInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VerifyPinDataInput) Validate ¶
func (s *VerifyPinDataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VerifyPinDataOutput ¶
type VerifyPinDataOutput struct { // The keyARN of the PEK that Amazon Web Services Payment Cryptography uses // for encrypted pin block generation. // // EncryptionKeyArn is a required field EncryptionKeyArn *string `min:"70" type:"string" required:"true"` // The key check value (KCV) of the encryption key. The KCV is used to check // if all parties holding a given key have the same key or to detect that a // key has changed. // // Amazon Web Services Payment Cryptography computes the KCV according to the // CMAC specification. // // EncryptionKeyCheckValue is a required field EncryptionKeyCheckValue *string `min:"4" type:"string" required:"true"` // The keyARN of the PIN encryption key that Amazon Web Services Payment Cryptography // uses for PIN or PIN Offset verification. // // VerificationKeyArn is a required field VerificationKeyArn *string `min:"70" type:"string" required:"true"` // The key check value (KCV) of the encryption key. The KCV is used to check // if all parties holding a given key have the same key or to detect that a // key has changed. // // Amazon Web Services Payment Cryptography computes the KCV according to the // CMAC specification. // // VerificationKeyCheckValue is a required field VerificationKeyCheckValue *string `min:"4" type:"string" required:"true"` // contains filtered or unexported fields }
func (VerifyPinDataOutput) GoString ¶
func (s VerifyPinDataOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VerifyPinDataOutput) SetEncryptionKeyArn ¶
func (s *VerifyPinDataOutput) SetEncryptionKeyArn(v string) *VerifyPinDataOutput
SetEncryptionKeyArn sets the EncryptionKeyArn field's value.
func (*VerifyPinDataOutput) SetEncryptionKeyCheckValue ¶
func (s *VerifyPinDataOutput) SetEncryptionKeyCheckValue(v string) *VerifyPinDataOutput
SetEncryptionKeyCheckValue sets the EncryptionKeyCheckValue field's value.
func (*VerifyPinDataOutput) SetVerificationKeyArn ¶
func (s *VerifyPinDataOutput) SetVerificationKeyArn(v string) *VerifyPinDataOutput
SetVerificationKeyArn sets the VerificationKeyArn field's value.
func (*VerifyPinDataOutput) SetVerificationKeyCheckValue ¶
func (s *VerifyPinDataOutput) SetVerificationKeyCheckValue(v string) *VerifyPinDataOutput
SetVerificationKeyCheckValue sets the VerificationKeyCheckValue field's value.
func (VerifyPinDataOutput) String ¶
func (s VerifyPinDataOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type VisaPin ¶
type VisaPin struct { // The value for PIN verification index. It is used in the Visa PIN algorithm // to calculate the PVV (PIN Verification Value). // // PinVerificationKeyIndex is a required field PinVerificationKeyIndex *int64 `type:"integer" required:"true"` // contains filtered or unexported fields }
Parameters that are required to generate or verify Visa PIN.
func (VisaPin) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VisaPin) SetPinVerificationKeyIndex ¶
SetPinVerificationKeyIndex sets the PinVerificationKeyIndex field's value.
type VisaPinVerification ¶
type VisaPinVerification struct { // The value for PIN verification index. It is used in the Visa PIN algorithm // to calculate the PVV (PIN Verification Value). // // PinVerificationKeyIndex is a required field PinVerificationKeyIndex *int64 `type:"integer" required:"true"` // Parameters that are required to generate or verify Visa PVV (PIN Verification // Value). // // VerificationValue is a required field VerificationValue *string `min:"4" type:"string" required:"true"` // contains filtered or unexported fields }
Parameters that are required to generate or verify Visa PIN.
func (VisaPinVerification) GoString ¶
func (s VisaPinVerification) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VisaPinVerification) SetPinVerificationKeyIndex ¶
func (s *VisaPinVerification) SetPinVerificationKeyIndex(v int64) *VisaPinVerification
SetPinVerificationKeyIndex sets the PinVerificationKeyIndex field's value.
func (*VisaPinVerification) SetVerificationValue ¶
func (s *VisaPinVerification) SetVerificationValue(v string) *VisaPinVerification
SetVerificationValue sets the VerificationValue field's value.
func (VisaPinVerification) String ¶
func (s VisaPinVerification) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VisaPinVerification) Validate ¶
func (s *VisaPinVerification) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VisaPinVerificationValue ¶
type VisaPinVerificationValue struct { // The encrypted PIN block data to verify. // // EncryptedPinBlock is a required field EncryptedPinBlock *string `min:"16" type:"string" required:"true"` // The value for PIN verification index. It is used in the Visa PIN algorithm // to calculate the PVV (PIN Verification Value). // // PinVerificationKeyIndex is a required field PinVerificationKeyIndex *int64 `type:"integer" required:"true"` // contains filtered or unexported fields }
Parameters that are required to generate or verify Visa PVV (PIN Verification Value).
func (VisaPinVerificationValue) GoString ¶
func (s VisaPinVerificationValue) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VisaPinVerificationValue) SetEncryptedPinBlock ¶
func (s *VisaPinVerificationValue) SetEncryptedPinBlock(v string) *VisaPinVerificationValue
SetEncryptedPinBlock sets the EncryptedPinBlock field's value.
func (*VisaPinVerificationValue) SetPinVerificationKeyIndex ¶
func (s *VisaPinVerificationValue) SetPinVerificationKeyIndex(v int64) *VisaPinVerificationValue
SetPinVerificationKeyIndex sets the PinVerificationKeyIndex field's value.
func (VisaPinVerificationValue) String ¶
func (s VisaPinVerificationValue) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VisaPinVerificationValue) Validate ¶
func (s *VisaPinVerificationValue) Validate() error
Validate inspects the fields of the type to determine if they are valid.
Directories ¶
Path | Synopsis |
---|---|
Package paymentcryptographydataiface provides an interface to enable mocking the Payment Cryptography Data Plane service client for testing your code.
|
Package paymentcryptographydataiface provides an interface to enable mocking the Payment Cryptography Data Plane service client for testing your code. |