Struct aws_sdk_kms::types::RecipientInfo
source · #[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
source§fn eq(&self, other: &RecipientInfo) -> bool
fn eq(&self, other: &RecipientInfo) -> bool
self
and other
values to be equal, and is used
by ==
.