11.4.2.5 Query Credential Template


Function name queryCptById(Long cptId)
Description Query the contents of a specific credential template by its ID.
Method call parameters
No. Parameter Type Required Description
1 cptId Long Y Credential template ID
Method return parameters
No. Parameter Type Required Description
1 CptInfo Y Query result, credential template information
CptInfo
No. Parameter Type Required Description
1 cptJsonSchema Map<String, JsonSchema> Y JsonSchema for Credential template
2 title String Y Title
3 description String Y Description
4 publisherDid String Y DID to create credential template
5 proof Proof Y Signature
6 create String Y Created date
7 update String Y Updated date
JsonSchema
1 type String Y Type
2 description String Y Description
3 required Boolean Y true:required;false:optional
Proof
No. Parameter Type Required Description
1 type String Y Algorithm
2 creator String Y DID
3 signatureValue String Y Signature value
© 2019-2021 Red Date (Hong Kong) Technology Limited. all right reserved,powered by GitbookFile Modify: 2021-10-31 21:52:32

results matching ""

    No results matching ""

    results matching ""

      No results matching ""