Struct rcgen::Certificate

source ·
pub struct Certificate { /* private fields */ }
Expand description

A self signed certificate together with signing keys

Implementations

Generates a new self-signed certificate from the given parameters

Serializes the certificate to the binary DER format

Serializes the certificate to the ASCII PEM format

Serializes the private key in PKCS#8 format

Serializes the private key in PEM format

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.