• Convert the given DID string to a public key Uint8Array.

    Parameters

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

    Returns { publicKey: Uint8Array; type: "rsa" }