IdentityWallet.generateNonRevocationMtp() method
Generates proof of credential revocation nonce inclusion / non-inclusion to the given revocation tree and its root or to the current root of the Revocation tree in the given Merkle tree storage.
Signature:
generateNonRevocationMtp(did: DID, credential: W3CCredential, treeState?: TreeState): Promise<MerkleTreeProofWithTreeState>;
Parameters
Parameter | Type | Description |
---|---|---|
did | DID | |
credential | W3CCredential | |
treeState | TreeState | (Optional) |
Returns:
Promise<MerkleTreeProofWithTreeState>
Promise<MerkleTreeProofWithTreeState>
- MerkleTreeProof and TreeState on which proof has been generated