Versions in this module Expand all Collapse all v1 v1.4.4 Nov 14, 2019 Changes in this version + const PluginFactoryName + const SoftwareBasedFactoryName + func GetBCCSP(name string) (bccsp.BCCSP, error) + func GetBCCSPFromOpts(config *FactoryOpts) (bccsp.BCCSP, error) + func GetDefault() bccsp.BCCSP + func InitFactories(config *FactoryOpts) error + type BCCSPFactory interface + Get func(opts *FactoryOpts) (bccsp.BCCSP, error) + Name func() string + type DummyKeystoreOpts struct + type FactoryOpts struct + PluginOpts *PluginOpts + ProviderName string + SwOpts *SwOpts + func GetDefaultOpts() *FactoryOpts + func (o *FactoryOpts) FactoryName() string + type FileKeystoreOpts struct + KeyStorePath string + type InmemKeystoreOpts struct + type PluginFactory struct + func (f *PluginFactory) Get(config *FactoryOpts) (bccsp.BCCSP, error) + func (f *PluginFactory) Name() string + type PluginOpts struct + Config map[string]interface{} + Library string + type SWFactory struct + func (f *SWFactory) Get(config *FactoryOpts) (bccsp.BCCSP, error) + func (f *SWFactory) Name() string + type SwOpts struct + DummyKeystore *DummyKeystoreOpts + Ephemeral bool + FileKeystore *FileKeystoreOpts + HashFamily string + InmemKeystore *InmemKeystoreOpts + SecLevel int