#[non_exhaustive]pub struct ExportCertificateInput {
pub certificate_arn: Option<String>,
pub passphrase: Option<Blob>,
}
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.certificate_arn: Option<String>
An Amazon Resource Name (ARN) of the issued certificate. This must be of the form:
arn:aws:acm:region:account:certificate/12345678-1234-1234-1234-123456789012
passphrase: Option<Blob>
Passphrase to associate with the encrypted exported private key.
When creating your passphrase, you can use any ASCII character except #, $, or %.
If you want to later decrypt the private key, you must have the passphrase. You can use the following OpenSSL command to decrypt a private key. After entering the command, you are prompted for the passphrase.
openssl rsa -in encrypted_key.pem -out decrypted_key.pem
Implementations§
source§impl ExportCertificateInput
impl ExportCertificateInput
sourcepub fn certificate_arn(&self) -> Option<&str>
pub fn certificate_arn(&self) -> Option<&str>
An Amazon Resource Name (ARN) of the issued certificate. This must be of the form:
arn:aws:acm:region:account:certificate/12345678-1234-1234-1234-123456789012
sourcepub fn passphrase(&self) -> Option<&Blob>
pub fn passphrase(&self) -> Option<&Blob>
Passphrase to associate with the encrypted exported private key.
When creating your passphrase, you can use any ASCII character except #, $, or %.
If you want to later decrypt the private key, you must have the passphrase. You can use the following OpenSSL command to decrypt a private key. After entering the command, you are prompted for the passphrase.
openssl rsa -in encrypted_key.pem -out decrypted_key.pem
source§impl ExportCertificateInput
impl ExportCertificateInput
sourcepub fn builder() -> ExportCertificateInputBuilder
pub fn builder() -> ExportCertificateInputBuilder
Creates a new builder-style object to manufacture ExportCertificateInput
.
Trait Implementations§
source§impl Clone for ExportCertificateInput
impl Clone for ExportCertificateInput
source§fn clone(&self) -> ExportCertificateInput
fn clone(&self) -> ExportCertificateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExportCertificateInput
impl Debug for ExportCertificateInput
source§impl PartialEq for ExportCertificateInput
impl PartialEq for ExportCertificateInput
source§fn eq(&self, other: &ExportCertificateInput) -> bool
fn eq(&self, other: &ExportCertificateInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExportCertificateInput
Auto Trait Implementations§
impl Freeze for ExportCertificateInput
impl RefUnwindSafe for ExportCertificateInput
impl Send for ExportCertificateInput
impl Sync for ExportCertificateInput
impl Unpin for ExportCertificateInput
impl UnwindSafe for ExportCertificateInput
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