pub struct KeyPair {
pub public_key: Vec<u8>,
pub private_key: Vec<u8>,
}Expand description
An Ed25519 key pair used for signing and verifying VCLPacket signatures.
Fields§
§public_key: Vec<u8>32-byte Ed25519 verifying (public) key.
private_key: Vec<u8>32-byte Ed25519 signing (private) key.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeyPair
impl RefUnwindSafe for KeyPair
impl Send for KeyPair
impl Sync for KeyPair
impl Unpin for KeyPair
impl UnsafeUnpin for KeyPair
impl UnwindSafe for KeyPair
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