Struct openssl::x509::X509Ref[]

pub struct X509Ref(_);

Reference to X509.

Methods

impl X509Ref
[src]

Returns this certificate's subject name.

This corresponds to X509_get_subject_name.

Returns this certificate's issuer name.

This corresponds to X509_get_issuer_name.

Returns this certificate's subject alternative name entries, if they exist.

This corresponds to X509_get_ext_d2i called with NID_subject_alt_name.

Returns this certificate's issuer alternative name entries, if they exist.

This corresponds to X509_get_ext_d2i called with NID_issuer_alt_name.

Returns a digest of the DER representation of the certificate.

This corresponds to X509_digest.

Deprecated since 0.10.9

: renamed to digest

Returns the certificate's Not After validity period.

Returns the certificate's Not Before validity period.

Returns the certificate's signature

Returns the certificate's signature algorithm.

Returns the list of OCSP responder URLs specified in the certificate's Authority Information Access field.

Checks that this certificate issued subject.

Returns this certificate's serial number.

This corresponds to X509_get_serialNumber.

Serializes the certificate into a PEM-encoded X509 structure.

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

This corresponds to PEM_write_bio_X509.

Serializes the certificate into a DER-encoded X509 structure.

This corresponds to i2d_X509.

Trait Implementations

impl Borrow<X509Ref> for X509

Immutably borrows from an owned value. Read more

impl AsRef<X509Ref> for X509

Performs the conversion.

impl ForeignTypeRef for X509Ref

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 X509Ref
[src]

impl Sync for X509Ref
[src]

impl ToOwned for X509Ref
[src]

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl AsRef<X509Ref> for X509Ref
[src]

Performs the conversion.