Versions in this module Expand all Collapse all v1 v1.0.0 Jul 11, 2017 Changes in this version + func GetLocalMspConfig(dir string, bccspConfig *factory.FactoryOpts, ID string) (*msp.MSPConfig, error) + func GetVerifyingMspConfig(dir string, ID string) (*msp.MSPConfig, error) + func NewSerializedIdentity(mspID string, certPEM []byte) ([]byte, error) + func SetupBCCSPKeystoreConfig(bccspConfig *factory.FactoryOpts, keystoreDir string) *factory.FactoryOpts + type Configuration struct + OrganizationalUnitIdentifiers []*OrganizationalUnitIdentifiersConfiguration + type Identity interface + GetIdentifier func() *IdentityIdentifier + GetMSPIdentifier func() string + GetOrganizationalUnits func() []*OUIdentifier + SatisfiesPrincipal func(principal *msp.MSPPrincipal) error + Serialize func() ([]byte, error) + Validate func() error + Verify func(msg []byte, sig []byte) error + type IdentityDeserializer interface + DeserializeIdentity func(serializedIdentity []byte) (Identity, error) + type IdentityIdentifier struct + Id string + Mspid string + type MSP interface + GetDefaultSigningIdentity func() (SigningIdentity, error) + GetIdentifier func() (string, error) + GetSigningIdentity func(identifier *IdentityIdentifier) (SigningIdentity, error) + GetTLSIntermediateCerts func() [][]byte + GetTLSRootCerts func() [][]byte + GetType func() ProviderType + SatisfiesPrincipal func(id Identity, principal *msp.MSPPrincipal) error + Setup func(config *msp.MSPConfig) error + Validate func(id Identity) error + func NewBccspMsp() (MSP, error) + type MSPManager interface + GetMSPs func() (map[string]MSP, error) + Setup func(msps []MSP) error + func NewMSPManager() MSPManager + type OUIdentifier struct + CertifiersIdentifier []byte + OrganizationalUnitIdentifier string + type OrganizationalUnitIdentifiersConfiguration struct + Certificate string + OrganizationalUnitIdentifier string + type ProviderType int + const FABRIC + const OTHER + type SigningIdentity interface + GetPublicVersion func() Identity + Sign func(msg []byte) ([]byte, error)