Enum webpki::verify_cert::ExtendedKeyUsage
source · enum ExtendedKeyUsage {
Required(KeyPurposeId),
RequiredIfPresent(KeyPurposeId),
}
Expand description
Extended Key Usage (EKU) of a certificate.
Variants§
Required(KeyPurposeId)
The certificate must contain the specified KeyPurposeId
as EKU.
RequiredIfPresent(KeyPurposeId)
If the certificate has EKUs, then the specified KeyPurposeId
must be included.
Implementations§
Trait Implementations§
source§impl Clone for ExtendedKeyUsage
impl Clone for ExtendedKeyUsage
source§fn clone(&self) -> ExtendedKeyUsage
fn clone(&self) -> ExtendedKeyUsage
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 moreimpl Copy for ExtendedKeyUsage
Auto Trait Implementations§
impl Freeze for ExtendedKeyUsage
impl RefUnwindSafe for ExtendedKeyUsage
impl Send for ExtendedKeyUsage
impl Sync for ExtendedKeyUsage
impl Unpin for ExtendedKeyUsage
impl UnwindSafe for ExtendedKeyUsage
Blanket Implementations§
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