msp

package
v0.0.0-...-7bdeec1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2020 License: Apache-2.0 Imports: 12 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(cryptoSuiteConfig core.CryptoSuiteConfig) (core.CryptoSuite, error)

CreateCryptoSuiteProvider creates custom crypto provider

func (*CustomCoreFactory) CreateInfraProvider

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

CreateInfraProvider creates InfraProvider

func (*CustomCoreFactory) CreateSigningManager

func (f *CustomCoreFactory) CreateSigningManager(cryptoProvider core.CryptoSuite) (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(endpointConfig fab.EndpointConfig, cryptoProvider core.CryptoSuite, userStore msp.UserStore) (msp.IdentityManagerProvider, error)

CreateIdentityManagerProvider creates an IdentityManager provider

func (*CustomMSPFactory) CreateUserStore

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

CreateUserStore creates UserStore

Jump to

Keyboard shortcuts

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