pub struct X509ReqBuilder(_);
Expand description

A builder used to construct an X509Req.

Implementations

Returns a builder for a certificate request.

This corresponds to X509_REQ_new.

Set the numerical value of the version field.

This corresponds to X509_REQ_set_version.

Set the issuer name.

This corresponds to X509_REQ_set_subject_name.

Set the public key.

This corresponds to X509_REQ_set_pubkey.

Return an X509v3Context. This context object can be used to construct certain X509 extensions.

Permits any number of extension fields to be added to the certificate.

Sign the request using a private key.

This corresponds to X509_REQ_sign.

Returns the X509Req.

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.