getKey(did
, id
): DidKey
| undefined
Returns a key with a given id, if associated with this DID.
Parameters
• did: any
The DID data.
• id: #${string}
Key id (not the full key uri).
Returns
DidKey
| undefined
The respective public key data or undefined.
Source
did/src/DidDetails/DidDetails.ts:31