#[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 ==
.impl StructuralPartialEq for GeneratePinDataInput
Auto Trait Implementations§
impl Freeze for GeneratePinDataInput
impl RefUnwindSafe for GeneratePinDataInput
impl Send for GeneratePinDataInput
impl Sync for GeneratePinDataInput
impl Unpin for GeneratePinDataInput
impl UnwindSafe for GeneratePinDataInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more