Struct openssl::x509::X509 []

pub struct X509(_);

An X509 public key certificate.

Methods

impl X509
[src]

[src]

Returns a new builder.

[src]

Deserializes a PEM-encoded X509 structure.

The input should have a header of -----BEGIN CERTIFICATE-----.

This corresponds to PEM_read_bio_X509.

[src]

Deserializes a DER-encoded X509 structure.

This corresponds to d2i_X509.

[src]

Deserializes a list of PEM-formatted certificates.

Methods from Deref<Target = X509Ref>

[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 ForeignType for X509

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.

impl Drop for X509

Executes the destructor for this type. Read more

impl Deref for X509

The resulting type after dereferencing.

Dereferences the value.

impl DerefMut for X509

Mutably dereferences the value.

impl Borrow<X509Ref> for X509

Immutably borrows from an owned value. Read more

impl AsRef<X509Ref> for X509

Performs the conversion.

impl Send for X509
[src]

impl Sync for X509
[src]

impl Clone for X509
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Stackable for X509
[src]

The C stack type for this element. Read more