Struct openssl::x509::X509Ref []

pub struct X509Ref(_);

Reference to X509.

Methods

impl X509Ref
[src]

[src]

Returns this certificate's subject name.

This corresponds to X509_get_subject_name.

[src]

Returns this certificate's issuer name.

This corresponds to X509_get_issuer_name.

[src]

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

This corresponds to X509_get_ext_d2i called with NID_subject_alt_name.

[src]

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

This corresponds to X509_get_ext_d2i called with NID_issuer_alt_name.

[src]

[src]

Returns certificate fingerprint calculated using provided hash

[src]

Returns the certificate's Not After validity period.

[src]

Returns the certificate's Not Before validity period.

[src]

Returns the certificate's signature

[src]

Returns the certificate's signature algorithm.

[src]

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

[src]

Checks that this certificate issued subject.

[src]

Returns this certificate's serial number.

This corresponds to X509_get_serialNumber.

[src]

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.

[src]

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

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

Important traits for &'a mut W
[src]

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

[src]

Returns a raw pointer to the wrapped value.

impl Send for X509Ref
[src]

impl Sync for X509Ref
[src]

impl ToOwned for X509Ref
[src]

[src]

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

[src]

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

[src]

Performs the conversion.