Retrieving the Data Verification Request (DVR) from the Proof Verifier
No integration with the zkpass-client SDK library is needed for this step.
The Data Holder first gets the DVR by calling the REST API provided by the Proof Verifier.
Part of the zkPass call sequence diagram, which corresponds to the DVR retrieval step, is illustrated below.
The Data Holder should follow four steps to integrate with zkPass:
Sample codes for the Data Holder implementation follow. Each step is explained in detail in the subsections. The code is also available on the zkpass-sdk repo, as shown here:
Sending the ZkpassProof object to the Proof Verifier for verification
No integration with the zkpass-client SDK library is needed for this step.
Once the Data Holder receives the Zkpass Proof from the zkPass Service, it will pass it along to the Proof Verifier for verification. The Proof Verifier provides a REST API for this purpose.
Retrieving the User Data from the Data Issuer
No integration with the zkpass-client SDK library is needed for this step.
The User Data retrieves the user data that is needed by the DVR by calling the REST API provided by the Data Issuer.
Calling zkPass Service's generate_zkpass_proof REST API to create the ZkPass Proof