MuSig2SecNonce

Secret nonce held for an in-progress MuSig2 signing session.

Synopsis

Declared in <musig.h>

class MuSig2SecNonce;

Member Functions

NameDescription
MuSig2SecNonce [constructor]Constructors
~MuSig2SecNonce [destructor]Destroy the holder and securely release the secret nonce.
operator= Assignment operators
Get Get a pointer to the underlying libsecp256k1 secret nonce object.
Invalidate Clear the secret nonce so it can no longer be used.
IsValid Check whether this holder currently owns a usable secret nonce.

Non-Member Functions

NameDescription
CreateMuSig2NonceGenerate a MuSig2 public nonce for a signing session and store the matching secret nonce.