一、整体流程
二、钱包
A wallet contains a set of user identities.
三、CA
Fabric CA is a private root CA provider capable of managing digital identities of Fabric participants that have the form of X.509 certificates.
1、注册用户 public String register(RegistrationRequest request, User registrar)
2、撤销用户 public void revoke(User revoker, String revokee, String reason)
3、登记身份 public Enrollment enroll(String user, String secret)
4、撤销身份 public void revoke(User revoker, Enrollment enrollment, String reason)
5、查看证书 public HFCACertificateResponse getHFCACertificates(User registrar, HFCACertificateRequest req)
6、查看从属 public HFCAAffiliation getHFCAAffiliations(User registrar)