11.2.3.1 Issue Credential


Interface Address /did/createCredential
Description The attribute values that are required to be filled in by the credential template are docked between the issuer and the DID user. Through this interface, the issuer will complete the issuance of a certain credential.
Interface request parameter
No. Parameter Type Required Description
1 CreateCredentialReq Y Wrapper class
CreateCredentialReq
1 cptId Long Y Credential template ID
2 issuerDid String Y DID of the credential template issuer
3 userDid String Y DID of the user requesting the credentials
4 expirationDate String Y Credential expiration date
5 claim Map<String, Object> Y Claim data
6 type String Y Credential type, fill in Proof
Interface response parameter
No. Parameter Type Description
1 CredentialWrapper Credential issuance information
CredentialWrapper
1 context String Specification
2 id String Credential ID
3 type String Credential type, fill in proof
4 cptId Long Credential template ID
5 issuerDid String DID of credential issuer
6 userDid String DID of the user requesting the credentials
7 expirationDate String Expiration date
8 created String Created date
9 shortDesc String Brief description of the credential
10 longDesc String Detailed description of the credential
11 claim Map<String, Object> Claim data
12 proof Map<String, Object> Signature
© 2019-2021 Red Date (Hong Kong) Technology Limited. all right reserved,powered by GitbookFile Modify: 2021-12-22 14:32:44

results matching ""

    No results matching ""

    results matching ""

      No results matching ""