signature

package
v0.0.0-...-42a0fc8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 12 Imported by: 5

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

func VerifyServiceMessage(msg any) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL