pub struct Crl {
pub issuer: String,
pub revoked: Vec<RevokedEntry>,
pub this_update: DateTime<Utc>,
pub next_update: DateTime<Utc>,
pub log_sequence: u64,
pub signature: Vec<u8>,
}Expand description
A certificate revocation list: signed by the issuing trust authority, timestamped, validity-bounded, log-recorded.
Fields§
§issuer: StringThe issuing trust authority’s identifier.
revoked: Vec<RevokedEntry>Revoked credentials.
this_update: DateTime<Utc>CRL validity start.
next_update: DateTime<Utc>CRL validity end.
log_sequence: u64Transparency-log sequence of this CRL’s own publication.
signature: Vec<u8>The issuer’s signature over the canonical CRL body.
Implementations§
Source§impl Crl
impl Crl
Sourcepub fn signing_bytes(&self) -> SignatifResult<Vec<u8>>
pub fn signing_bytes(&self) -> SignatifResult<Vec<u8>>
The canonical signing bytes (JCS of the CRL without signature).
§Errors
Propagates canonicalization errors.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Crl
impl<'de> Deserialize<'de> for Crl
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Crl
impl RefUnwindSafe for Crl
impl Send for Crl
impl Sync for Crl
impl Unpin for Crl
impl UnsafeUnpin for Crl
impl UnwindSafe for Crl
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