identity

package
v0.0.8-experimental Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2018 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DecomposedSignature

type DecomposedSignature struct {
	R [32]byte
	S [32]byte
	V uint8
}

func DecomposeSignature

func DecomposeSignature(signature []byte) (*DecomposedSignature, error)

func (*DecomposedSignature) String

func (sig *DecomposedSignature) String() string

type KeystoreSigner

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

func NewKeystoreSigner

func NewKeystoreSigner(ks *keystore.KeyStore, identity common.Address) *KeystoreSigner

func (*KeystoreSigner) Sign

func (ki *KeystoreSigner) Sign(data ...[]byte) ([]byte, error)

type Signer

type Signer interface {
	Sign(data ...[]byte) ([]byte, error)
}

Jump to

Keyboard shortcuts

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