Struct openssl::x509::X509Req []

pub struct X509Req(_);

An X509 certificate request.

Methods

impl X509Req
[src]

[src]

A builder for X509Req.

[src]

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.

[src]

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

This corresponds to d2i_X509_REQ.

Methods from Deref<Target = X509ReqRef>

[src]

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.

[src]

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

This corresponds to i2d_X509_REQ.

[src]

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

This corresponds to X509_REQ_get_version

[src]

Returns the subject name of the certificate request.

This corresponds to X509_REQ_get_subject_name

Trait Implementations

impl ForeignType for X509Req

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.

impl Drop for X509Req

Executes the destructor for this type. Read more

impl Deref for X509Req

The resulting type after dereferencing.

Dereferences the value.

impl DerefMut for X509Req

Mutably dereferences the value.

impl Borrow<X509ReqRef> for X509Req

Immutably borrows from an owned value. Read more

impl AsRef<X509ReqRef> for X509Req

Performs the conversion.

impl Send for X509Req
[src]

impl Sync for X509Req
[src]