#[non_exhaustive]pub struct ReEncryptDataInput {
pub incoming_key_identifier: Option<String>,
pub outgoing_key_identifier: Option<String>,
pub cipher_text: Option<String>,
pub incoming_encryption_attributes: Option<ReEncryptionAttributes>,
pub outgoing_encryption_attributes: Option<ReEncryptionAttributes>,
pub incoming_wrapped_key: Option<WrappedKey>,
pub outgoing_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.incoming_key_identifier: Option<String>
The keyARN
of the encryption key of incoming ciphertext data.
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.
outgoing_key_identifier: Option<String>
The keyARN
of the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
cipher_text: Option<String>
Ciphertext to be encrypted. The minimum allowed length is 16 bytes and maximum allowed length is 4096 bytes.
incoming_encryption_attributes: Option<ReEncryptionAttributes>
The attributes and values for incoming ciphertext.
outgoing_encryption_attributes: Option<ReEncryptionAttributes>
The attributes and values for outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
incoming_wrapped_key: Option<WrappedKey>
The WrappedKeyBlock containing the encryption key of incoming ciphertext data.
outgoing_wrapped_key: Option<WrappedKey>
The WrappedKeyBlock containing the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
Implementations§
source§impl ReEncryptDataInput
impl ReEncryptDataInput
sourcepub fn incoming_key_identifier(&self) -> Option<&str>
pub fn incoming_key_identifier(&self) -> Option<&str>
The keyARN
of the encryption key of incoming ciphertext data.
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 outgoing_key_identifier(&self) -> Option<&str>
pub fn outgoing_key_identifier(&self) -> Option<&str>
The keyARN
of the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
sourcepub fn cipher_text(&self) -> Option<&str>
pub fn cipher_text(&self) -> Option<&str>
Ciphertext to be encrypted. The minimum allowed length is 16 bytes and maximum allowed length is 4096 bytes.
sourcepub fn incoming_encryption_attributes(&self) -> Option<&ReEncryptionAttributes>
pub fn incoming_encryption_attributes(&self) -> Option<&ReEncryptionAttributes>
The attributes and values for incoming ciphertext.
sourcepub fn outgoing_encryption_attributes(&self) -> Option<&ReEncryptionAttributes>
pub fn outgoing_encryption_attributes(&self) -> Option<&ReEncryptionAttributes>
The attributes and values for outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
sourcepub fn incoming_wrapped_key(&self) -> Option<&WrappedKey>
pub fn incoming_wrapped_key(&self) -> Option<&WrappedKey>
The WrappedKeyBlock containing the encryption key of incoming ciphertext data.
sourcepub fn outgoing_wrapped_key(&self) -> Option<&WrappedKey>
pub fn outgoing_wrapped_key(&self) -> Option<&WrappedKey>
The WrappedKeyBlock containing the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
source§impl ReEncryptDataInput
impl ReEncryptDataInput
sourcepub fn builder() -> ReEncryptDataInputBuilder
pub fn builder() -> ReEncryptDataInputBuilder
Creates a new builder-style object to manufacture ReEncryptDataInput
.
Trait Implementations§
source§impl Clone for ReEncryptDataInput
impl Clone for ReEncryptDataInput
source§fn clone(&self) -> ReEncryptDataInput
fn clone(&self) -> ReEncryptDataInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReEncryptDataInput
impl Debug for ReEncryptDataInput
source§impl PartialEq for ReEncryptDataInput
impl PartialEq for ReEncryptDataInput
impl StructuralPartialEq for ReEncryptDataInput
Auto Trait Implementations§
impl Freeze for ReEncryptDataInput
impl RefUnwindSafe for ReEncryptDataInput
impl Send for ReEncryptDataInput
impl Sync for ReEncryptDataInput
impl Unpin for ReEncryptDataInput
impl UnwindSafe for ReEncryptDataInput
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