signer

package
v1.0.0-beta.7 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Signer

type Signer interface {
	// Sign takes a message as bytes and returns its signature.
	Sign(message []byte) ([]byte, error)

	// GetPublic returns the public key paired with this private key.
	GetPublic() (crypto.PubKey, error)

	// GetAddress returns the address of the signer.
	GetAddress() ([]byte, error)
}

Signer is an interface for signing and verifying messages.

Directories

Path Synopsis
File Remote Signer implements the Signer interface using a file to store the keys.
File Remote Signer implements the Signer interface using a file to store the keys.
Noop remote signer implements the Signer interface using a no-op signer.
Noop remote signer implements the Signer interface using a no-op signer.

Jump to

Keyboard shortcuts

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