#[non_exhaustive]pub struct RecipientInfo {
pub key_encryption_algorithm: Option<KeyEncryptionMechanism>,
pub attestation_document: Option<Blob>,
}
Expand description
Contains information about the party that receives the response from the API operation.
This data type is designed to support Amazon Web Services Nitro Enclaves, which lets you create an isolated compute environment in Amazon EC2. For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide.
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_encryption_algorithm: Option<KeyEncryptionMechanism>
The encryption algorithm that KMS should use with the public key for an Amazon Web Services Nitro Enclave to encrypt plaintext values for the response. The only valid value is RSAES_OAEP_SHA_256
.
attestation_document: Option<Blob>
The attestation document for an Amazon Web Services Nitro Enclave. This document includes the enclave's public key.
Implementations§
Source§impl RecipientInfo
impl RecipientInfo
Sourcepub fn key_encryption_algorithm(&self) -> Option<&KeyEncryptionMechanism>
pub fn key_encryption_algorithm(&self) -> Option<&KeyEncryptionMechanism>
The encryption algorithm that KMS should use with the public key for an Amazon Web Services Nitro Enclave to encrypt plaintext values for the response. The only valid value is RSAES_OAEP_SHA_256
.
Sourcepub fn attestation_document(&self) -> Option<&Blob>
pub fn attestation_document(&self) -> Option<&Blob>
The attestation document for an Amazon Web Services Nitro Enclave. This document includes the enclave's public key.
Source§impl RecipientInfo
impl RecipientInfo
Sourcepub fn builder() -> RecipientInfoBuilder
pub fn builder() -> RecipientInfoBuilder
Creates a new builder-style object to manufacture RecipientInfo
.
Trait Implementations§
Source§impl Clone for RecipientInfo
impl Clone for RecipientInfo
Source§fn clone(&self) -> RecipientInfo
fn clone(&self) -> RecipientInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for RecipientInfo
impl Debug for RecipientInfo
Source§impl PartialEq for RecipientInfo
impl PartialEq for RecipientInfo
impl StructuralPartialEq for RecipientInfo
Auto Trait Implementations§
impl Freeze for RecipientInfo
impl RefUnwindSafe for RecipientInfo
impl Send for RecipientInfo
impl Sync for RecipientInfo
impl Unpin for RecipientInfo
impl UnwindSafe for RecipientInfo
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§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