pub struct SigningKeyPair {
pub public_key: Vec<u8>,
pub private_key: Vec<u8>,
}Expand description
ECDSA signing key pair.
Private key material is zeroed on drop. Not Clone to prevent
uncontrolled duplication of private key material.
Fields§
§public_key: Vec<u8>§private_key: Vec<u8>Trait Implementations§
Source§impl Drop for SigningKeyPair
impl Drop for SigningKeyPair
Auto Trait Implementations§
impl Freeze for SigningKeyPair
impl RefUnwindSafe for SigningKeyPair
impl Send for SigningKeyPair
impl Sync for SigningKeyPair
impl Unpin for SigningKeyPair
impl UnsafeUnpin for SigningKeyPair
impl UnwindSafe for SigningKeyPair
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