Struct x509_parser::certificate::Validity [−][src]
Fields
not_before: ASN1Time
not_after: ASN1Time
Implementations
The time left before the certificate expires.
If the certificate is not currently valid, then None
is
returned. Otherwise, the Duration
until the certificate
expires is returned.
Check the certificate time validity for the provided date/time
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Validity
impl UnwindSafe for Validity
Blanket Implementations
Mutably borrows from an owned value. Read more