wallet

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientPublicKey

func ClientPublicKey() common.PublicKey

func ClientPublicKeyStr

func ClientPublicKeyStr() string

func Sign

func Sign(d []byte) common.Signature

impliment Signer

func SignData

func SignData(data []byte) common.Signature

Types

type KeyManager

type KeyManager struct {
	// contains filtered or unexported fields
}

func (*KeyManager) FilePath

func (km *KeyManager) FilePath() (fp string)

func (*KeyManager) GenerateNewKey

func (km *KeyManager) GenerateNewKey() (err error)

func (*KeyManager) InitKeyManager

func (km *KeyManager) InitKeyManager(path string, file string) (err error)

func (*KeyManager) LoadKeys

func (km *KeyManager) LoadKeys(file *os.File) (err error)

func (*KeyManager) LoadOrGenerateKeys

func (km *KeyManager) LoadOrGenerateKeys() (err error)

func (*KeyManager) WriteKeys

func (km *KeyManager) WriteKeys(file *os.File) (err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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