dlog

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RemoteOwnerWallet = "##remote##"
)

Variables

This section is empty.

Functions

func CurveIDToString

func CurveIDToString(id math3.CurveID) string

func IsAries added in v0.3.0

func IsAries(tms *topology.TMS) bool

IsAries return true if this TMS requires to use aries as crypto provider when possible

func WithAries added in v0.3.0

func WithAries(tms *topology.TMS)

WithAries notify the backend to use aries as crypto provider when possible

Types

type CryptoMaterialGenerator

type CryptoMaterialGenerator struct {
	FabTokenGenerator *fabtoken.CryptoMaterialGenerator

	TokenPlatform     generators.TokenPlatform
	DefaultCurve      string
	EventuallyTimeout time.Duration

	ColorIndex             int
	RevocationHandlerIndex int
}

func NewCryptoMaterialGenerator

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

func NewCryptoMaterialGeneratorWithCurveIdentifier added in v0.3.0

func NewCryptoMaterialGeneratorWithCurveIdentifier(tokenPlatform generators.TokenPlatform, curveID string, 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