[]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 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 X509

Performs the conversion.

impl AsRef<X509Ref> for X509Ref
[src]

Performs the conversion.

impl Send for X509Ref
[src]

impl Borrow<X509Ref> for X509

Immutably borrows from an owned value. Read more

impl ForeignTypeRef for X509Ref

The raw C type.

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

Constructs a mutable reference 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> ToOwned for T where
    T: Clone
[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<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