token

package
v1.4.7-gm Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Identity added in v1.4.0

type Identity interface {
	Serialize() ([]byte, error)
}

Identity refers to the creator of a tx;

type SigningIdentity added in v1.4.0

type SigningIdentity interface {
	Identity //extends Identity

	Sign(msg []byte) ([]byte, error)

	GetPublicVersion() Identity
}

SigningIdentity defines the functions necessary to sign an array of bytes; it is needed to sign the commands transmitted to the prover peer service.

Directories

Path Synopsis
mock
Code generated by counterfeiter.
Code generated by counterfeiter.
mock
Code generated by counterfeiter.
Code generated by counterfeiter.
mock
Code generated by counterfeiter.
Code generated by counterfeiter.
mock
Code generated by counterfeiter.
Code generated by counterfeiter.
tms
mock
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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