Struct aws_sdk_paymentcryptographydata::operation::generate_pin_data::builders::GeneratePinDataOutputBuilder
source · #[non_exhaustive]pub struct GeneratePinDataOutputBuilder { /* private fields */ }
Expand description
A builder for GeneratePinDataOutput
.
Implementations§
source§impl GeneratePinDataOutputBuilder
impl GeneratePinDataOutputBuilder
sourcepub fn generation_key_arn(self, input: impl Into<String>) -> Self
pub fn generation_key_arn(self, input: impl Into<String>) -> Self
The keyARN
of the pin data generation key that Amazon Web Services Payment Cryptography uses for PIN, PVV or PIN Offset generation.
sourcepub fn set_generation_key_arn(self, input: Option<String>) -> Self
pub fn set_generation_key_arn(self, input: Option<String>) -> Self
The keyARN
of the pin data generation key that Amazon Web Services Payment Cryptography uses for PIN, PVV or PIN Offset generation.
sourcepub fn get_generation_key_arn(&self) -> &Option<String>
pub fn get_generation_key_arn(&self) -> &Option<String>
The keyARN
of the pin data generation key that Amazon Web Services Payment Cryptography uses for PIN, PVV or PIN Offset generation.
sourcepub fn generation_key_check_value(self, input: impl Into<String>) -> Self
pub fn generation_key_check_value(self, input: impl Into<String>) -> Self
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 calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.
This field is required.sourcepub fn set_generation_key_check_value(self, input: Option<String>) -> Self
pub fn set_generation_key_check_value(self, input: Option<String>) -> Self
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 calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.
sourcepub fn get_generation_key_check_value(&self) -> &Option<String>
pub fn get_generation_key_check_value(&self) -> &Option<String>
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 calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.
sourcepub fn encryption_key_arn(self, input: impl Into<String>) -> Self
pub fn encryption_key_arn(self, input: impl Into<String>) -> Self
The keyARN
of the PEK that Amazon Web Services Payment Cryptography uses for encrypted pin block generation.
sourcepub fn set_encryption_key_arn(self, input: Option<String>) -> Self
pub fn set_encryption_key_arn(self, input: Option<String>) -> Self
The keyARN
of the PEK that Amazon Web Services Payment Cryptography uses for encrypted pin block generation.
sourcepub fn get_encryption_key_arn(&self) -> &Option<String>
pub fn get_encryption_key_arn(&self) -> &Option<String>
The keyARN
of the PEK that Amazon Web Services Payment Cryptography uses for encrypted pin block generation.
sourcepub fn encryption_key_check_value(self, input: impl Into<String>) -> Self
pub fn encryption_key_check_value(self, input: impl Into<String>) -> Self
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 calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.
This field is required.sourcepub fn set_encryption_key_check_value(self, input: Option<String>) -> Self
pub fn set_encryption_key_check_value(self, input: Option<String>) -> Self
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 calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.
sourcepub fn get_encryption_key_check_value(&self) -> &Option<String>
pub fn get_encryption_key_check_value(&self) -> &Option<String>
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 calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.
sourcepub fn encrypted_pin_block(self, input: impl Into<String>) -> Self
pub fn encrypted_pin_block(self, input: impl Into<String>) -> Self
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.
This field is required.sourcepub fn set_encrypted_pin_block(self, input: Option<String>) -> Self
pub fn set_encrypted_pin_block(self, input: Option<String>) -> Self
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.
sourcepub fn get_encrypted_pin_block(&self) -> &Option<String>
pub fn get_encrypted_pin_block(&self) -> &Option<String>
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.
sourcepub fn pin_data(self, input: PinData) -> Self
pub fn pin_data(self, input: PinData) -> Self
The attributes and values Amazon Web Services Payment Cryptography uses for pin data generation.
This field is required.sourcepub fn set_pin_data(self, input: Option<PinData>) -> Self
pub fn set_pin_data(self, input: Option<PinData>) -> Self
The attributes and values Amazon Web Services Payment Cryptography uses for pin data generation.
sourcepub fn get_pin_data(&self) -> &Option<PinData>
pub fn get_pin_data(&self) -> &Option<PinData>
The attributes and values Amazon Web Services Payment Cryptography uses for pin data generation.
sourcepub fn build(self) -> Result<GeneratePinDataOutput, BuildError>
pub fn build(self) -> Result<GeneratePinDataOutput, BuildError>
Consumes the builder and constructs a GeneratePinDataOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GeneratePinDataOutputBuilder
impl Clone for GeneratePinDataOutputBuilder
source§fn clone(&self) -> GeneratePinDataOutputBuilder
fn clone(&self) -> GeneratePinDataOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GeneratePinDataOutputBuilder
impl Debug for GeneratePinDataOutputBuilder
source§impl Default for GeneratePinDataOutputBuilder
impl Default for GeneratePinDataOutputBuilder
source§fn default() -> GeneratePinDataOutputBuilder
fn default() -> GeneratePinDataOutputBuilder
source§impl PartialEq for GeneratePinDataOutputBuilder
impl PartialEq for GeneratePinDataOutputBuilder
source§fn eq(&self, other: &GeneratePinDataOutputBuilder) -> bool
fn eq(&self, other: &GeneratePinDataOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.