#[non_exhaustive]pub struct ExportDukptInitialKey {
pub key_serial_number: String,
}Expand description
Parameter information for IPEK generation during export.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.key_serial_number: StringThe KSN for IPEK generation using DUKPT.
KSN must be padded before sending to Amazon Web Services Payment Cryptography. KSN hex length should be 20 for a TDES_2KEY key or 24 for an AES key.
Implementations§
source§impl ExportDukptInitialKey
impl ExportDukptInitialKey
sourcepub fn key_serial_number(&self) -> &str
pub fn key_serial_number(&self) -> &str
The KSN for IPEK generation using DUKPT.
KSN must be padded before sending to Amazon Web Services Payment Cryptography. KSN hex length should be 20 for a TDES_2KEY key or 24 for an AES key.
source§impl ExportDukptInitialKey
impl ExportDukptInitialKey
sourcepub fn builder() -> ExportDukptInitialKeyBuilder
pub fn builder() -> ExportDukptInitialKeyBuilder
Creates a new builder-style object to manufacture ExportDukptInitialKey.
Trait Implementations§
source§impl Clone for ExportDukptInitialKey
impl Clone for ExportDukptInitialKey
source§fn clone(&self) -> ExportDukptInitialKey
fn clone(&self) -> ExportDukptInitialKey
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ExportDukptInitialKey
impl Debug for ExportDukptInitialKey
source§impl PartialEq for ExportDukptInitialKey
impl PartialEq for ExportDukptInitialKey
source§fn eq(&self, other: &ExportDukptInitialKey) -> bool
fn eq(&self, other: &ExportDukptInitialKey) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ExportDukptInitialKey
Auto Trait Implementations§
impl Freeze for ExportDukptInitialKey
impl RefUnwindSafe for ExportDukptInitialKey
impl Send for ExportDukptInitialKey
impl Sync for ExportDukptInitialKey
impl Unpin for ExportDukptInitialKey
impl UnwindSafe for ExportDukptInitialKey
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.