Versions in this module Expand all Collapse all v1 v1.4.6 Feb 25, 2020 Changes in this version + const AttributeIndexEnrollmentId + const AttributeIndexOU + const AttributeIndexRevocationHandle + const AttributeIndexRole + const AttributeNameEnrollmentId + const AttributeNameOU + const AttributeNameRevocationHandle + const AttributeNameRole + const IdemixConfigDirMsp + const IdemixConfigDirUser + const IdemixConfigFileIssuerPublicKey + const IdemixConfigFileRevocationPublicKey + const IdemixConfigFileSigner + const MSPv1_0 + const MSPv1_1 + const MSPv1_3 + const MSPv1_4_3 + func GetIdemixMspConfig(dir string, ID string) (*msp.MSPConfig, error) + func GetLocalMspConfig(dir string, bccspConfig *factory.FactoryOpts, ID string) (*msp.MSPConfig, error) + func GetLocalMspConfigWithType(dir string, bccspConfig *factory.FactoryOpts, ID, mspType string) (*msp.MSPConfig, error) + func GetRoleMaskFromIdemixRole(role Role) int + func GetVerifyingMspConfig(dir, ID, mspType string) (*msp.MSPConfig, error) + func NewSerializedIdentity(mspID string, certPEM []byte) ([]byte, error) + func ProviderTypeToString(id ProviderType) string + func SetupBCCSPKeystoreConfig(bccspConfig *factory.FactoryOpts, keystoreDir string) *factory.FactoryOpts + type BCCSPNewOpts struct + type Configuration struct + NodeOUs *NodeOUs + OrganizationalUnitIdentifiers []*OrganizationalUnitIdentifiersConfiguration + type IdemixNewOpts struct + type Identity interface + Anonymous func() bool + 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 New(opts NewOpts) (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 + func (o *NewBaseOpts) GetVersion() MSPVersion + type NewOpts interface + GetVersion func() MSPVersion + type NodeOUs struct + AdminOUIdentifier *OrganizationalUnitIdentifiersConfiguration + 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 Role int32 + const ADMIN + const CLIENT + const MEMBER + const PEER + type SigningIdentity interface + GetPublicVersion func() Identity + Sign func(msg []byte) ([]byte, error) Incompatible versions in this module v2.0.1+incompatible Feb 26, 2020