package
0.0.0-20180830032904-3da98e966145
Repository: https://github.com/traceabilitychain/tac.git
Documentation: pkg.go.dev
# Functions
GetBCCSP returns a BCCSP created according to the options passed in input.
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
PKCS11BasedFactoryName is the name of the factory of the hsm-based BCCSP implementation.
SoftwareBasedFactoryName is the name of the factory of the software-based BCCSP implementation.
# Structs
No description provided by the author
No description provided by the author
Pluggable Keystores, could add JKS, P12, etc..
PKCS11Factory is the factory of the HSM-based BCCSP.
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.