#[non_exhaustive]pub struct ImportKeyCryptogram {
pub key_attributes: Option<KeyAttributes>,
pub exportable: bool,
pub wrapped_key_cryptogram: String,
pub import_token: String,
pub wrapping_spec: Option<WrappingKeySpec>,
}Expand description
Parameter information for key material import using asymmetric RSA wrap and unwrap key exchange method.
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_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.
exportable: boolSpecifies whether the key is exportable from the service.
wrapped_key_cryptogram: StringThe RSA wrapped key cryptogram under import.
import_token: StringThe import token that initiates key import using the asymmetric RSA wrap and unwrap key exchange method into AWS Payment Cryptography. It expires after 7 days. You can use the same import token to import multiple keys to the same service account.
wrapping_spec: Option<WrappingKeySpec>The wrapping spec for the wrapped key cryptogram.
Implementations§
source§impl ImportKeyCryptogram
impl ImportKeyCryptogram
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 exportable(&self) -> bool
pub fn exportable(&self) -> bool
Specifies whether the key is exportable from the service.
sourcepub fn wrapped_key_cryptogram(&self) -> &str
pub fn wrapped_key_cryptogram(&self) -> &str
The RSA wrapped key cryptogram under import.
sourcepub fn import_token(&self) -> &str
pub fn import_token(&self) -> &str
The import token that initiates key import using the asymmetric RSA wrap and unwrap key exchange method into AWS Payment Cryptography. It expires after 7 days. You can use the same import token to import multiple keys to the same service account.
sourcepub fn wrapping_spec(&self) -> Option<&WrappingKeySpec>
pub fn wrapping_spec(&self) -> Option<&WrappingKeySpec>
The wrapping spec for the wrapped key cryptogram.
source§impl ImportKeyCryptogram
impl ImportKeyCryptogram
sourcepub fn builder() -> ImportKeyCryptogramBuilder
pub fn builder() -> ImportKeyCryptogramBuilder
Creates a new builder-style object to manufacture ImportKeyCryptogram.
Trait Implementations§
source§impl Clone for ImportKeyCryptogram
impl Clone for ImportKeyCryptogram
source§fn clone(&self) -> ImportKeyCryptogram
fn clone(&self) -> ImportKeyCryptogram
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ImportKeyCryptogram
impl Debug for ImportKeyCryptogram
source§impl PartialEq for ImportKeyCryptogram
impl PartialEq for ImportKeyCryptogram
source§fn eq(&self, other: &ImportKeyCryptogram) -> bool
fn eq(&self, other: &ImportKeyCryptogram) -> bool
self and other values to be equal, and is used
by ==.