Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SignServiceMessage ¶
func SignServiceMessage(key *ecdsa.PrivateKey, msg any) error
SignServiceMessage signes service message with key.
func VerifyServiceMessage ¶
VerifyServiceMessage verifies service message.
Types ¶
type StableMarshalerWrapper ¶
type StableMarshalerWrapper struct {
SM stableMarshaler
}
func (StableMarshalerWrapper) ReadSignedData ¶
func (s StableMarshalerWrapper) ReadSignedData(buf []byte) ([]byte, error)
func (StableMarshalerWrapper) SignedDataSize ¶
func (s StableMarshalerWrapper) SignedDataSize() int
Click to show internal directories.
Click to hide internal directories.