Struct x509_parser::revocation_list::TbsCertList[][src]

pub struct TbsCertList<'a> {
    pub version: Option<X509Version>,
    pub signature: AlgorithmIdentifier<'a>,
    pub issuer: X509Name<'a>,
    pub this_update: ASN1Time,
    pub next_update: Option<ASN1Time>,
    pub revoked_certificates: Vec<RevokedCertificate<'a>>,
    pub extensions: HashMap<Oid<'a>, 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<X509Version>signature: AlgorithmIdentifier<'a>issuer: X509Name<'a>this_update: ASN1Timenext_update: Option<ASN1Time>revoked_certificates: Vec<RevokedCertificate<'a>>extensions: HashMap<Oid<'a>, 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<A, T> AsBits<T> for A where
    T: BitStore + BitRegister,
    A: AsRef<[T]>, 

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

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

impl<T> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

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

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

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

impl<T> TryConv for T

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.