dlog

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurveIDToString

func CurveIDToString(id math3.CurveID) string

Types

type CryptoMaterialGenerator

type CryptoMaterialGenerator struct {
	TokenPlatform     generators.TokenPlatform
	Curve             string
	EventuallyTimeout time.Duration
	// contains filtered or unexported fields
}

func NewCryptoMaterialGenerator

func NewCryptoMaterialGenerator(tokenPlatform generators.TokenPlatform, curveID math3.CurveID, builder api.Builder) *CryptoMaterialGenerator

func (*CryptoMaterialGenerator) GenerateAuditorIdentities

func (d *CryptoMaterialGenerator) GenerateAuditorIdentities(tms *topology.TMS, n *node.Node, auditors ...string) []generators.Identity

func (*CryptoMaterialGenerator) GenerateCertifierIdentities

func (d *CryptoMaterialGenerator) GenerateCertifierIdentities(tms *topology.TMS, node *node.Node, certifiers ...string) []generators.Identity

func (*CryptoMaterialGenerator) GenerateIssuerIdentities

func (d *CryptoMaterialGenerator) GenerateIssuerIdentities(tms *topology.TMS, n *node.Node, issuers ...string) []generators.Identity

func (*CryptoMaterialGenerator) GenerateOwnerIdentities

func (d *CryptoMaterialGenerator) GenerateOwnerIdentities(tms *topology.TMS, n *node.Node, owners ...string) []generators.Identity

func (*CryptoMaterialGenerator) Idemixgen

func (d *CryptoMaterialGenerator) Idemixgen(command common.Command) (*gexec.Session, error)

func (*CryptoMaterialGenerator) Setup

func (d *CryptoMaterialGenerator) Setup(tms *topology.TMS) (string, error)

func (*CryptoMaterialGenerator) StartSession

func (d *CryptoMaterialGenerator) StartSession(cmd *exec.Cmd, name string) (*gexec.Session, error)

Directories

Path Synopsis
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