pub struct CertificateSigningRequest {
    pub params: CertificateParams,
    pub public_key: PublicKey,
}
Expand description

Data for a certificate signing request

Fields

params: CertificateParamspublic_key: PublicKey

Implementations

Parse a certificate signing request from the ASCII PEM format

See from_der for more details.

Parse a certificate signing request from DER-encoded bytes

Currently, this only supports the Subject Alternative Name extension. On encountering other extensions, this function will return an error.

Serializes the requested certificate, signed with another certificate’s key, in binary DER format

Serializes the requested certificate, signed with another certificate’s key, to the ASCII PEM format

This function is only available if rcgen is built with the “pem” feature

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.