Struct aws_sdk_kms::operation::generate_data_key_pair_without_plaintext::GenerateDataKeyPairWithoutPlaintextOutput
source · #[non_exhaustive]pub struct GenerateDataKeyPairWithoutPlaintextOutput {
pub private_key_ciphertext_blob: Option<Blob>,
pub public_key: Option<Blob>,
pub key_id: Option<String>,
pub key_pair_spec: Option<DataKeyPairSpec>,
/* private fields */
}
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.private_key_ciphertext_blob: Option<Blob>
The encrypted copy of the private key. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
public_key: Option<Blob>
The public key (in plaintext). When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
key_id: Option<String>
The Amazon Resource Name (key ARN) of the KMS key that encrypted the private key.
key_pair_spec: Option<DataKeyPairSpec>
The type of data key pair that was generated.
Implementations§
source§impl GenerateDataKeyPairWithoutPlaintextOutput
impl GenerateDataKeyPairWithoutPlaintextOutput
sourcepub fn private_key_ciphertext_blob(&self) -> Option<&Blob>
pub fn private_key_ciphertext_blob(&self) -> Option<&Blob>
The encrypted copy of the private key. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
sourcepub fn public_key(&self) -> Option<&Blob>
pub fn public_key(&self) -> Option<&Blob>
The public key (in plaintext). When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
sourcepub fn key_id(&self) -> Option<&str>
pub fn key_id(&self) -> Option<&str>
The Amazon Resource Name (key ARN) of the KMS key that encrypted the private key.
sourcepub fn key_pair_spec(&self) -> Option<&DataKeyPairSpec>
pub fn key_pair_spec(&self) -> Option<&DataKeyPairSpec>
The type of data key pair that was generated.
source§impl GenerateDataKeyPairWithoutPlaintextOutput
impl GenerateDataKeyPairWithoutPlaintextOutput
sourcepub fn builder() -> GenerateDataKeyPairWithoutPlaintextOutputBuilder
pub fn builder() -> GenerateDataKeyPairWithoutPlaintextOutputBuilder
Creates a new builder-style object to manufacture GenerateDataKeyPairWithoutPlaintextOutput
.
Trait Implementations§
source§impl Clone for GenerateDataKeyPairWithoutPlaintextOutput
impl Clone for GenerateDataKeyPairWithoutPlaintextOutput
source§fn clone(&self) -> GenerateDataKeyPairWithoutPlaintextOutput
fn clone(&self) -> GenerateDataKeyPairWithoutPlaintextOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for GenerateDataKeyPairWithoutPlaintextOutput
impl PartialEq for GenerateDataKeyPairWithoutPlaintextOutput
source§fn eq(&self, other: &GenerateDataKeyPairWithoutPlaintextOutput) -> bool
fn eq(&self, other: &GenerateDataKeyPairWithoutPlaintextOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GenerateDataKeyPairWithoutPlaintextOutput
impl RequestId for GenerateDataKeyPairWithoutPlaintextOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.