#[non_exhaustive]pub struct EncryptDataOutput {
pub key_arn: String,
pub key_check_value: Option<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
of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.
key_check_value: 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.
cipher_text: String
The encrypted ciphertext.
Implementations§
source§impl EncryptDataOutput
impl EncryptDataOutput
sourcepub fn key_arn(&self) -> &str
pub fn key_arn(&self) -> &str
The keyARN
of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.
sourcepub fn key_check_value(&self) -> Option<&str>
pub fn key_check_value(&self) -> Option<&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 computes the KCV according to the CMAC specification.
sourcepub fn cipher_text(&self) -> &str
pub fn cipher_text(&self) -> &str
The encrypted ciphertext.
source§impl EncryptDataOutput
impl EncryptDataOutput
sourcepub fn builder() -> EncryptDataOutputBuilder
pub fn builder() -> EncryptDataOutputBuilder
Creates a new builder-style object to manufacture EncryptDataOutput
.
Trait Implementations§
source§impl Clone for EncryptDataOutput
impl Clone for EncryptDataOutput
source§fn clone(&self) -> EncryptDataOutput
fn clone(&self) -> EncryptDataOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EncryptDataOutput
impl Debug for EncryptDataOutput
source§impl PartialEq for EncryptDataOutput
impl PartialEq for EncryptDataOutput
source§impl RequestId for EncryptDataOutput
impl RequestId for EncryptDataOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for EncryptDataOutput
Auto Trait Implementations§
impl Freeze for EncryptDataOutput
impl RefUnwindSafe for EncryptDataOutput
impl Send for EncryptDataOutput
impl Sync for EncryptDataOutput
impl Unpin for EncryptDataOutput
impl UnwindSafe for EncryptDataOutput
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