Struct aws_sdk_paymentcryptography::types::KeySummary
source · #[non_exhaustive]pub struct KeySummary {
pub key_arn: String,
pub key_state: KeyState,
pub key_attributes: Option<KeyAttributes>,
pub key_check_value: String,
pub exportable: bool,
pub enabled: 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: StringThe Amazon Resource Name (ARN) of the key.
key_state: KeyStateThe 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: StringThe 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.
exportable: boolSpecifies whether the key is exportable. This data is immutable after the key is created.
enabled: boolSpecifies whether the key is enabled.
Implementations§
source§impl KeySummary
impl KeySummary
sourcepub fn key_state(&self) -> &KeyState
pub fn key_state(&self) -> &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) -> &str
pub fn key_check_value(&self) -> &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.
sourcepub fn exportable(&self) -> bool
pub fn exportable(&self) -> 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 ==.