bbsDidFromPublicKey
function is a synchronous method that generates a DID from a public key which can be either provided by the client or randomly generated.
publicKey
(string): A public key randomly generated by VC SDK or provided by the client.DID
: An object representing the DID with a method and identifier.