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)
Click to show internal directories.
Click to hide internal directories.