Export a DidDocument to a W3C-spec conforming DID Document in the format provided.
The DID Document formatted according to the mime type provided, or an error if the format specified is not supported.
The DidDocument.
The format for the output DID Document. Accepted values are application/json and application/ld+json.
application/json
application/ld+json
Export a DidDocument to a W3C-spec conforming DID Document in the format provided.
Returns
The DID Document formatted according to the mime type provided, or an error if the format specified is not supported.