ApiSessionFunctions
Function: keyProof()
function keyProof(key, terms?): Promise<string>;Defined in: packages/core/src/session/connect.ts:305
A key's proof that it holds itself, for a connect request with these terms (ConnectRequest.proof)
Parameters
| Parameter | Type |
|---|---|
key | { did: string; keys: CryptoKeyPair; } |
key.did | string |
key.keys | CryptoKeyPair |
terms? | KeyTerms |
Returns
Promise<string>