Struct x509_certificate::rfc5280::TbsCertList
source · pub struct TbsCertList {
pub version: Option<Version>,
pub signature: AlgorithmIdentifier,
pub issuer: Name,
pub this_update: Time,
pub next_update: Option<Time>,
pub revoked_certificates: Vec<(CertificateSerialNumber, Time, Option<Extensions>)>,
pub crl_extensions: Option<Extensions>,
}
Expand description
Tbs Certificate list.
TBSCertList ::= SEQUENCE {
version Version OPTIONAL,
-- if present, MUST be v2
signature AlgorithmIdentifier,
issuer Name,
thisUpdate Time,
nextUpdate Time OPTIONAL,
revokedCertificates SEQUENCE OF SEQUENCE {
userCertificate CertificateSerialNumber,
revocationDate Time,
crlEntryExtensions Extensions OPTIONAL
-- if present, MUST be v2
} OPTIONAL,
crlExtensions [0] Extensions OPTIONAL }
-- if present, MUST be v2
Fields§
§version: Option<Version>
§signature: AlgorithmIdentifier
§issuer: Name
§this_update: Time
§next_update: Option<Time>
§revoked_certificates: Vec<(CertificateSerialNumber, Time, Option<Extensions>)>
§crl_extensions: Option<Extensions>
Implementations§
source§impl TbsCertList
impl TbsCertList
pub fn take_from<S: Source>( cons: &mut Constructed<'_, S> ) -> Result<Self, DecodeError<S::Error>>
Trait Implementations§
source§impl Clone for TbsCertList
impl Clone for TbsCertList
source§fn clone(&self) -> TbsCertList
fn clone(&self) -> TbsCertList
Returns a copy 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 TbsCertList
impl Debug for TbsCertList
source§impl PartialEq for TbsCertList
impl PartialEq for TbsCertList
source§fn eq(&self, other: &TbsCertList) -> bool
fn eq(&self, other: &TbsCertList) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TbsCertList
impl StructuralEq for TbsCertList
impl StructuralPartialEq for TbsCertList
Auto Trait Implementations§
impl RefUnwindSafe for TbsCertList
impl Send for TbsCertList
impl Sync for TbsCertList
impl Unpin for TbsCertList
impl UnwindSafe for TbsCertList
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