msp

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	IdemixConfigDirMsp              = "msp"
	IdemixConfigDirUser             = "user"
	IdemixConfigFileIssuerPublicKey = "IssuerPublicKey"
	IdemixConfigFileSigner          = "SignerConfig"
)
View Source
const (
	MSPv1_0 = iota
	MSPv1_1
)
View Source
const (
	// AttributeNameOU is the attribute name of the Organization Unit attribute
	AttributeNameOU = "OU"

	// AttributeNameRole is the attribute name of the Role attribute
	AttributeNameRole = "Role"
)

Variables

This section is empty.

Functions

func GetIdemixMspConfig added in v1.1.0

func GetIdemixMspConfig(dir string, ID string) (*msp.MSPConfig, error)

GetIdemixMspConfig returns the configuration for the Idemix MSP

func GetLocalMspConfig

func GetLocalMspConfig(dir string, bccspConfig *factory.FactoryOpts, ID string) (*msp.MSPConfig, error)

func GetLocalMspConfigWithType added in v1.1.0

func GetLocalMspConfigWithType(dir string, bccspConfig *factory.FactoryOpts, ID, mspType string) (*