msp

package
v1.0.0-alpha3 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomCoreFactory

type CustomCoreFactory struct {
	// contains filtered or unexported fields
}

CustomCoreFactory is a custom factory for tests.

func NewCustomCoreFactory

func NewCustomCoreFactory(customCryptoSuite core.CryptoSuite) *CustomCoreFactory

NewCustomCoreFactory creates a new instance of customCoreFactory

func (*CustomCoreFactory) CreateCryptoSuiteProvider

func (f *CustomCoreFactory) CreateCryptoSuiteProvider(config core.Config) (core.CryptoSuite, error)

CreateCryptoSuiteProvider creates custom crypto provider

func (*CustomCoreFactory) CreateInfraProvider

func (f *CustomCoreFactory) CreateInfraProvider(config core.Config) (fab.InfraProvider, error)

CreateInfraProvider creates InfraProvider

func (*CustomCoreFactory) CreateSigningManager

func (f *CustomCoreFactory) CreateSigningManager(cryptoProvider core.CryptoSuite, config core.Config) (core.SigningManager, error)

CreateSigningManager creates SigningManager

type CustomMSPFactory

type CustomMSPFactory struct {
	// contains filtered or unexported fields
}

CustomMSPFactory is a custom factory for tests.

func NewCustomMSPFactory

func NewCustomMSPFactory(customUserStore msp.UserStore) *CustomMSPFactory

NewCustomMSPFactory creates a custom MSPFactory

func (*CustomMSPFactory) CreateIdentityManagerProvider

func (f *CustomMSPFactory) CreateIdentityManagerProvider(config core.Config, cryptoProvider core.CryptoSuite, userStore msp.UserStore) (msp.IdentityManagerProvider, error)

CreateIdentityManagerProvider creates an IdentityManager provider

func (*CustomMSPFactory) CreateUserStore

func (f *CustomMSPFactory) CreateUserStore(config core.Config) (msp.UserStore, error)

CreateUserStore creates UserStore

Jump to

Keyboard shortcuts

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