fabric-sdk-go: github.com/hyperledger/fabric-sdk-go/pkg/fabsdk/provider/msppvdr Index | Files

package msppvdr

import "github.com/hyperledger/fabric-sdk-go/pkg/fabsdk/provider/msppvdr"


Package Files


type MSPProvider Uses

type MSPProvider struct {
    // contains filtered or unexported fields

MSPProvider provides the default implementation of MSP

func New Uses

func New(endpointConfig fab.EndpointConfig, cryptoSuite core.CryptoSuite, userStore msp.UserStore) (*MSPProvider, error)

New creates a MSP context provider

func (*MSPProvider) IdentityManager Uses

func (p *MSPProvider) IdentityManager(orgName string) (msp.IdentityManager, bool)

IdentityManager returns the organization's identity manager

func (*MSPProvider) Initialize Uses

func (p *MSPProvider) Initialize(providers core.Providers) error

Initialize sets the provider context

func (*MSPProvider) UserStore Uses

func (p *MSPProvider) UserStore() msp.UserStore

UserStore returns the user store used by the MSP provider

Package msppvdr imports 6 packages (graph) and is imported by 1 packages. Updated 2019-04-13. Refresh now. Tools for package owners.