Skip to main content

Module signing

Module signing 

Source
Expand description

Signing protocol

Modules§

msg
MPC network messages

Structs§

DataToSign
A message digest that is guaranteed to have a known preimage, making it safe for signing.
InvalidSignature
Error indicating that signature is not valid for given public key and message
PartialSignature
Partial signature issued by signer for given message
PrehashedDataToSign
A pre-hashed message digest intended for signing, where the original message (preimage) may be unknown.
Presignature
Presignature, can be used to issue a partial signature without interacting with other signers
PresignatureCommitment
Presignature commitment, used to verify partial signature correctness
PresignaturePublicData
Public part of the presignature that can be used to verify partial signatures from other parties
Signature
ECDSA signature
SigningBuilder
Signing entry point
SigningError
Error indicating that signing protocol failed

Traits§

AnyDataToSign
Data to be signed, regardless of whether original message to be signed is known or not