pub struct ExtendedKeyUsage<'a> { /* private fields */ }Expand description
Further purposes, named by identifier rather than by bit.
Implementations§
Source§impl<'a> ExtendedKeyUsage<'a>
impl<'a> ExtendedKeyUsage<'a>
Sourcepub fn has(&self, purpose: Oid<'_>, execution: &Memory) -> Result<bool>
pub fn has(&self, purpose: Oid<'_>, execution: &Memory) -> Result<bool>
Whether one purpose is among them.
The identifier that stands for any purpose is not treated as matching everything here: whether it does is a policy question, and answering it in the parser would hide the difference between a certificate that names a purpose and one that names none.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for ExtendedKeyUsage<'a>
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> UnsafeUnpin for ExtendedKeyUsage<'a>
impl<'a> UnwindSafe for ExtendedKeyUsage<'a>
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