factory

package
v0.0.0-...-beacba6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSPFactory

type CSPFactory struct {
	// contains filtered or unexported fields
}

func NewCSPFactoryWithOpts

func NewCSPFactoryWithOpts(opts *FactoryOpts) *CSPFactory

func (*CSPFactory) CreateFactory

func (factory *CSPFactory) CreateFactory() (interfaces.CSP, error)

type FactoryOpts

type FactoryOpts struct {
	Kind          string `json:"kind" yaml:"Kind"`
	KeyStorePath  string `json:"key_store_path" yaml:"KeyStorePath"`
	SecurityLevel int    `json:"security_level" yaml:"SecurityLevel"`
	HashFamily    string `json:"hash_family" yaml:"HashFamily"`
	ReadOnly      bool   `json:"read_only" yaml:"ReadOnly"`
}

func ReadConfig

func ReadConfig() (*FactoryOpts, error)

Jump to

Keyboard shortcuts

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