Struct openssl::x509::X509ReqRef[]

pub struct X509ReqRef(_);

Reference to X509Req.

Methods

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

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 Borrow<X509ReqRef> for X509Req

Immutably borrows from an owned value. Read more

impl AsRef<X509ReqRef> for X509Req

Performs the conversion.

impl ForeignTypeRef for X509ReqRef

The raw C type.

Important traits for &'a mut R

Constructs a shared instance of this type from its raw type.

Important traits for &'a mut R

Constructs a mutable reference of this type from its raw type.

Returns a raw pointer to the wrapped value.

impl Send for X509ReqRef
[src]

impl Sync for X509ReqRef
[src]