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
impl Eq for TbsCertList
impl StructuralPartialEq for TbsCertList
Auto Trait Implementations§
impl !Freeze for TbsCertList
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)