#[non_exhaustive]pub struct GeneratePinDataInput {
pub generation_key_identifier: Option<String>,
pub encryption_key_identifier: Option<String>,
pub generation_attributes: Option<PinGenerationAttributes>,
pub pin_data_length: Option<i32>,
pub primary_account_number: Option<String>,
pub pin_block_format: Option<PinBlockFormatForPinData>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.generation_key_identifier: Option<String>
The keyARN
of the PEK that Amazon Web Services Payment Cryptography uses for pin data generation.
encryption_key_identifier: Option<String>
The keyARN
of the PEK that Amazon Web Services Payment Cryptography uses to encrypt the PIN Block.
generation_attributes: Option<PinGenerationAttributes>
The attributes and values to use for PIN, PVV, or PIN Offset generation.
pin_data_length: Option<i32>
The length of PIN under generation.
primary_account_number: Option<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.
pin_block_format: Option<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.
Implementations§
source§impl GeneratePinDataInput
impl GeneratePinDataInput
sourcepub fn generation_key_identifier(&self) -> Option<&str>
pub fn generation_key_identifier(&self) -> Option<&str>
The keyARN
of the PEK that Amazon Web Services Payment Cryptography uses for pin data generation.
sourcepub fn encryption_key_identifier(&self) -> Option<&str>
pub fn encryption_key_identifier(&self) -> Option<&str>
The keyARN
of the PEK that Amazon Web Services Payment Cryptography uses to encrypt the PIN Block.
sourcepub fn generation_attributes(&self) -> Option<&PinGenerationAttributes>
pub fn generation_attributes(&self) -> Option<&PinGenerationAttributes>
The attributes and values to use for PIN, PVV, or PIN Offset generation.
sourcepub fn pin_data_length(&self) -> Option<i32>
pub fn pin_data_length(&self) -> Option<i32>
The length of PIN under generation.
sourcepub fn primary_account_number(&self) -> Option<&str>
pub fn primary_account_number(&self) -> Option<&str>
The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.
sourcepub fn pin_block_format(&self) -> Option<&PinBlockFormatForPinData>
pub fn pin_block_format(&self) -> Option<&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.
source§impl GeneratePinDataInput
impl GeneratePinDataInput
sourcepub fn builder() -> GeneratePinDataInputBuilder
pub fn builder() -> GeneratePinDataInputBuilder
Creates a new builder-style object to manufacture GeneratePinDataInput
.
Trait Implementations§
source§impl Clone for GeneratePinDataInput
impl Clone for GeneratePinDataInput
source§fn clone(&self) -> GeneratePinDataInput
fn clone(&self) -> GeneratePinDataInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GeneratePinDataInput
impl Debug for GeneratePinDataInput
source§impl PartialEq for GeneratePinDataInput
impl PartialEq for GeneratePinDataInput
source§fn eq(&self, other: &GeneratePinDataInput) -> bool
fn eq(&self, other: &GeneratePinDataInput) -> bool
self
and other
values to be equal, and is used
by ==
.