Struct rcgen::RevokedCertParams
source · 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: SerialNumber
Serial number identifying the revoked certificate.
revocation_time: OffsetDateTime
The 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
.
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<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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