[]Struct openssl::x509::X509Req

pub struct X509Req(_);

An X509 certificate request.

Methods

impl X509Req
[src]

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"]

Returns the extensions of the certificate request.

This corresponds to [`X509_REQ_get_extensions"]

Trait Implementations

impl Sync for X509Req
[src]

impl AsRef<X509ReqRef> for X509Req

Performs the conversion.

impl Send for X509Req
[src]

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 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.

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more