pub type TbsCertificate = TbsCertificateInner<Rfc5280>;
Expand description

X.509 TbsCertificate as defined in [RFC 5280 Section 4.1]

Aliased Type§

struct TbsCertificate {
    pub version: Version,
    pub serial_number: SerialNumber,
    pub signature: AlgorithmIdentifier<Any>,
    pub issuer: RdnSequence,
    pub validity: Validity,
    pub subject: RdnSequence,
    pub subject_public_key_info: SubjectPublicKeyInfo<Any, BitString>,
    pub issuer_unique_id: Option<BitString>,
    pub subject_unique_id: Option<BitString>,
    pub extensions: Option<Vec<Extension>>,
}

Fields§

§version: Version

The certificate version

Note that this value defaults to Version 1 per the RFC. However, fields such as issuer_unique_id, subject_unique_id and extensions require later versions. Care should be taken in order to ensure standards compliance.

§serial_number: SerialNumber§signature: AlgorithmIdentifier<Any>§issuer: RdnSequence§validity: Validity§subject: RdnSequence§subject_public_key_info: SubjectPublicKeyInfo<Any, BitString>§issuer_unique_id: Option<BitString>§subject_unique_id: Option<BitString>§extensions: Option<Vec<Extension>>