Struct aws_sdk_kms::types::builders::RecipientInfoBuilder
source · #[non_exhaustive]pub struct RecipientInfoBuilder { /* private fields */ }
Expand description
A builder for RecipientInfo
.
Implementations§
source§impl RecipientInfoBuilder
impl RecipientInfoBuilder
sourcepub fn key_encryption_algorithm(self, input: KeyEncryptionMechanism) -> Self
pub fn key_encryption_algorithm(self, input: KeyEncryptionMechanism) -> Self
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 set_key_encryption_algorithm(
self,
input: Option<KeyEncryptionMechanism>
) -> Self
pub fn set_key_encryption_algorithm( self, input: Option<KeyEncryptionMechanism> ) -> Self
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 get_key_encryption_algorithm(&self) -> &Option<KeyEncryptionMechanism>
pub fn get_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, input: Blob) -> Self
pub fn attestation_document(self, input: Blob) -> Self
The attestation document for an Amazon Web Services Nitro Enclave. This document includes the enclave's public key.
sourcepub fn set_attestation_document(self, input: Option<Blob>) -> Self
pub fn set_attestation_document(self, input: Option<Blob>) -> Self
The attestation document for an Amazon Web Services Nitro Enclave. This document includes the enclave's public key.
sourcepub fn get_attestation_document(&self) -> &Option<Blob>
pub fn get_attestation_document(&self) -> &Option<Blob>
The attestation document for an Amazon Web Services Nitro Enclave. This document includes the enclave's public key.
sourcepub fn build(self) -> RecipientInfo
pub fn build(self) -> RecipientInfo
Consumes the builder and constructs a RecipientInfo
.
Trait Implementations§
source§impl Clone for RecipientInfoBuilder
impl Clone for RecipientInfoBuilder
source§fn clone(&self) -> RecipientInfoBuilder
fn clone(&self) -> RecipientInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RecipientInfoBuilder
impl Debug for RecipientInfoBuilder
source§impl Default for RecipientInfoBuilder
impl Default for RecipientInfoBuilder
source§fn default() -> RecipientInfoBuilder
fn default() -> RecipientInfoBuilder
source§impl PartialEq for RecipientInfoBuilder
impl PartialEq for RecipientInfoBuilder
source§fn eq(&self, other: &RecipientInfoBuilder) -> bool
fn eq(&self, other: &RecipientInfoBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.