11.2.3.3 Revoke Credential


Interface Address /did/revokeCredential
Description Called by the issuer to revoke or void a credential that has been issued. Since the issued credential is already in the custody of the user, the revocation of the credential is followed by the upload of its credential ID.
Interface request parameter
No. Parameter Type Required Description
1 RevokCredentialReq Y Wrapper class
RevokCredentialReq
1 credId String Y Credential ID to be revoked
2 cptId Long Y Credential template ID
3 did String Y Issuer’s DID
4 revokeDate String Y Revoked date
5 publicKeySign String Y The primary private key performs a k1 signature on the primary public key
6 revokeSign String Y After splicing the certificate ID and revocation time, use the primary private key for k1 revocation signature
Interface response parameter
No. Parameter Type Description
1 Boolean Return true if success, return false if failed
© 2019-2021 Red Date (Hong Kong) Technology Limited. all right reserved,powered by GitbookFile Modify: 2022-05-05 15:59:59

results matching ""

    No results matching ""

    results matching ""

      No results matching ""