pub struct PrivateKey<U> {
pub id: Option<[u8; 16]>,
pub key: *mut EC_KEY,
pub hash: MessageDigest,
pub usage: U,
}Expand description
Represents a private key.
Fields§
§id: Option<[u8; 16]>§key: *mut EC_KEY§hash: MessageDigest§usage: UTrait Implementations§
Source§impl Signer<Certificate> for PrivateKey<Usage>
impl Signer<Certificate> for PrivateKey<Usage>
Auto Trait Implementations§
impl<U> Freeze for PrivateKey<U>where
U: Freeze,
impl<U> RefUnwindSafe for PrivateKey<U>where
U: RefUnwindSafe,
impl<U> !Send for PrivateKey<U>
impl<U> !Sync for PrivateKey<U>
impl<U> Unpin for PrivateKey<U>where
U: Unpin,
impl<U> UnsafeUnpin for PrivateKey<U>where
U: UnsafeUnpin,
impl<U> UnwindSafe for PrivateKey<U>where
U: UnwindSafe,
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