#[non_exhaustive]pub struct ExportTr34KeyBlock {
pub certificate_authority_public_key_identifier: Option<String>,
pub wrapping_key_certificate: Option<String>,
pub export_token: Option<String>,
pub key_block_format: Option<Tr34KeyBlockFormat>,
pub random_nonce: Option<String>,
}
Expand description
Parameter information for key material export using TR-34 standard.
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: Option<String>
The KeyARN
of the wrapping key certificate. Amazon Web Services Payment Cryptography uses this certificate to wrap the key under export.
export_token: Option<String>
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.
key_block_format: Option<Tr34KeyBlockFormat>
The 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.
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) -> Option<&str>
pub fn wrapping_key_certificate(&self) -> Option<&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) -> Option<&str>
pub fn export_token(&self) -> Option<&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) -> Option<&Tr34KeyBlockFormat>
pub fn key_block_format(&self) -> Option<&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.
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 ==
.