Struct aws_sdk_paymentcryptographydata::operation::re_encrypt_data::builders::ReEncryptDataOutputBuilder
source · #[non_exhaustive]pub struct ReEncryptDataOutputBuilder { /* private fields */ }
Expand description
A builder for ReEncryptDataOutput
.
Implementations§
source§impl ReEncryptDataOutputBuilder
impl ReEncryptDataOutputBuilder
sourcepub fn key_arn(self, input: impl Into<String>) -> Self
pub fn key_arn(self, input: impl Into<String>) -> Self
The keyARN (Amazon Resource Name) of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.
sourcepub fn set_key_arn(self, input: Option<String>) -> Self
pub fn set_key_arn(self, input: Option<String>) -> Self
The keyARN (Amazon Resource Name) of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.
sourcepub fn get_key_arn(&self) -> &Option<String>
pub fn get_key_arn(&self) -> &Option<String>
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, input: impl Into<String>) -> Self
pub fn 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 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 set_key_check_value(self, input: Option<String>) -> Self
pub fn set_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 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 get_key_check_value(&self) -> &Option<String>
pub fn get_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 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, input: impl Into<String>) -> Self
pub fn cipher_text(self, input: impl Into<String>) -> Self
The encrypted ciphertext.
sourcepub fn set_cipher_text(self, input: Option<String>) -> Self
pub fn set_cipher_text(self, input: Option<String>) -> Self
The encrypted ciphertext.
sourcepub fn get_cipher_text(&self) -> &Option<String>
pub fn get_cipher_text(&self) -> &Option<String>
The encrypted ciphertext.
sourcepub fn build(self) -> ReEncryptDataOutput
pub fn build(self) -> ReEncryptDataOutput
Consumes the builder and constructs a ReEncryptDataOutput
.
Trait Implementations§
source§impl Clone for ReEncryptDataOutputBuilder
impl Clone for ReEncryptDataOutputBuilder
source§fn clone(&self) -> ReEncryptDataOutputBuilder
fn clone(&self) -> ReEncryptDataOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReEncryptDataOutputBuilder
impl Debug for ReEncryptDataOutputBuilder
source§impl Default for ReEncryptDataOutputBuilder
impl Default for ReEncryptDataOutputBuilder
source§fn default() -> ReEncryptDataOutputBuilder
fn default() -> ReEncryptDataOutputBuilder
source§impl PartialEq<ReEncryptDataOutputBuilder> for ReEncryptDataOutputBuilder
impl PartialEq<ReEncryptDataOutputBuilder> for ReEncryptDataOutputBuilder
source§fn eq(&self, other: &ReEncryptDataOutputBuilder) -> bool
fn eq(&self, other: &ReEncryptDataOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.