Versions in this module Expand all Collapse all v2 v2.16.0 Sep 14, 2023 v2.15.0 Apr 11, 2023 Changes in this version + func SignData(key *ecdsa.PrivateKey, v DataWithSignature, opts ...SignOption) error + func SignDataWithHandler(key *ecdsa.PrivateKey, src DataSource, handler KeySignatureHandler, ...) error + func VerifyData(src DataWithSignature, opts ...SignOption) error + func VerifyDataWithSource(dataSrc DataSource, sigSrc KeySignatureSource, opts ...SignOption) error + type DataSource interface + ReadSignedData func([]byte) ([]byte, error) + SignedDataSize func() int + type DataWithSignature interface + GetSignature func() *refs.Signature + SetSignature func(*refs.Signature) + type KeySignatureHandler func(*refs.Signature) + type KeySignatureSource func() *refs.Signature + type SignOption func(*cfg) + func SignWithRFC6979() SignOption + func SignWithWalletConnect() SignOption