-
Notifications
You must be signed in to change notification settings - Fork 517
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FAB-10298 NodeSDK Client to return proper CA
The Client.getCertificateAuthority() method returns the fabric-ca-client impl class which may be used to talk directly to the fabric CA. The connection profile has a class called CertificateAuthority which represents the configuration as defined in the connection profile. The names and useage of these two class is causing confusion. To avoid confusion and simplify usage the fabric-client will wrapper the actual runtime class and provide both functions, config and impl. The Client.getCertificateAuthority() will now return the fabric-client class CertificateAuthority allowing for other implemenations in the future without changing the API's. Change-Id: Id2d1fe37247dd4935bbdcc38b612fb0f79c90930 Signed-off-by: Bret Harrison <beharrison@nc.rr.com>
- Loading branch information
Showing
5 changed files
with
96 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters