[−][src]Trait schnorr::MuSigContext
The context for signing - can either be a Multikey or Multimessage context.
Required methods
fn commit(&self, transcript: &mut Transcript)
Takes a mutable transcript, and commits the internal context to the transcript.
fn challenge(&self, index: usize, transcript: &mut Transcript) -> Scalar
Takes an index of a public key and mutable transcript, and returns the suitable challenge for that public key.
fn len(&self) -> usize
Length of the number of pubkeys in the context
fn key(&self, index: usize) -> PublicKey
Returns the pubkey for the index i