validator

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMissingActingParty = errors.New("missing actingPartyCn")

ErrMissingActingParty is returned when the actingPartyCn is missing from the config

View Source
var ErrMissingOrganizationKey = errors.New("missing organization private key")

ErrMissingOrganizationKey is used to indicate that this node has no private key of the indicated organization. This usually means that the organization is not managed by this node.

View Source
var ErrMissingPublicURL = errors.New("missing publicUrl")

ErrMissingPublicURL is returned when the publicUrl is missing from the config

View Source
var ErrUnknownSigningMeans = errors.New("unknown signing means")

ErrUnknownSigningMeans is used when the node does not now how to handle the indicated signing means todo move

Functions

func NewContractInstance

func NewContractInstance(config Config, cryptoClient nutscrypto.Client, registryClient registry.RegistryClient) services.ContractClient

NewContractInstance accepts a Config and several Nuts engines and returns a new instance of services.ContractClient

Types

type Config

type Config struct {
	Mode                      string
	Address                   string
	PublicURL                 string
	IrmaConfigPath            string
	IrmaSchemeManager         string
	SkipAutoUpdateIrmaSchemas bool
	ActingPartyCn             string
	ContractValidators        []string
}

Config holds all the configuration params todo this doubles the pkg/Config?

Jump to

Keyboard shortcuts

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