pub struct RsaInfo<'a> { /* private fields */ }
Expand description
Structure that wraps an RSA key
Implementations§
§impl<'a> RsaInfo<'a>
impl<'a> RsaInfo<'a>
pub fn has_public_key(&self) -> bool
pub fn has_public_key(&self) -> bool
True if it embeds a public key
pub fn has_private_key(&self) -> bool
pub fn has_private_key(&self) -> bool
True if it embeds a private key
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for RsaInfo<'a>
impl<'a> !Send for RsaInfo<'a>
impl<'a> !Sync for RsaInfo<'a>
impl<'a> Unpin for RsaInfo<'a>
impl<'a> UnwindSafe for RsaInfo<'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