struct KeyPurposeId<'a> {
oid_value: Input<'a>,
}
Expand description
An OID value indicating an Extended Key Usage (EKU) key purpose.
Fields§
§oid_value: Input<'a>
Implementations§
Source§impl<'a> KeyPurposeId<'a>
impl<'a> KeyPurposeId<'a>
Sourceconst fn new(oid: &'a [u8]) -> Self
const fn new(oid: &'a [u8]) -> Self
Construct a new KeyPurposeId
.
oid
is the OBJECT IDENTIFIER in bytes.
Trait Implementations§
Source§impl<'a> Clone for KeyPurposeId<'a>
impl<'a> Clone for KeyPurposeId<'a>
Source§fn clone(&self) -> KeyPurposeId<'a>
fn clone(&self) -> KeyPurposeId<'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 moreSource§impl Debug for KeyPurposeId<'_>
impl Debug for KeyPurposeId<'_>
Source§impl PartialEq for KeyPurposeId<'_>
impl PartialEq for KeyPurposeId<'_>
impl<'a> Copy for KeyPurposeId<'a>
impl Eq for KeyPurposeId<'_>
Auto Trait Implementations§
impl<'a> Freeze for KeyPurposeId<'a>
impl<'a> RefUnwindSafe for KeyPurposeId<'a>
impl<'a> Send for KeyPurposeId<'a>
impl<'a> Sync for KeyPurposeId<'a>
impl<'a> Unpin for KeyPurposeId<'a>
impl<'a> UnwindSafe for KeyPurposeId<'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