Struct x509_parser::extensions::ExtendedKeyUsage
source · pub struct ExtendedKeyUsage<'a> {
pub any: bool,
pub server_auth: bool,
pub client_auth: bool,
pub code_signing: bool,
pub email_protection: bool,
pub time_stamping: bool,
pub ocsp_signing: bool,
pub other: Vec<Oid<'a>>,
}
Fields§
§any: bool
§server_auth: bool
§client_auth: bool
§code_signing: bool
§email_protection: bool
§time_stamping: bool
§ocsp_signing: bool
§other: Vec<Oid<'a>>
Trait Implementations§
source§impl<'a> Clone for ExtendedKeyUsage<'a>
impl<'a> Clone for ExtendedKeyUsage<'a>
source§fn clone(&self) -> ExtendedKeyUsage<'a>
fn clone(&self) -> ExtendedKeyUsage<'a>
Returns a copy 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 moresource§impl<'a> Debug for ExtendedKeyUsage<'a>
impl<'a> Debug for ExtendedKeyUsage<'a>
source§impl<'a> FromDer<'a, X509Error> for ExtendedKeyUsage<'a>
impl<'a> FromDer<'a, X509Error> for ExtendedKeyUsage<'a>
source§fn from_der(i: &'a [u8]) -> X509Result<'a, Self>
fn from_der(i: &'a [u8]) -> X509Result<'a, Self>
Attempt to parse input bytes into a DER object (enforcing constraints)
source§impl<'a> PartialEq for ExtendedKeyUsage<'a>
impl<'a> PartialEq for ExtendedKeyUsage<'a>
source§fn eq(&self, other: &ExtendedKeyUsage<'a>) -> bool
fn eq(&self, other: &ExtendedKeyUsage<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Eq for ExtendedKeyUsage<'a>
impl<'a> StructuralPartialEq for ExtendedKeyUsage<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ExtendedKeyUsage<'a>
impl<'a> Send for ExtendedKeyUsage<'a>
impl<'a> Sync for ExtendedKeyUsage<'a>
impl<'a> Unpin for ExtendedKeyUsage<'a>
impl<'a> UnwindSafe for ExtendedKeyUsage<'a>
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§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