pub struct NistP192 { /* private fields */ }
Methods from Deref<Target = ObjectIdentifier>§
sourcepub fn components(&self) -> &Vec<u64>
pub fn components(&self) -> &Vec<u64>
Borrows its internal vector of components.
Examples
use yasna::models::ObjectIdentifier;
let pkcs1 = ObjectIdentifier::from_slice(&
[1, 2, 840, 113549, 1, 1]);
let components : &Vec<u64> = pkcs1.components();
Trait Implementations§
source§impl Deref for NistP192
impl Deref for NistP192
§type Target = ObjectIdentifier
type Target = ObjectIdentifier
The resulting type after dereferencing.
source§fn deref(&self) -> &ObjectIdentifier
fn deref(&self) -> &ObjectIdentifier
Dereferences the value.
impl LazyStatic for NistP192
Auto Trait Implementations§
impl RefUnwindSafe for NistP192
impl Send for NistP192
impl Sync for NistP192
impl Unpin for NistP192
impl UnwindSafe for NistP192
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