Enum ParsedExtension
pub enum ParsedExtension<'a> {
Show 25 variants
UnsupportedExtension {
oid: Oid<'a>,
},
ParseError {
error: Err<Error>,
},
AuthorityKeyIdentifier(AuthorityKeyIdentifier<'a>),
SubjectKeyIdentifier(KeyIdentifier<'a>),
KeyUsage(KeyUsage),
CertificatePolicies(Vec<PolicyInformation<'a>>),
PolicyMappings(PolicyMappings<'a>),
SubjectAlternativeName(SubjectAlternativeName<'a>),
IssuerAlternativeName(IssuerAlternativeName<'a>),
BasicConstraints(BasicConstraints),
NameConstraints(NameConstraints<'a>),
PolicyConstraints(PolicyConstraints),
ExtendedKeyUsage(ExtendedKeyUsage<'a>),
CRLDistributionPoints(CRLDistributionPoints<'a>),
InhibitAnyPolicy(InhibitAnyPolicy),
AuthorityInfoAccess(AuthorityInfoAccess<'a>),
SubjectInfoAccess(SubjectInfoAccess<'a>),
NSCertType(NSCertType),
NsCertComment(&'a str),
IssuingDistributionPoint(IssuingDistributionPoint<'a>),
CRLNumber(BigUint),
ReasonCode(ReasonCode),
InvalidityDate(ASN1Time),
SCT(Vec<SignedCertificateTimestamp<'a>>),
Unparsed,
}
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(Vec<PolicyInformation<'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
IssuerAlternativeName(IssuerAlternativeName<'a>)
Section 4.2.1.7 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
CRLDistributionPoints(CRLDistributionPoints<'a>)
Section 4.2.1.13 of rfc 5280
InhibitAnyPolicy(InhibitAnyPolicy)
Section 4.2.1.14 of rfc 5280
AuthorityInfoAccess(AuthorityInfoAccess<'a>)
Section 4.2.2.1 of rfc 5280
SubjectInfoAccess(SubjectInfoAccess<'a>)
Section 4.2.2.2 of rfc 5280
NSCertType(NSCertType)
Netscape certificate type (subject is SSL client, an SSL server, or a CA)
NsCertComment(&'a str)
Netscape certificate comment
IssuingDistributionPoint(IssuingDistributionPoint<'a>)
Section 5.2.5 of rfc 5280
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
SCT(Vec<SignedCertificateTimestamp<'a>>)
rfc 6962
Unparsed
Unparsed extension (was not requested in parsing options)
Implementations§
§impl ParsedExtension<'_>
impl ParsedExtension<'_>
Trait Implementations§
§impl<'a> Clone for ParsedExtension<'a>
impl<'a> Clone for ParsedExtension<'a>
§fn clone(&self) -> ParsedExtension<'a>
fn clone(&self) -> ParsedExtension<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl<'a> Debug for ParsedExtension<'a>
impl<'a> Debug for ParsedExtension<'a>
§impl<'a> PartialEq for ParsedExtension<'a>
impl<'a> PartialEq for ParsedExtension<'a>
impl<'a> StructuralPartialEq for ParsedExtension<'a>
Auto Trait Implementations§
impl<'a> Freeze for ParsedExtension<'a>
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<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§fn and<P, B, E>(self, other: P) -> And<T, P>
fn and<P, B, E>(self, other: P) -> And<T, P>
Create a new
Policy
that returns Action::Follow
only if self
and other
return
Action::Follow
. Read more