[][src]Struct x509_parser::x509::TbsCertList

pub struct TbsCertList<'a> {
    pub version: Option<u32>,
    pub signature: AlgorithmIdentifier<'a>,
    pub issuer: X509Name<'a>,
    pub this_update: Tm,
    pub next_update: Option<Tm>,
    pub revoked_certificates: Vec<RevokedCertificate<'a>>,
    pub extensions: Vec<X509Extension<'a>>,
    // some fields omitted
}

The sequence TBSCertList contains information about the certificates that have been revoked by the CA that issued the CRL.

RFC5280 definition:

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, version MUST be v2
                                  } OPTIONAL,
        crlExtensions           [0]  EXPLICIT Extensions OPTIONAL
                                     -- if present, version MUST be v2
                            }

Fields

version: Option<u32>signature: AlgorithmIdentifier<'a>issuer: X509Name<'a>this_update: Tmnext_update: Option<Tm>revoked_certificates: Vec<RevokedCertificate<'a>>extensions: Vec<X509Extension<'a>>

Trait Implementations

impl<'a> AsRef<[u8]> for TbsCertList<'a>[src]

impl<'a> Debug for TbsCertList<'a>[src]

impl<'a> PartialEq<TbsCertList<'a>> for TbsCertList<'a>[src]

impl<'a> StructuralPartialEq for TbsCertList<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for TbsCertList<'a>

impl<'a> Send for TbsCertList<'a>

impl<'a> Sync for TbsCertList<'a>

impl<'a> Unpin for TbsCertList<'a>

impl<'a> UnwindSafe for TbsCertList<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.