pub struct RevokedCertParams {
pub serial_number: SerialNumber,
pub revocation_time: OffsetDateTime,
pub reason_code: Option<RevocationReason>,
pub invalidity_date: Option<OffsetDateTime>,
}Expand description
Parameters used for describing a revoked certificate included in a CertificateRevocationList.
Fields§
§serial_number: SerialNumberSerial number identifying the revoked certificate.
revocation_time: OffsetDateTimeThe date at which the CA processed the revocation.
reason_code: Option<RevocationReason>An optional reason code identifying why the certificate was revoked.
invalidity_date: Option<OffsetDateTime>An optional field describing the date on which it was known or suspected that the
private key was compromised or the certificate otherwise became invalid. This date
may be earlier than the RevokedCertParams::revocation_time.
Trait Implementations§
Source§impl Clone for RevokedCertParams
impl Clone for RevokedCertParams
Source§fn clone(&self) -> RevokedCertParams
fn clone(&self) -> RevokedCertParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RevokedCertParams
impl Debug for RevokedCertParams
Source§impl PartialEq for RevokedCertParams
impl PartialEq for RevokedCertParams
impl Eq for RevokedCertParams
impl StructuralPartialEq for RevokedCertParams
Auto Trait Implementations§
impl Freeze for RevokedCertParams
impl RefUnwindSafe for RevokedCertParams
impl Send for RevokedCertParams
impl Sync for RevokedCertParams
impl Unpin for RevokedCertParams
impl UnwindSafe for RevokedCertParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more