-
Notifications
You must be signed in to change notification settings - Fork 508
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-8597] Simplify Enroll and Reenroll
Enroll and Reenroll no longer return the enrolled user's private key and enrollment cert. Both functions now return only error. Before the latest changes described in FAB-8269, the application (that uses the SDK) was required to manage user certs upon enrollment. Therefor, it was necessary for Enroll and Reenroll to return the newly generated enrollment cert to the application for management. Now, both the generated private key and cert are managed by the SDK in the SDK stores. Application can obtain them by calling IdentityManager.GetSigningIdentity. Also, when the WithUser(username) option is used to create SDK services, the user's private key and cert are automatically used for signing client messages. Change-Id: Iff13eb55238191536691df124431c1af2643bdd7 Signed-off-by: Aleksandar Likic <aleksandar.likic@securekey.com>
- Loading branch information
Aleksandar Likic
committed
Mar 1, 2018
1 parent
82e18d8
commit e7a7792
Showing
9 changed files
with
97 additions
and
248 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.