pub struct ParsedKey {
pub seed: TypedSeed,
pub public_key: Vec<u8>,
}Expand description
Parsed key material with curve baked in.
Fields§
§seed: TypedSeedThe private key seed, typed to its curve.
public_key: Vec<u8>The public key bytes (32 for Ed25519, 33 for P-256 compressed).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParsedKey
impl RefUnwindSafe for ParsedKey
impl Send for ParsedKey
impl Sync for ParsedKey
impl Unpin for ParsedKey
impl UnsafeUnpin for ParsedKey
impl UnwindSafe for ParsedKey
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