Skip to content

Commit

Permalink
Merge "[FAB-1994] - support intermediate CAs in MSP"
Browse files Browse the repository at this point in the history
  • Loading branch information
mastersingh24 authored and Gerrit Code Review committed Feb 8, 2017
2 parents 8d0699e + bb32aa3 commit 9011c66
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 30 deletions.
64 changes: 38 additions & 26 deletions protos/msp/mspconfig.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 16 additions & 4 deletions protos/msp/mspconfig.proto
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,31 @@ message FabricMSPConfig {
// this can refer to the Subject OU field or the Issuer OU field.
string Name = 1;

// List of root certificates associated
// List of root certificates trusted by this MSP
// they are used upon certificate validation (see
// comment for IntermediateCerts below)
repeated bytes RootCerts = 2;

// 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
repeated bytes IntermediateCerts = 3;

// Identity denoting the administrator of this MSP
repeated bytes Admins = 3;
repeated bytes Admins = 4;

// Identity revocation list
repeated bytes RevocationList = 4;
repeated bytes RevocationList = 5;

// SigningIdentity holds information on the signing identity
// this peer is to use, and which is to be imported by the
// MSP defined before
SigningIdentityInfo SigningIdentity = 5;
SigningIdentityInfo SigningIdentity = 6;
}

// SigningIdentityInfo represents the configuration information
Expand Down

0 comments on commit 9011c66

Please sign in to comment.