Struct aws_sdk_paymentcryptographydata::operation::verify_pin_data::builders::VerifyPinDataOutputBuilder
source · #[non_exhaustive]pub struct VerifyPinDataOutputBuilder { /* private fields */ }
Expand description
A builder for VerifyPinDataOutput
.
Implementations§
source§impl VerifyPinDataOutputBuilder
impl VerifyPinDataOutputBuilder
sourcepub fn verification_key_arn(self, input: impl Into<String>) -> Self
pub fn verification_key_arn(self, input: impl Into<String>) -> Self
The keyARN
of the PIN encryption key that Amazon Web Services Payment Cryptography uses for PIN or PIN Offset verification.
sourcepub fn set_verification_key_arn(self, input: Option<String>) -> Self
pub fn set_verification_key_arn(self, input: Option<String>) -> Self
The keyARN
of the PIN encryption key that Amazon Web Services Payment Cryptography uses for PIN or PIN Offset verification.
sourcepub fn get_verification_key_arn(&self) -> &Option<String>
pub fn get_verification_key_arn(&self) -> &Option<String>
The keyARN
of the PIN encryption key that Amazon Web Services Payment Cryptography uses for PIN or PIN Offset verification.
sourcepub fn verification_key_check_value(self, input: impl Into<String>) -> Self
pub fn verification_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 computes the KCV according to the CMAC specification.
This field is required.sourcepub fn set_verification_key_check_value(self, input: Option<String>) -> Self
pub fn set_verification_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 computes the KCV according to the CMAC specification.
sourcepub fn get_verification_key_check_value(&self) -> &Option<String>
pub fn get_verification_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 computes the KCV according to the CMAC specification.
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 computes the KCV according to the CMAC specification.
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 computes the KCV according to the CMAC specification.
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 computes the KCV according to the CMAC specification.
sourcepub fn build(self) -> Result<VerifyPinDataOutput, BuildError>
pub fn build(self) -> Result<VerifyPinDataOutput, BuildError>
Consumes the builder and constructs a VerifyPinDataOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for VerifyPinDataOutputBuilder
impl Clone for VerifyPinDataOutputBuilder
source§fn clone(&self) -> VerifyPinDataOutputBuilder
fn clone(&self) -> VerifyPinDataOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VerifyPinDataOutputBuilder
impl Debug for VerifyPinDataOutputBuilder
source§impl Default for VerifyPinDataOutputBuilder
impl Default for VerifyPinDataOutputBuilder
source§fn default() -> VerifyPinDataOutputBuilder
fn default() -> VerifyPinDataOutputBuilder
impl StructuralPartialEq for VerifyPinDataOutputBuilder
Auto Trait Implementations§
impl Freeze for VerifyPinDataOutputBuilder
impl RefUnwindSafe for VerifyPinDataOutputBuilder
impl Send for VerifyPinDataOutputBuilder
impl Sync for VerifyPinDataOutputBuilder
impl Unpin for VerifyPinDataOutputBuilder
impl UnwindSafe for VerifyPinDataOutputBuilder
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