identity

package
v0.0.0-...-9a6596d Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Identity

type Identity struct {
	Anonymous bool
	PriKey    *btcec.PrivateKey
	PubKey    *btcec.PublicKey
}

func New

func New(anonymous bool, pkBytes []byte) *Identity

func (*Identity) PubKeyBytes

func (identity *Identity) PubKeyBytes() []byte

func (*Identity) Sign

func (identity *Identity) Sign(m []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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