Struct aws_sdk_paymentcryptography::types::KeySummary
source · #[non_exhaustive]pub struct KeySummary {
pub key_arn: Option<String>,
pub key_state: Option<KeyState>,
pub key_attributes: Option<KeyAttributes>,
pub key_check_value: Option<String>,
pub exportable: Option<bool>,
pub enabled: Option<bool>,
}
Expand description
Metadata about an Amazon Web Services Payment Cryptography key.
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_arn: Option<String>
The Amazon Resource Name (ARN) of the key.
key_state: Option<KeyState>
The state of an Amazon Web Services Payment Cryptography that is being created or deleted.
key_attributes: Option<KeyAttributes>
The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.
key_check_value: Option<String>
The key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed. Amazon Web Services Payment Cryptography calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.
exportable: Option<bool>
Specifies whether the key is exportable. This data is immutable after the key is created.
enabled: Option<bool>
Specifies whether the key is enabled.
Implementations§
source§impl KeySummary
impl KeySummary
sourcepub fn key_state(&self) -> Option<&KeyState>
pub fn key_state(&self) -> Option<&KeyState>
The state of an Amazon Web Services Payment Cryptography that is being created or deleted.
sourcepub fn key_attributes(&self) -> Option<&KeyAttributes>
pub fn key_attributes(&self) -> Option<&KeyAttributes>
The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.
sourcepub fn key_check_value(&self) -> Option<&str>
pub fn key_check_value(&self) -> Option<&str>
The key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed. Amazon Web Services Payment Cryptography calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.
sourcepub fn exportable(&self) -> Option<bool>
pub fn exportable(&self) -> Option<bool>
Specifies whether the key is exportable. This data is immutable after the key is created.
source§impl KeySummary
impl KeySummary
sourcepub fn builder() -> KeySummaryBuilder
pub fn builder() -> KeySummaryBuilder
Creates a new builder-style object to manufacture KeySummary
.
Trait Implementations§
source§impl Clone for KeySummary
impl Clone for KeySummary
source§fn clone(&self) -> KeySummary
fn clone(&self) -> KeySummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for KeySummary
impl Debug for KeySummary
source§impl PartialEq for KeySummary
impl PartialEq for KeySummary
source§fn eq(&self, other: &KeySummary) -> bool
fn eq(&self, other: &KeySummary) -> bool
self
and other
values to be equal, and is used
by ==
.