Get desktop application:
View/edit binary Protocol Buffers messages
FabricCryptoConfig contains configuration parameters for the cryptographic algorithms used by the MSP this configuration refers to
Used in:
SignatureHashFamily is a string representing the hash family to be used during sign and verify operations. Allowed values are "SHA2" and "SHA3".
IdentityIdentifierHashFunction is a string representing the hash function to be used during the computation of the identity identifier of an MSP identity. Allowed values are "SHA256", "SHA384" and "SHA3_256", "SHA3_384".
FabricMSPConfig collects all the configuration information for a Fabric MSP. Here we assume a default certificate validation policy, where any certificate signed by any of the listed rootCA certs would be considered as valid under this MSP. This MSP may or may not come with a signing identity. If it does, it can also issue signing identities. If it does not, it can only be used to validate and verify certificates.
Used in:
Name holds the identifier of the MSP; MSP identifier is chosen by the application that governs this MSP. For example, and assuming the default implementation of MSP, that is X.509-based and considers a single Issuer, this can refer to the Subject OU field or the Issuer OU field.
List of root certificates trusted by this MSP they are used upon certificate validation (see comment for IntermediateCerts below)
List of intermediate certificates trusted by this MSP; they are used upon certificate validation as follows: validation attempts to build a path from the certificate to be validated (which is at one end of the path) and one of the certs in the RootCerts field (which is at the other end of the path). If the path is longer than 2, certificates in the middle are searched within the IntermediateCerts pool
Identity denoting the administrator of this MSP
Identity revocation list
SigningIdentity holds information on the signing identity this peer is to use, and which is to be imported by the MSP defined before
OrganizationalUnitIdentifiers holds one or more fabric organizational unit identifiers that belong to this MSP configuration
FabricCryptoConfig contains the configuration parameters for the cryptographic algorithms used by this MSP
List of TLS root certificates trusted by this MSP. They are returned by GetTLSRootCerts.
List of TLS intermediate certificates trusted by this MSP; They are returned by GetTLSIntermediateCerts.
fabric_node_ous contains the configuration to distinguish clients from peers from orderers based on the OUs.
FabricNodeOUs contains configuration to tell apart clients from peers from orderers based on OUs. If NodeOUs recognition is enabled then an msp identity that does not contain any of the specified OU will be considered invalid.
Used in:
If true then an msp identity that does not contain any of the specified OU will be considered invalid.
OU Identifier of the clients
OU Identifier of the peers
OU Identifier of the admins
OU Identifier of the orderers
FabricOUIdentifier represents an organizational unit and its related chain of trust identifier.
Used in:
,Certificate represents the second certificate in a certification chain. (Notice that the first certificate in a certification chain is supposed to be the certificate of an identity). It must correspond to the certificate of root or intermediate CA recognized by the MSP this message belongs to. Starting from this certificate, a certification chain is computed and bound to the OrganizationUnitIdentifier specified
OrganizationUnitIdentifier defines the organizational unit under the MSP identified with MSPIdentifier
IdemixMSPConfig collects all the configuration information for an Idemix MSP.
Name holds the identifier of the MSP
ipk represents the (serialized) issuer public key
signer may contain crypto material to configure a default signer
revocation_pk is the public key used for revocation of credentials
epoch represents the current epoch (time interval) used for revocation
IdemixMSPSIgnerConfig contains the crypto material to set up an idemix signing identity
Used in:
cred represents the serialized idemix credential of the default signer
sk is the secret key of the default signer, corresponding to credential Cred
organizational_unit_identifier defines the organizational unit the default signer is in
role defines whether the default signer is admin, peer, member or client
enrollment_id contains the enrollment id of this signer
credential_revocation_information contains a serialized CredentialRevocationInformation
KeyInfo represents a (secret) key that is either already stored in the bccsp/keystore or key material to be imported to the bccsp key-store. In later versions it may contain also a keystore identifier
Used in:
Identifier of the key inside the default keystore; this for the case of Software BCCSP as well as the HSM BCCSP would be the SKI of the key
KeyMaterial (optional) for the key to be imported; this is properly encoded key bytes, prefixed by the type of the key
MSPConfig collects all the configuration information for an MSP. The Config field should be unmarshalled in a way that depends on the Type
Type holds the type of the MSP; the default one would be of type FABRIC implementing an X.509 based provider
Config is MSP dependent configuration info
This struct represents an Idemix Identity to be used to serialize it and deserialize it. The IdemixMSP will first serialize an idemix identity to bytes using this proto, and then uses these bytes as id_bytes in SerializedIdentity
nym_x is the X-component of the pseudonym elliptic curve point. It is a []byte representation of an amcl.BIG The pseudonym can be seen as a public key of the identity, it is used to verify signatures.
nym_y is the Y-component of the pseudonym elliptic curve point. It is a []byte representation of an amcl.BIG The pseudonym can be seen as a public key of the identity, it is used to verify signatures.
ou contains the organizational unit of the idemix identity
role contains the role of this identity (e.g., ADMIN or MEMBER)
proof contains the cryptographic evidence that this identity is valid
This struct represents an Identity (with its MSP identifier) to be used to serialize it and deserialize it
The identifier of the associated membership service provider
the Identity, serialized according to the rules of its MPS
SigningIdentityInfo represents the configuration information related to the signing identity the peer is to use for generating endorsements
Used in:
PublicSigner carries the public information of the signing identity. For an X.509 provider this would be represented by an X.509 certificate
PrivateSigner denotes a reference to the private key of the peer's signing identity