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
sourceimpl<'a> Clone for ExtendedKeyUsage<'a>
impl<'a> Clone for ExtendedKeyUsage<'a>
sourcefn clone(&self) -> ExtendedKeyUsage<'a>
fn clone(&self) -> ExtendedKeyUsage<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for ExtendedKeyUsage<'a>
impl<'a> Debug for ExtendedKeyUsage<'a>
sourceimpl<'a> FromDer<'a, X509Error> for ExtendedKeyUsage<'a>
impl<'a> FromDer<'a, X509Error> for ExtendedKeyUsage<'a>
sourcefn 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)
sourceimpl<'a> PartialEq<ExtendedKeyUsage<'a>> for ExtendedKeyUsage<'a>
impl<'a> PartialEq<ExtendedKeyUsage<'a>> for ExtendedKeyUsage<'a>
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &ExtendedKeyUsage<'a>) -> bool
fn ne(&self, other: &ExtendedKeyUsage<'a>) -> bool
This method tests for !=
.
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
sourceimpl<'a, T, E> AsTaggedExplicit<'a, E> for T where
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for T where
T: 'a,
sourceimpl<'a, T, E> AsTaggedImplicit<'a, E> for T where
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for T where
T: 'a,
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more