#[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 ==.impl StructuralPartialEq for ImportKeyCryptogram
Auto Trait Implementations§
impl Freeze for ImportKeyCryptogram
impl RefUnwindSafe for ImportKeyCryptogram
impl Send for ImportKeyCryptogram
impl Sync for ImportKeyCryptogram
impl Unpin for ImportKeyCryptogram
impl UnwindSafe for ImportKeyCryptogram
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more