config

package
v0.0.0-...-eab8366 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadAcceptableCredentials

func LoadAcceptableCredentials() (map[string][]string, error)

func LoadConditions

func LoadConditions() (map[int]string, map[int]int, map[int]string, error)

func LoadCredentialStructure

func LoadCredentialStructure() (map[string]interface{}, error)

func LoadKeyDirFromConfig

func LoadKeyDirFromConfig() string

func LoadPseudonymsysCAPubKey

func LoadPseudonymsysCAPubKey() *pseudsys.PubKey

func LoadPseudonymsysCASecret

func LoadPseudonymsysCASecret() *big.Int

func LoadPseudonymsysOrgPubKeys

func LoadPseudonymsysOrgPubKeys(orgName string) *pseudsys.PubKey

func LoadPseudonymsysOrgPubKeysEC

func LoadPseudonymsysOrgPubKeysEC(orgName string) *ecpseudsys.PubKey

func LoadPseudonymsysOrgSecrets

func LoadPseudonymsysOrgSecrets(orgName, dlogType string) *pseudsys.SecKey

func LoadQRRSA

func LoadQRRSA() *qr.RSA

func LoadRegistrationDBAddress

func LoadRegistrationDBAddress() string

func LoadSchnorrGroup

func LoadSchnorrGroup() *schnorr.Group

func LoadServerEndpoint

func LoadServerEndpoint() string

LoadServerEndpoint returns the endpoint of the emmy server where clients will be contacting it.

func LoadServerPort

func LoadServerPort() int

LoadServerPort returns the port where emmy server will be listening.

func LoadServiceInfo

func LoadServiceInfo() (string, string, string)

func LoadSessionKeyMinByteLen

func LoadSessionKeyMinByteLen() int

func LoadTestKeyDirFromConfig

func LoadTestKeyDirFromConfig() string

func LoadTestdataDir

func LoadTestdataDir() string

func LoadTimeout

func LoadTimeout() int

LoadTimeout returns the specified number of seconds that clients wait before giving up on connection to emmy server

Types

This section is empty.

Jump to

Keyboard shortcuts

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