package
3.0.0+incompatible
Repository: https://github.com/hyperledger/fabric.git
Documentation: pkg.go.dev
# Functions
GetLocalMspConfigWithType returns a local MSP configuration for the MSP in the specified directory, with the specified ID and type.
GetVerifyingMspConfig returns an MSP config given directory, ID and type.
New create a new MSP instance depending on the passed Opts.
NewBccspMspWithKeyStore allows to create a BCCSP-based MSP whose underlying crypto material is available through the passed keystore.
NewMSPManager returns a new MSP manager instance; note that this instance is not initialized until the Setup method is called.
NewSerializedIdentity returns a serialized identity having as content the passed mspID and x509 certificate in PEM format.
ProviderTypeToString returns a string that represents the ProviderType integer.
# Structs
BCCSPNewOpts contains the options to instantiate a new BCCSP-based (X509) MSP.
Configuration represents the accessory configuration an MSP can be equipped with.
IdemixNewOpts contains the options to instantiate a new Idemix-based MSP.
IdentityIdentifier is a holder for the identifier of a specific identity, naturally namespaced, by its provider identifier.
NewBaseOpts is the default base type for all MSP instantiation Opts.
NodeOUs contains information on how to tell apart clients, peers and orderers based on OUs.
OrganizationalUnitIdentifiersConfiguration is used to represent an OU and an associated trusted certificate.
OUIdentifier represents an organizational unit and its related chain of trust identifier.
# Interfaces
Identity interface defining operations associated to a "certificate".
IdentityDeserializer is implemented by both MSPManger and MSP.
MSP is the minimal Membership Service Provider Interface to be implemented to accommodate peer functionality.
MSPManager is an interface defining a manager of one or more MSPs.
NewOpts represent.
SigningIdentity is an extension of Identity to cover signing capabilities.