[−][src]Struct x509_parser::x509::TbsCertificate
The sequence TBSCertificate contains information associated with the subject of the certificate and the CA that issued it.
RFC5280 definition:
TBSCertificate ::= SEQUENCE { version [0] EXPLICIT Version DEFAULT v1, serialNumber CertificateSerialNumber, signature AlgorithmIdentifier, issuer Name, validity Validity, subject Name, subjectPublicKeyInfo SubjectPublicKeyInfo, issuerUniqueID [1] IMPLICIT UniqueIdentifier OPTIONAL, -- If present, version MUST be v2 or v3 subjectUniqueID [2] IMPLICIT UniqueIdentifier OPTIONAL, -- If present, version MUST be v2 or v3 extensions [3] EXPLICIT Extensions OPTIONAL -- If present, version MUST be v3 }
Fields
version: u32
serial: BigUint
signature: AlgorithmIdentifier<'a>
issuer: X509Name<'a>
validity: Validity
subject: X509Name<'a>
subject_pki: SubjectPublicKeyInfo<'a>
issuer_uid: Option<UniqueIdentifier<'a>>
subject_uid: Option<UniqueIdentifier<'a>>
extensions: Vec<X509Extension<'a>>
Methods
impl<'a> TbsCertificate<'a>
[src]
Trait Implementations
impl<'a> PartialEq<TbsCertificate<'a>> for TbsCertificate<'a>
[src]
fn eq(&self, other: &TbsCertificate<'a>) -> bool
[src]
fn ne(&self, other: &TbsCertificate<'a>) -> bool
[src]
impl<'a> Debug for TbsCertificate<'a>
[src]
Auto Trait Implementations
impl<'a> Sync for TbsCertificate<'a>
impl<'a> Send for TbsCertificate<'a>
impl<'a> Unpin for TbsCertificate<'a>
impl<'a> RefUnwindSafe for TbsCertificate<'a>
impl<'a> UnwindSafe for TbsCertificate<'a>
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,