How Do You Create Decentralized Identity With Dock Certs?

With a Dock Wallet and Dock Certs, you can create a DID by following these steps:

  1. Create an account on Dock Certs and login. If you’re just getting familiar with the platform, you can use Test mode.

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327bce30b9dd7ec0fe6e69f_Decentralized identity Dock Certs Test mode.jpeg

  1. Click Create Verifiable Credential on the top right.

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327bd9edc04c9e65641c503_Decentralized identity create Verifiable Credential.png

  1. Create the issuer profile (a university for example) and you can leave the Key Type to the default setting. Then select Create a DID.

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327a9f03282e13d0aa30161_9-decentralized identity Issuer profile.png

  1. Choose among the basic template options, select the DID, click Continue on the top right.

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327aa66c5e9158af902bb30_10-Decentralized identity basic template.png

Issuing a Verifiable Credential in a Decentralized Identity System

  1. You can add credential recipients manually one by one or in bulk with the Import CSV option.

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327aacfa772578b6ba7781f_11 decentralized identity import credentials.png

  1. If you add someone manually, you will enter details like this example below where we are identifying someone by their employee number. Once you fill in all of the details, click Add Recipient.

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327ab6c58f250e9c5bac736_13-decentralized identity filling in recipient details manually.png

  1. The information will appear like this:

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327ab9b0b6cc7814780ec08_12-Added recipients decentralized identity.png

  1. If you want to do bulk issuance, you can also import a CSV file. Download the sample template, fill it in, and upload it**.**

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327abd0e66b118b9db2c63c_14-Issue in bulk decentralized identity.png

  1. The next option is to Persist the credential which means that Dock will securely store the credential on our database (but NOT on the blockchain).

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327c3f9934cd018f30330ad_Decentralized identity persist the credential.jpeg

If you persist the credential, there will be a QR code that shows up on the PDF where the recipient can simply scan the QR code with their Dock Wallet app to import the credential in their wallet.

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327cadda871fb01adb942ba_Decentralized identity QR code.jpeg

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327acb3fcd766058c4e42a5_decentralized identity Scan QR code.png

  1. There is an option to add a registry (record) on the blockchain allowing this credential to be revoked.

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327cb4a20780d9444b0d2e1_decentralized identity revoke credential.png

  1. You can anchor the credential which will add a hash of the credential (like a digital fingerprint) you issue on the Dock blockchain. This allows someone to verify when and who created it.

  2. Next click Issue Credentials on the top right and you will be able to download the credentials in JSON and PDF formats. A JSON file is a file that stores simple data structures and objects in JavaScript Object Notation (JSON) format, which is a standard data interchange format.

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327ad51b4cc478051522cf1_18. Issue decentralized identity credentials.png

The Basic PDF credential will look like this:

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327ad9951517c72f2bbdde9_18a. Decentralized identity PDF.png

It’s important to know that if you don’t persist or download the credential, you can’t get it back.

  1. The issuer can email the PDF and JSON files to the recipient. Soon we will be releasing the Relay Service to automatically send the credential to the recipient's wallet.

  2. If there is no QR code on the PDF file (because the credential wasn’t persisted), then the recipient has to download and import the JSON file. To do this select Credentials, click on the + sign on the top right corner, and select the JSON file.

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327adc225160d21d736d2e6_19. Add decentralized identity credentials in the wallet.png

  1. The credential will immediately appear in the Dock Wallet.

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327ade26511f25078f3db26_20. Decentralized identity credentials in the wallet.png

如何使用Dock Certs创建去中心化身份?

使用Dock钱包和Dock证书,您可以按照以下步骤创建DID:

  1. 在Dock Certs上创建帐户并登录。如果您刚开始熟悉该平台,可以使用测试模式

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327bce30b9dd7ec0fe6e69f_Decentralized identity Dock Certs Test mode.jpeg

2.单击右上角的创建可验证凭据

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327bd9edc04c9e65641c503_Decentralized identity create Verifiable Credential.png

3.创建发行方概要文件(例如大学),然后将密钥类型保留为默认设置。然后选择创建DID

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327a9f03282e13d0aa30161_9-decentralized identity Issuer profile.png

4.在基本模板选项中选择,选择DID,然后单击右上角的继续

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327aa66c5e9158af902bb30_10-Decentralized identity basic template.png

在去中心化身份系统中发布可验证凭据

  1. 您可以手动逐个添加凭据接收者,也可以使用导入CSV选项批量添加凭据接收者。

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327aacfa772578b6ba7781f_11 decentralized identity import credentials.png

2.如果您手动添加某人,则需要输入以下示例中的详细信息,其中我们通过他们的员工编号识别某人。填写所有详细信息后,单击添加接收者

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327ab6c58f250e9c5bac736_13-decentralized identity filling in recipient details manually.png

3.信息将显示如下:

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327ab9b0b6cc7814780ec08_12-Added recipients decentralized identity.png

4.如果要进行批量发行,您还可以导入CSV文件。下载示例模板,填写并上传即可**。**

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327abd0e66b118b9db2c63c_14-Issue in bulk decentralized identity.png

5.接下来是持久化凭据选项,这意味着Dock将安全地存储凭据在我们的数据库中(但不存储在区块链上)。

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327c3f9934cd018f30330ad_Decentralized identity persist the credential.jpeg

如果您持久化凭据,则PDF上将显示一个QR码,接收者只需使用Dock钱包应用扫描QR码即可将凭据导入其钱包。

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327cadda871fb01adb942ba_Decentralized identity QR code.jpeg

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327acb3fcd766058c4e42a5_decentralized identity Scan QR code.png

6.有一个选项可以在区块链上添加记录(注册表),允许撤销该凭据。

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327cb4a20780d9444b0d2e1_decentralized identity revoke credential.png

7.您可以锚定凭据,这将在Dock区块链上添加凭据的哈希(就像数字指纹一样),使某人可以验证何时以及由谁创建了它。

8.接下来,单击右上角的发行凭据,您将能够以JSON和PDF格式下载凭据。 JSON文件是以JavaScript对象表示法(JSON)格式存储简单数据结构和对象的文件,这是一种标准数据交换格式。

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327ad51b4cc478051522cf1_18. Issue decentralized identity credentials.png

基本PDF凭据如下:

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327ad9951517c72f2bbdde9_18a. Decentralized identity PDF.png

重要的是要知道,如果您不持久化或下载凭据,则无法将其取回。

9.发行方可以将PDF和JSON文件发送给接收者。很快我们将发布中继服务,自动将凭据发送到接收者的钱包。

10.如果PDF文件上没有QR码(因为凭据未持久化),则接收者必须下载并导入JSON文件。要这样做,请选择凭据,单击右上角的+符号,然后选择JSON文件。

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327adc225160d21d736d2e6_19. Add decentralized identity credentials in the wallet.png

11.凭据将立即显示在Dock钱包中。

https://uploads-ssl.webflow.com/6311eb97e2519f5dbb9ea0cb/6327ade26511f25078f3db26_20. Decentralized identity credentials in the wallet.png