#[non_exhaustive]pub struct DecryptDataInput {
pub key_identifier: Option<String>,
pub cipher_text: Option<String>,
pub decryption_attributes: Option<EncryptionDecryptionAttributes>,
pub wrapped_key: Option<WrappedKey>,
}
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_identifier: Option<String>
The keyARN
of the encryption key that Amazon Web Services Payment Cryptography uses for ciphertext decryption.
When a WrappedKeyBlock is provided, this value will be the identifier to the key wrapping key. Otherwise, it is the key identifier used to perform the operation.
cipher_text: Option<String>
The ciphertext to decrypt.
decryption_attributes: Option<EncryptionDecryptionAttributes>
The encryption key type and attributes for ciphertext decryption.
wrapped_key: Option<WrappedKey>
The WrappedKeyBlock containing the encryption key for ciphertext decryption.
Implementations§
source§impl DecryptDataInput
impl DecryptDataInput
sourcepub fn key_identifier(&self) -> Option<&str>
pub fn key_identifier(&self) -> Option<&str>
The keyARN
of the encryption key that Amazon Web Services Payment Cryptography uses for ciphertext decryption.
When a WrappedKeyBlock is provided, this value will be the identifier to the key wrapping key. Otherwise, it is the key identifier used to perform the operation.
sourcepub fn cipher_text(&self) -> Option<&str>
pub fn cipher_text(&self) -> Option<&str>
The ciphertext to decrypt.
sourcepub fn decryption_attributes(&self) -> Option<&EncryptionDecryptionAttributes>
pub fn decryption_attributes(&self) -> Option<&EncryptionDecryptionAttributes>
The encryption key type and attributes for ciphertext decryption.
sourcepub fn wrapped_key(&self) -> Option<&WrappedKey>
pub fn wrapped_key(&self) -> Option<&WrappedKey>
The WrappedKeyBlock containing the encryption key for ciphertext decryption.
source§impl DecryptDataInput
impl DecryptDataInput
sourcepub fn builder() -> DecryptDataInputBuilder
pub fn builder() -> DecryptDataInputBuilder
Creates a new builder-style object to manufacture DecryptDataInput
.
Trait Implementations§
source§impl Clone for DecryptDataInput
impl Clone for DecryptDataInput
source§fn clone(&self) -> DecryptDataInput
fn clone(&self) -> DecryptDataInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DecryptDataInput
impl Debug for DecryptDataInput
source§impl PartialEq for DecryptDataInput
impl PartialEq for DecryptDataInput
impl StructuralPartialEq for DecryptDataInput
Auto Trait Implementations§
impl Freeze for DecryptDataInput
impl RefUnwindSafe for DecryptDataInput
impl Send for DecryptDataInput
impl Sync for DecryptDataInput
impl Unpin for DecryptDataInput
impl UnwindSafe for DecryptDataInput
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