Versions in this module Expand all Collapse all v1 v1.4.9 Jul 22, 2021 Changes in this version + const GuomiBasedFactoryName + const PluginFactoryName + const SoftwareBasedFactoryName + 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 GMFactory struct + func (f *GMFactory) Get(config *FactoryOpts) (bccsp.BCCSP, error) + func (f *GMFactory) Name() 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