Struct aws_sdk_paymentcryptographydata::operation::generate_card_validation_data::GenerateCardValidationDataOutput
source · #[non_exhaustive]pub struct GenerateCardValidationDataOutput {
pub key_arn: String,
pub key_check_value: String,
pub validation_data: String,
/* private fields */
}
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.key_arn: String
The keyARN
of the CVK encryption key that Amazon Web Services Payment Cryptography uses to generate CVV or CSC.
key_check_value: 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 calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.
validation_data: String
The CVV or CSC value that Amazon Web Services Payment Cryptography generates for the card.
Implementations§
source§impl GenerateCardValidationDataOutput
impl GenerateCardValidationDataOutput
sourcepub fn key_arn(&self) -> &str
pub fn key_arn(&self) -> &str
The keyARN
of the CVK encryption key that Amazon Web Services Payment Cryptography uses to generate CVV or CSC.
sourcepub fn key_check_value(&self) -> &str
pub fn key_check_value(&self) -> &str
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 calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.
sourcepub fn validation_data(&self) -> &str
pub fn validation_data(&self) -> &str
The CVV or CSC value that Amazon Web Services Payment Cryptography generates for the card.
source§impl GenerateCardValidationDataOutput
impl GenerateCardValidationDataOutput
sourcepub fn builder() -> GenerateCardValidationDataOutputBuilder
pub fn builder() -> GenerateCardValidationDataOutputBuilder
Creates a new builder-style object to manufacture GenerateCardValidationDataOutput
.
Trait Implementations§
source§impl Clone for GenerateCardValidationDataOutput
impl Clone for GenerateCardValidationDataOutput
source§fn clone(&self) -> GenerateCardValidationDataOutput
fn clone(&self) -> GenerateCardValidationDataOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for GenerateCardValidationDataOutput
impl PartialEq for GenerateCardValidationDataOutput
source§fn eq(&self, other: &GenerateCardValidationDataOutput) -> bool
fn eq(&self, other: &GenerateCardValidationDataOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GenerateCardValidationDataOutput
impl RequestId for GenerateCardValidationDataOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.