Enum x509_parser::extensions::ParsedExtension[][src]

pub enum ParsedExtension<'a> {
    UnsupportedExtension,
    ParseError,
    AuthorityKeyIdentifier(AuthorityKeyIdentifier<'a>),
    SubjectKeyIdentifier(KeyIdentifier<'a>),
    KeyUsage(KeyUsage),
    CertificatePolicies(CertificatePolicies<'a>),
    PolicyMappings(PolicyMappings<'a>),
    SubjectAlternativeName(SubjectAlternativeName<'a>),
    BasicConstraints(BasicConstraints),
    NameConstraints(NameConstraints<'a>),
    PolicyConstraints(PolicyConstraints),
    ExtendedKeyUsage(ExtendedKeyUsage<'a>),
    InhibitAnyPolicy(InhibitAnyPolicy),
    AuthorityInfoAccess(AuthorityInfoAccess<'a>),
    NSCertType(NSCertType),
    CRLNumber(BigUint),
    ReasonCode(ReasonCode),
    InvalidityDate(ASN1Time),
}

Variants

UnsupportedExtension

Crate parser does not support this extension (yet)

ParseError
AuthorityKeyIdentifier(AuthorityKeyIdentifier<'a>)

Section 4.2.1.1 of rfc 5280

SubjectKeyIdentifier(KeyIdentifier<'a>)

Section 4.2.1.2 of rfc 5280

KeyUsage(KeyUsage)

Section 4.2.1.3 of rfc 5280

CertificatePolicies(CertificatePolicies<'a>)

Section 4.2.1.4 of rfc 5280

PolicyMappings(PolicyMappings<'a>)

Section 4.2.1.5 of rfc 5280

SubjectAlternativeName(SubjectAlternativeName<'a>)

Section 4.2.1.6 of rfc 5280

BasicConstraints(BasicConstraints)

Section 4.2.1.9 of rfc 5280

NameConstraints(NameConstraints<'a>)

Section 4.2.1.10 of rfc 5280

PolicyConstraints(PolicyConstraints)

Section 4.2.1.11 of rfc 5280

ExtendedKeyUsage(ExtendedKeyUsage<'a>)

Section 4.2.1.12 of rfc 5280

InhibitAnyPolicy(InhibitAnyPolicy)

Section 4.2.1.14 of rfc 5280

AuthorityInfoAccess(AuthorityInfoAccess<'a>)

Section 4.2.2.1 of rfc 5280

NSCertType(NSCertType)

Netscape certificate type (subject is SSL client, an SSL server, or a CA)

CRLNumber(BigUint)

Section 5.3.1 of rfc 5280

ReasonCode(ReasonCode)

Section 5.3.1 of rfc 5280

InvalidityDate(ASN1Time)

Section 5.3.3 of rfc 5280

Trait Implementations

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

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

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for ParsedExtension<'a>

impl<'a> Send for ParsedExtension<'a>

impl<'a> Sync for ParsedExtension<'a>

impl<'a> Unpin for ParsedExtension<'a>

impl<'a> UnwindSafe for ParsedExtension<'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> 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.