Versions in this module Expand all Collapse all v1 v1.1.0 Apr 12, 2019 Changes in this version + const IdemixConfigDirMsp + const IdemixConfigDirUser + const IdemixConfigFileIssuerPublicKey + const IdemixConfigFileSigner + const MSPv1_0 + const MSPv1_1 + type BCCSPNewOpts struct + type Configuration struct + NodeOUs *NodeOUs + OrganizationalUnitIdentifiers []*OrganizationalUnitIdentifiersConfiguration + type IdemixNewOpts struct + type Identity interface + ExpiresAt func() time.Time + 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) + IsWellFormed func(identity *msp.SerializedIdentity) 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 + GetVersion func() MSPVersion + SatisfiesPrincipal func(id Identity, principal *msp.MSPPrincipal) error + Setup func(config *msp.MSPConfig) error + Validate func(id Identity) error + func NewBccspMsp(version MSPVersion, cryptoSuite apicryptosuite.CryptoSuite) (MSP, error) + type MSPManager interface + GetMSPs func() (map[string]MSP, error) + Setup func(msps []MSP) error + func NewMSPManager() MSPManager + type MSPVersion int + type NewBaseOpts struct + Version MSPVersion + type NewOpts interface + GetVersion func() MSPVersion + type NodeOUs struct + ClientOUIdentifier *OrganizationalUnitIdentifiersConfiguration + Enable bool + OrdererOUIdentifier *OrganizationalUnitIdentifiersConfiguration + PeerOUIdentifier *OrganizationalUnitIdentifiersConfiguration + type OUIdentifier struct + CertifiersIdentifier []byte + OrganizationalUnitIdentifier string + type OrganizationalUnitIdentifiersConfiguration struct + Certificate string + OrganizationalUnitIdentifier string + type ProviderType int + const FABRIC + const IDEMIX + const OTHER + type SigningIdentity interface + GetPublicVersion func() Identity + Sign func(msg []byte) ([]byte, error)