Struct x509_parser::revocation_list::RevokedCertificate [−][src]
pub struct RevokedCertificate<'a> {
pub user_certificate: BigUint,
pub revocation_date: ASN1Time,
// some fields omitted
}
Fields
user_certificate: BigUint
The Serial number of the revoked certificate
revocation_date: ASN1Time
The date on which the revocation occurred is specified.
Implementations
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
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for RevokedCertificate<'a>
impl<'a> Send for RevokedCertificate<'a>
impl<'a> Sync for RevokedCertificate<'a>
impl<'a> Unpin for RevokedCertificate<'a>
impl<'a> UnwindSafe for RevokedCertificate<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more