key

package
v1.17.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: Apache-2.0, MIT Imports: 5 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActSigType

func ActSigType(typ types.KeyType) crypto.SigType

Types

type Key

type Key struct {
	types.KeyInfo

	PublicKey []byte
	Address   address.Address
}

func GenerateKey

func GenerateKey(typ types.KeyType) (*Key, error)

func NewKey

func NewKey(keyinfo types.KeyInfo) (*Key, error)

Jump to

Keyboard shortcuts

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