pub struct RevokedCertificate<'a> {
    pub user_certificate: BigUint,
    pub revocation_date: ASN1Time,
    /* private fields */
}

Fields

user_certificate: BigUint

The Serial number of the revoked certificate

revocation_date: ASN1Time

The date on which the revocation occurred is specified.

Implementations

Return the serial number of the revoked certificate

Get the CRL entry extensions.

Returns an iterator over the CRL entry extensions

Searches for a CRL entry extension with the given Oid.

Note: if there are several extensions with the same Oid, the first one is returned.

Builds and returns a map of CRL entry extensions.

If an extension is present twice, this will fail and return DuplicateExtensions.

Get the raw bytes of the certificate serial number

Get a formatted string of the certificate serial number, separated by ‘:’

Get the code identifying the reason for the revocation, if present

Get the invalidity date, if present

The invalidity date is the date on which it is known or suspected that the private key was compromised or that the certificate otherwise became invalid.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Attempt to parse input bytes into a DER object

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

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

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

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.