#[non_exhaustive]pub struct ExportTr34KeyBlock {
pub certificate_authority_public_key_identifier: String,
pub wrapping_key_certificate: String,
pub export_token: String,
pub key_block_format: Tr34KeyBlockFormat,
pub random_nonce: Option<String>,
pub key_block_headers: Option<KeyBlockHeaders>,
}Expand description
Parameter information for key material export using the asymmetric TR-34 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.The KeyARN of the certificate chain that signs the wrapping key certificate during TR-34 key export.
wrapping_key_certificate: StringThe KeyARN of the wrapping key certificate. Amazon Web Services Payment Cryptography uses this certificate to wrap the key under export.
export_token: StringThe export token to initiate key export from Amazon Web Services Payment Cryptography. It also contains the signing key certificate that will sign the wrapped key during TR-34 key block generation. Call GetParametersForExport to receive an export token. It expires after 7 days. You can use the same export token to export multiple keys from the same service account.
key_block_format: Tr34KeyBlockFormatThe format of key block that Amazon Web Services Payment Cryptography will use during key export.
random_nonce: Option<String>A random number value that is unique to the TR-34 key block generated using 2 pass. The operation will fail, if a random nonce value is not provided for a TR-34 key block generated using 2 pass.
key_block_headers: Option<KeyBlockHeaders>Optional metadata for export associated with the key material. This data is signed but transmitted in clear text.
Implementations§
source§impl ExportTr34KeyBlock
impl ExportTr34KeyBlock
The KeyARN of the certificate chain that signs the wrapping key certificate during TR-34 key export.
sourcepub fn wrapping_key_certificate(&self) -> &str
pub fn wrapping_key_certificate(&self) -> &str
The KeyARN of the wrapping key certificate. Amazon Web Services Payment Cryptography uses this certificate to wrap the key under export.
sourcepub fn export_token(&self) -> &str
pub fn export_token(&self) -> &str
The export token to initiate key export from Amazon Web Services Payment Cryptography. It also contains the signing key certificate that will sign the wrapped key during TR-34 key block generation. Call GetParametersForExport to receive an export token. It expires after 7 days. You can use the same export token to export multiple keys from the same service account.
sourcepub fn key_block_format(&self) -> &Tr34KeyBlockFormat
pub fn key_block_format(&self) -> &Tr34KeyBlockFormat
The format of key block that Amazon Web Services Payment Cryptography will use during key export.
sourcepub fn random_nonce(&self) -> Option<&str>
pub fn random_nonce(&self) -> Option<&str>
A random number value that is unique to the TR-34 key block generated using 2 pass. The operation will fail, if a random nonce value is not provided for a TR-34 key block generated using 2 pass.
sourcepub fn key_block_headers(&self) -> Option<&KeyBlockHeaders>
pub fn key_block_headers(&self) -> Option<&KeyBlockHeaders>
Optional metadata for export associated with the key material. This data is signed but transmitted in clear text.
source§impl ExportTr34KeyBlock
impl ExportTr34KeyBlock
sourcepub fn builder() -> ExportTr34KeyBlockBuilder
pub fn builder() -> ExportTr34KeyBlockBuilder
Creates a new builder-style object to manufacture ExportTr34KeyBlock.
Trait Implementations§
source§impl Clone for ExportTr34KeyBlock
impl Clone for ExportTr34KeyBlock
source§fn clone(&self) -> ExportTr34KeyBlock
fn clone(&self) -> ExportTr34KeyBlock
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ExportTr34KeyBlock
impl Debug for ExportTr34KeyBlock
source§impl PartialEq for ExportTr34KeyBlock
impl PartialEq for ExportTr34KeyBlock
source§fn eq(&self, other: &ExportTr34KeyBlock) -> bool
fn eq(&self, other: &ExportTr34KeyBlock) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ExportTr34KeyBlock
Auto Trait Implementations§
impl Freeze for ExportTr34KeyBlock
impl RefUnwindSafe for ExportTr34KeyBlock
impl Send for ExportTr34KeyBlock
impl Sync for ExportTr34KeyBlock
impl Unpin for ExportTr34KeyBlock
impl UnwindSafe for ExportTr34KeyBlock
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