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

              Source Files