pub struct NistP384 { /* 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 NistP384
impl Deref for NistP384
§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 NistP384
Auto Trait Implementations§
impl RefUnwindSafe for NistP384
impl Send for NistP384
impl Sync for NistP384
impl Unpin for NistP384
impl UnwindSafe for NistP384
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