getKey
getKey(
did,id):DidKey|undefined
Returns a key with a given id, if associated with this DID.
Parameters
Section titled “Parameters”• did: any
The DID data.
• id: `#${string}`
Key id (not the full key uri).
Returns
Section titled “Returns”DidKey | undefined
The respective public key data or undefined.