defmsp

package
v0.0.0-...-f15522e Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProviderFactory

type ProviderFactory struct {
}

ProviderFactory represents the default MSP provider factory.

func NewProviderFactory

func NewProviderFactory() *ProviderFactory

NewProviderFactory returns the default MSP provider factory.

func (*ProviderFactory) CreateIdentityManagerProvider

func (f *ProviderFactory) CreateIdentityManagerProvider(endpointConfig fab.EndpointConfig, cryptoProvider core.CryptoSuite, userStore msp.UserStore) (msp.IdentityManagerProvider, error)

CreateIdentityManagerProvider returns a new default implementation of MSP provider

func (*ProviderFactory) CreateUserStore

func (f *ProviderFactory) CreateUserStore(config msp.IdentityConfig) (msp.UserStore, error)

CreateUserStore creates a UserStore using the SDK's default implementation

Jump to

Keyboard shortcuts

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