#[non_exhaustive]pub struct Ibm3624PinOffset {
pub encrypted_pin_block: String,
pub decimalization_table: String,
pub pin_validation_data_pad_character: String,
pub pin_validation_data: String,
}Expand description
Pparameters that are required to generate or verify Ibm3624 PIN offset PIN.
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.encrypted_pin_block: StringThe encrypted PIN block data. According to ISO 9564 standard, a PIN Block is an encoded representation of a payment card Personal Account Number (PAN) and the cardholder Personal Identification Number (PIN).
decimalization_table: StringThe decimalization table to use for IBM 3624 PIN algorithm. The table is used to convert the algorithm intermediate result from hexadecimal characters to decimal.
pin_validation_data_pad_character: StringThe padding character for validation data.
pin_validation_data: StringThe unique data for cardholder identification.
Implementations§
source§impl Ibm3624PinOffset
impl Ibm3624PinOffset
sourcepub fn encrypted_pin_block(&self) -> &str
pub fn encrypted_pin_block(&self) -> &str
The encrypted PIN block data. According to ISO 9564 standard, a PIN Block is an encoded representation of a payment card Personal Account Number (PAN) and the cardholder Personal Identification Number (PIN).
sourcepub fn decimalization_table(&self) -> &str
pub fn decimalization_table(&self) -> &str
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.
sourcepub fn pin_validation_data_pad_character(&self) -> &str
pub fn pin_validation_data_pad_character(&self) -> &str
The padding character for validation data.
sourcepub fn pin_validation_data(&self) -> &str
pub fn pin_validation_data(&self) -> &str
The unique data for cardholder identification.
source§impl Ibm3624PinOffset
impl Ibm3624PinOffset
sourcepub fn builder() -> Ibm3624PinOffsetBuilder
pub fn builder() -> Ibm3624PinOffsetBuilder
Creates a new builder-style object to manufacture Ibm3624PinOffset.
Trait Implementations§
source§impl Clone for Ibm3624PinOffset
impl Clone for Ibm3624PinOffset
source§fn clone(&self) -> Ibm3624PinOffset
fn clone(&self) -> Ibm3624PinOffset
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for Ibm3624PinOffset
impl Debug for Ibm3624PinOffset
source§impl PartialEq for Ibm3624PinOffset
impl PartialEq for Ibm3624PinOffset
source§fn eq(&self, other: &Ibm3624PinOffset) -> bool
fn eq(&self, other: &Ibm3624PinOffset) -> bool
self and other values to be equal, and is used
by ==.