pub struct LabraIdentity { /* private fields */ }Implementations§
Source§impl LabraIdentity
impl LabraIdentity
pub fn from_pkcs12_der(der: Vec<u8>, password: &str) -> LabradorResult<Self>
pub fn from_pem(der: Vec<u8>) -> LabradorResult<Self>
pub fn identity(&self) -> Identity
Trait Implementations§
Source§impl Clone for LabraIdentity
impl Clone for LabraIdentity
Source§fn clone(&self) -> LabraIdentity
fn clone(&self) -> LabraIdentity
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 moreAuto Trait Implementations§
impl Freeze for LabraIdentity
impl RefUnwindSafe for LabraIdentity
impl Send for LabraIdentity
impl Sync for LabraIdentity
impl Unpin for LabraIdentity
impl UnwindSafe for LabraIdentity
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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