Function name |
registerAuthIssuer(RegisterAuthorityIssuer register) |
Description |
The DID user becomes the issuer, and the issuer information is uploaded to the chain if the registration is successful. |
Request Parameters |
No. |
Parameter |
Type |
Required |
Description |
1 |
|
RegisterAuthorityIssuer |
Y |
|
RegisterAuthorityIssuer |
1 |
privateKey |
String |
Y |
Private key |
2 |
did |
String |
Y |
DID |
3 |
name |
String |
Y |
Issuer’s name |
Response Parameters |
No. |
Parameter |
Type |
Required |
Description |
1 |
|
Boolean |
Y |
Return true if success, return false if failure |