defcore

package
v0.0.0-...-1ee6361 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLoggerProvider

func NewLoggerProvider() api.LoggerProvider

NewLoggerProvider returns a new default implementation of a logger backend This function is separated from the factory to allow logger creation first.

Types

type ProviderFactory

type ProviderFactory struct {
}

ProviderFactory represents the default SDK provider factory.

func NewProviderFactory

func NewProviderFactory() *ProviderFactory

NewProviderFactory returns the default SDK provider factory.

func (*ProviderFactory) CreateCryptoSuiteProvider

func (f *ProviderFactory) CreateCryptoSuiteProvider(config core.CryptoSuiteConfig) (core.CryptoSuite, error)

CreateCryptoSuiteProvider returns a new default implementation of BCCSP

func (*ProviderFactory) CreateInfraProvider

func (f *ProviderFactory) CreateInfraProvider(config fab.EndpointConfig) (fab.InfraProvider, error)

CreateInfraProvider returns a new default implementation of fabric primitives

func (*ProviderFactory) CreateSigningManager

func (f *ProviderFactory) CreateSigningManager(cryptoProvider core.CryptoSuite) (core.SigningManager, error)

CreateSigningManager returns a new default implementation of signing manager

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL