package
2.0.0-beta+incompatible
Repository: https://github.com/ibm/fabric.git
Documentation: pkg.go.dev
# Functions
GetBCCSPFromOpts returns a BCCSP created according to the options passed in input.
GetDefault returns a non-ephemeral (long-term) BCCSP.
GetDefaultOpts offers a default implementation for Opts returns a new instance every time.
InitFactories must be called before using factory interfaces It is acceptable to call with config = nil, in which case some defaults will get used Error is returned only if defaultBCCSP cannot be found.
# Constants
SoftwareBasedFactoryName is the name of the factory of the software-based BCCSP implementation.
# Variables
Default BCCSP.
# Structs
No description provided by the author
FactoryOpts holds configuration information used to initialize factory implementations.
Pluggable Keystores, could add JKS, P12, etc..
InmemKeystoreOpts - empty, as there is no config for the in-memory keystore.
SWFactory is the factory of the software-based BCCSP.
SwOpts contains options for the SWFactory.
# Interfaces
BCCSPFactory is used to get instances of the BCCSP interface.