pub struct RevokedCertParams {
pub serial_number: SerialNumber,
pub revocation_time: OffsetDateTime,
pub reason_code: Option<RevocationReason>,
pub invalidity_date: Option<OffsetDateTime>,
}展开描述
用于描述包含在 CertificateRevocationList 中的已吊销证书的参数。
字段§
§serial_number: SerialNumber标识已吊销证书的序列号。
revocation_time: OffsetDateTimeCA 处理该吊销的日期。
reason_code: Option<RevocationReason>标识证书为何被吊销的可选原因代码。
invalidity_date: Option<OffsetDateTime>可选字段,描述已知或怀疑私钥泄露、或证书以其他方式失效的日期。 This date
may be earlier than the RevokedCertParams::revocation_time.
Trait 实现§
Source§impl Clone for RevokedCertParams
impl Clone for RevokedCertParams
Source§fn clone(&self) -> RevokedCertParams
fn clone(&self) -> RevokedCertParams
返回值的副本。 更多信息
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. 更多信息Source§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
自动 Trait 实现§
impl Freeze for RevokedCertParams
impl RefUnwindSafe for RevokedCertParams
impl Send for RevokedCertParams
impl Sync for RevokedCertParams
impl Unpin for RevokedCertParams
impl UnsafeUnpin for RevokedCertParams
impl UnwindSafe for RevokedCertParams
Blanket 实现§
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. 更多信息