Struct openssl::x509::X509Req[][src]

pub struct X509Req(_);
Expand description

An X509 certificate request.

Implementations

A builder for X509Req.

Deserializes a PEM-encoded PKCS#10 certificate request structure.

The input should have a header of -----BEGIN CERTIFICATE REQUEST-----.

This corresponds to PEM_read_bio_X509_REQ.

Deserializes a DER-encoded PKCS#10 certificate request structure.

This corresponds to d2i_X509_REQ.

Methods from Deref<Target = X509ReqRef>

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.

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

Performs the conversion.

Immutably borrows from an owned value. Read more

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Executes the destructor for this type. Read more

The raw C type.

The type representing a reference to this type.

Constructs an instance 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

Performs the conversion.

Performs the conversion.

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.