#[non_exhaustive]pub struct ReEncryptDataOutput {
pub key_arn: String,
pub key_check_value: String,
pub cipher_text: 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 (Amazon Resource Name) of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.
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.
cipher_text: String
The encrypted ciphertext.
Implementations§
source§impl ReEncryptDataOutput
impl ReEncryptDataOutput
sourcepub fn key_arn(&self) -> &str
pub fn key_arn(&self) -> &str
The keyARN (Amazon Resource Name) of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.
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 cipher_text(&self) -> &str
pub fn cipher_text(&self) -> &str
The encrypted ciphertext.
source§impl ReEncryptDataOutput
impl ReEncryptDataOutput
sourcepub fn builder() -> ReEncryptDataOutputBuilder
pub fn builder() -> ReEncryptDataOutputBuilder
Creates a new builder-style object to manufacture ReEncryptDataOutput
.
Trait Implementations§
source§impl Clone for ReEncryptDataOutput
impl Clone for ReEncryptDataOutput
source§fn clone(&self) -> ReEncryptDataOutput
fn clone(&self) -> ReEncryptDataOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReEncryptDataOutput
impl Debug for ReEncryptDataOutput
source§impl PartialEq for ReEncryptDataOutput
impl PartialEq for ReEncryptDataOutput
source§fn eq(&self, other: &ReEncryptDataOutput) -> bool
fn eq(&self, other: &ReEncryptDataOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ReEncryptDataOutput
impl RequestId for ReEncryptDataOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.