IProofService.generateProof() method
Generate proof from given identity and credential for protocol proof request
Signature:
generateProof(proofReq: ZeroKnowledgeProofRequest, identifier: DID, opts?: ProofGenerationOptions): Promise<ZeroKnowledgeProofResponse>;
Parameters
Parameter | Type | Description |
---|---|---|
proofReq | ZeroKnowledgeProofRequest | protocol zkp request |
identifier | DID | did that will generate proof |
opts | ProofGenerationOptions | (Optional) options that will be used for proof generation |
Returns:
Promise<ZeroKnowledgeProofResponse>
Promise<ZeroKnowledgeProofResponse>