Interface GeneratePinDataResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GeneratePinDataResponse.Builder,
,GeneratePinDataResponse> PaymentCryptographyDataResponse.Builder
,SdkBuilder<GeneratePinDataResponse.Builder,
,GeneratePinDataResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GeneratePinDataResponse
-
Method Summary
Modifier and TypeMethodDescriptionencryptedPinBlock
(String encryptedPinBlock) The PIN block encrypted under PEK from Amazon Web Services Payment Cryptography.encryptionKeyArn
(String encryptionKeyArn) ThekeyARN
of the PEK that Amazon Web Services Payment Cryptography uses for encrypted pin block generation.encryptionKeyCheckValue
(String encryptionKeyCheckValue) The key check value (KCV) of the encryption key.generationKeyArn
(String generationKeyArn) ThekeyARN
of the pin data generation key that Amazon Web Services Payment Cryptography uses for PIN, PVV or PIN Offset generation.generationKeyCheckValue
(String generationKeyCheckValue) The key check value (KCV) of the encryption key.default GeneratePinDataResponse.Builder
pinData
(Consumer<PinData.Builder> pinData) The attributes and values Amazon Web Services Payment Cryptography uses for pin data generation.The attributes and values Amazon Web Services Payment Cryptography uses for pin data generation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.paymentcryptographydata.model.PaymentCryptographyDataResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
generationKeyArn
The
keyARN
of the pin data generation key that Amazon Web Services Payment Cryptography uses for PIN, PVV or PIN Offset generation.- Parameters:
generationKeyArn
- ThekeyARN
of the pin data generation key that Amazon Web Services Payment Cryptography uses for PIN, PVV or PIN Offset generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generationKeyCheckValue
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.
- Parameters:
generationKeyCheckValue
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionKeyArn
The
keyARN
of the PEK that Amazon Web Services Payment Cryptography uses for encrypted pin block generation. For ECDH, it is thekeyARN
of the asymmetric ECC key.- Parameters:
encryptionKeyArn
- ThekeyARN
of the PEK that Amazon Web Services Payment Cryptography uses for encrypted pin block generation. For ECDH, it is thekeyARN
of the asymmetric ECC key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionKeyCheckValue
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.
- Parameters:
encryptionKeyCheckValue
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptedPinBlock
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.
- Parameters:
encryptedPinBlock
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pinData
The attributes and values Amazon Web Services Payment Cryptography uses for pin data generation.
- Parameters:
pinData
- The attributes and values Amazon Web Services Payment Cryptography uses for pin data generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pinData
The attributes and values Amazon Web Services Payment Cryptography uses for pin data generation.
This is a convenience method that creates an instance of thePinData.Builder
avoiding the need to create one manually viaPinData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topinData(PinData)
.- Parameters:
pinData
- a consumer that will call methods onPinData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-