Convert a public key to a DID format string.
Public key as Uint8Array
Optional
'rsa' only
A DID format string
Convert a public key to a DID format string.