• Convert a DID format string to a public key instance.

    Parameters

    • did: `did:key:z${string}`

    Returns Promise<PublicKey>