• Convert a public key to a DID format string.

    Parameters

    • publicKey: Uint8Array<ArrayBufferLike>

      Public key as Uint8Array

    • OptionalkeyType: string = 'rsa'

      'rsa' only

    Returns DID

    A DID format string