Struct cryptographic_message_syntax::asn1::rfc5280::TbsCertList[][src]

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>,
}

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: AlgorithmIdentifierissuer: Namethis_update: Timenext_update: Option<Time>revoked_certificates: Vec<(CertificateSerialNumber, Time, Option<Extensions>)>crl_extensions: Option<Extensions>

Implementations

impl TbsCertList[src]

pub fn take_from<S: Source>(
    _cons: &mut Constructed<'_, S>
) -> Result<Self, S::Err>
[src]

Trait Implementations

impl Clone for TbsCertList[src]

impl Debug for TbsCertList[src]

impl Eq for TbsCertList[src]

impl PartialEq<TbsCertList> for TbsCertList[src]

impl StructuralEq for TbsCertList[src]

impl StructuralPartialEq for TbsCertList[src]

Auto Trait Implementations

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.