pub struct ServerKeyShare { /* private fields */ }Expand description
Server output of keygen: x₂ = x₂′ mod q, X, E.
Implementations§
Sourcepub fn public_key(&self) -> &ProjectivePoint
pub fn public_key(&self) -> &ProjectivePoint
Joint public key X = X₁·X₂.
Sourcepub fn chain_code(&self) -> [u8; 32]
pub fn chain_code(&self) -> [u8; 32]
Public chain code for HD derivation, identical on both sides.
Sourcepub fn export_secret(&self) -> Zeroizing<Vec<u8>>
pub fn export_secret(&self) -> Zeroizing<Vec<u8>>
Explicit export for a SecretStore: version ‖ share(32) ‖ X(33) ‖ E.
pub fn import_secret(bytes: &[u8], params: &Params) -> Result<Self>
Trait Implementations§
Auto Trait Implementations§
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