AWS Tools for Windows PowerShell
Command Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Synopsis

Calls the Payment Cryptography Data VerifyPinData API operation.

Syntax

Test-PAYCDPinData
-VerificationKeyIdentifier <String>
-DiffieHellmanSymmetricKey_CertificateAuthorityPublicKeyIdentifier <String>
-Ibm3624Pin_DecimalizationTable <String>
-DukptAttributes_DukptDerivationType <DukptDerivationType>
-EncryptedPinBlock <String>
-EncryptionKeyIdentifier <String>
-DiffieHellmanSymmetricKey_KeyAlgorithm <SymmetricKeyAlgorithm>
-EncryptionWrappedKey_KeyCheckValueAlgorithm <KeyCheckValueAlgorithm>
-DiffieHellmanSymmetricKey_KeyDerivationFunction <KeyDerivationFunction>
-DiffieHellmanSymmetricKey_KeyDerivationHashAlgorithm <KeyDerivationHashAlgorithm>
-DukptAttributes_KeySerialNumber <String>
-PinBlockFormat <PinBlockFormatForPinData>
-PinDataLength <Int32>
-Ibm3624Pin_PinOffset <String>
-Ibm3624Pin_PinValidationData <String>
-Ibm3624Pin_PinValidationDataPadCharacter <String>
-VisaPin_PinVerificationKeyIndex <Int32>
-PrimaryAccountNumber <String>
-DiffieHellmanSymmetricKey_PublicKeyCertificate <String>
-DiffieHellmanSymmetricKey_SharedInformation <String>
-WrappedKeyMaterial_Tr31KeyBlock <String>
-VisaPin_VerificationValue <String>
-Select <String>
-ClientConfig <AmazonPaymentCryptographyDataConfig>

Description

Verifies pin-related data such as PIN and PIN Offset using algorithms including VISA PVV and IBM3624. For more information, see Verify PIN data 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 and Key types for specific data operations 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:

Parameters

Amazon.PowerShell.Cmdlets.PAYCD.AmazonPaymentCryptographyDataClientCmdlet.ClientConfig
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-DiffieHellmanSymmetricKey_CertificateAuthorityPublicKeyIdentifier <String>
The keyArn of the certificate that signed the client's PublicKeyCertificate.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesEncryptionWrappedKey_WrappedKeyMaterial_DiffieHellmanSymmetricKey_CertificateAuthorityPublicKeyIdentifier
-DiffieHellmanSymmetricKey_KeyAlgorithm <SymmetricKeyAlgorithm>
The key algorithm of the derived ECDH key.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesEncryptionWrappedKey_WrappedKeyMaterial_DiffieHellmanSymmetricKey_KeyAlgorithm
-DiffieHellmanSymmetricKey_KeyDerivationFunction <KeyDerivationFunction>
The key derivation function to use for deriving a key using ECDH.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesEncryptionWrappedKey_WrappedKeyMaterial_DiffieHellmanSymmetricKey_KeyDerivationFunction
-DiffieHellmanSymmetricKey_KeyDerivationHashAlgorithm <KeyDerivationHashAlgorithm>
The hash type to use for deriving a key using ECDH.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesEncryptionWrappedKey_WrappedKeyMaterial_DiffieHellmanSymmetricKey_KeyDerivationHashAlgorithm
-DiffieHellmanSymmetricKey_PublicKeyCertificate <String>
The client's public key certificate in PEM format (base64 encoded) to use for ECDH key derivation.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesEncryptionWrappedKey_WrappedKeyMaterial_DiffieHellmanSymmetricKey_PublicKeyCertificate
-DiffieHellmanSymmetricKey_SharedInformation <String>
A byte string containing information that binds the ECDH derived key to the two parties involved or to the context of the key.It may include details like identities of the two parties deriving the key, context of the operation, session IDs, and optionally a nonce. It must not contain zero bytes, and re-using shared information for multiple ECDH key derivations is not recommended.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesEncryptionWrappedKey_WrappedKeyMaterial_DiffieHellmanSymmetricKey_SharedInformation
-DukptAttributes_DukptDerivationType <DukptDerivationType>
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.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-DukptAttributes_KeySerialNumber <String>
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.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-EncryptedPinBlock <String>
The encrypted PIN block data that Amazon Web Services Payment Cryptography verifies.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-EncryptionKeyIdentifier <String>
The keyARN of the encryption key under which the PIN block data is encrypted. This key type can be PEK or BDK.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-EncryptionWrappedKey_KeyCheckValueAlgorithm <KeyCheckValueAlgorithm>
The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity.For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Ibm3624Pin_DecimalizationTable <String>
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.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_Ibm3624Pin_DecimalizationTable
-Ibm3624Pin_PinOffset <String>
The PIN offset value.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_Ibm3624Pin_PinOffset
-Ibm3624Pin_PinValidationData <String>
The unique data for cardholder identification.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_Ibm3624Pin_PinValidationData
-Ibm3624Pin_PinValidationDataPadCharacter <String>
The padding character for validation data.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_Ibm3624Pin_PinValidationDataPadCharacter
-PinBlockFormat <PinBlockFormatForPinData>
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.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-PinDataLength <Int32>
The length of PIN being verified.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-PrimaryAccountNumber <String>
The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-Select <String>
Use the -Select parameter to control the cmdlet output. The default value is '*'. Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.PaymentCryptographyData.Model.VerifyPinDataResponse). Specifying the name of a property of type Amazon.PaymentCryptographyData.Model.VerifyPinDataResponse will result in that property being returned. Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-VerificationKeyIdentifier <String>
The keyARN of the PIN verification key.
Required?True
Position?1
Accept pipeline input?True (ByValue, ByPropertyName)
-VisaPin_PinVerificationKeyIndex <Int32>
The value for PIN verification index. It is used in the Visa PIN algorithm to calculate the PVV (PIN Verification Value).
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_VisaPin_PinVerificationKeyIndex
-VisaPin_VerificationValue <String>
Parameters that are required to generate or verify Visa PVV (PIN Verification Value).
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_VisaPin_VerificationValue
-WrappedKeyMaterial_Tr31KeyBlock <String>
The TR-31 wrapped key block.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesEncryptionWrappedKey_WrappedKeyMaterial_Tr31KeyBlock

Common Credential and Region Parameters

-AccessKey <String>
The AWS access key for the user account. This can be a temporary access key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAK
-Credential <AWSCredentials>
An AWSCredentials object instance containing access and secret key information, and optionally a token for session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-EndpointUrl <String>
The endpoint to make the call against.Note: This parameter is primarily for internal AWS use and is not required/should not be specified for normal usage. The cmdlets normally determine which endpoint to call based on the region specified to the -Region parameter or set as default in the shell (via Set-DefaultAWSRegion). Only specify this parameter if you must direct the call to a specific custom endpoint.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-NetworkCredential <PSCredential>
Used with SAML-based authentication when ProfileName references a SAML role profile. Contains the network credentials to be supplied during authentication with the configured identity provider's endpoint. This parameter is not required if the user's default network identity can or should be used during authentication.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-ProfileLocation <String>
Used to specify the name and location of the ini-format credential file (shared with the AWS CLI and other AWS SDKs)If this optional parameter is omitted this cmdlet will search the encrypted credential file used by the AWS SDK for .NET and AWS Toolkit for Visual Studio first. If the profile is not found then the cmdlet will search in the ini-format credential file at the default location: (user's home directory)\.aws\credentials.If this parameter is specified then this cmdlet will only search the ini-format credential file at the location given.As the current folder can vary in a shell or during script execution it is advised that you use specify a fully qualified path instead of a relative path.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAWSProfilesLocation, ProfilesLocation
-ProfileName <String>
The user-defined name of an AWS credentials or SAML-based role profile containing credential information. The profile is expected to be found in the secure credential file shared with the AWS SDK for .NET and AWS Toolkit for Visual Studio. You can also specify the name of a profile stored in the .ini-format credential file used with the AWS CLI and other AWS SDKs.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesStoredCredentials, AWSProfileName
-Region <Object>
The system name of an AWS region or an AWSRegion instance. This governs the endpoint that will be used when calling service operations. Note that the AWS resources referenced in a call are usually region-specific.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesRegionToCall
-SecretKey <String>
The AWS secret key for the user account. This can be a temporary secret key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSK, SecretAccessKey
-SessionToken <String>
The session token if the access and secret keys are temporary session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesST

Outputs

This cmdlet returns an Amazon.PaymentCryptographyData.Model.VerifyPinDataResponse object containing multiple properties.

Supported Version

AWS Tools for PowerShell: 2.x.y.z