Trait PreSignSetupMessage

Source
pub trait PreSignSetupMessage: ProtocolParticipant {
    // Required methods
    fn keyshare(&self) -> &Keyshare;
    fn chain_path(&self) -> &DerivationPath;

    // Provided method
    fn presignature_extra(&self) -> &[u8]  { ... }
}
Expand description

A setup message for sign::pre_signature()

Required Methods§

Source

fn keyshare(&self) -> &Keyshare

A shared reference to a Keyshare.

Source

fn chain_path(&self) -> &DerivationPath

Key chain path for this signature

Provided Methods§

Source

fn presignature_extra(&self) -> &[u8]

Additional data to incorpatate into resulting PreSignature.

Implementors§

Source§

impl<SK, VK, MS> PreSignSetupMessage for SetupMessage<SK, VK, MS, Keyshare>
where SK: Signer<MS>, MS: SignatureEncoding, VK: AsRef<[u8]> + Verifier<MS>,