pub struct X509ReqRef(_);
Expand description

Reference to X509Req.

Implementations

Serializes the certificate request to a PEM-encoded PKCS#10 structure.

The output will have a header of -----BEGIN CERTIFICATE REQUEST-----.

This corresponds to PEM_write_bio_X509_REQ.

Serializes the certificate request to a DER-encoded PKCS#10 structure.

This corresponds to i2d_X509_REQ.

Converts the request to human readable text.

This corresponds to X509_Req_print.

Returns the numerical value of the version field of the certificate request.

This corresponds to X509_REQ_get_version

Returns the subject name of the certificate request.

This corresponds to X509_REQ_get_subject_name

Returns the public key of the certificate request.

This corresponds to [`X509_REQ_get_pubkey“]

Check if the certificate request is signed using the given public key.

Returns true if verification succeeds.

This corresponds to [`X509_REQ_verify“].

Returns the extensions of the certificate request.

This corresponds to [`X509_REQ_get_extensions“]

Trait Implementations

Converts this type into a shared reference of the (usually inferred) input type.
Immutably borrows from an owned value. Read more
The raw C type.
Constructs a shared instance of this type from its raw type.
Constructs a mutable reference of this type from its raw type.
Returns a raw pointer to the wrapped value.

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.