The name of the DID method.
For example, in the DID did:example:123456
, "example" would be the method name.
Creates a new DID.
This function should generate a new DID in accordance with the DID method specification being
implemented, using the provided keyManager
, and optionally, any provided options
.
A promise that resolves to the newly created DID instance.
Given a DID Document, return the verification method that will be used for signing messages and credentials.
If given, the methodId
parameter is used to select the verification method. If not given, a
DID method specific approach is taken to selecting the verification method to return.
The parameters for the getSigningMethod
operation.
DID Document to get the verification method from.
Optional
methodID of the verification method to use for signing.
A promise that resolves to the erification method to use for signing.
Resolves a DID URI.
This function should resolve the DID URI in accordance with the DID method specification being
implemented, using the provided options
.
The DID URI to be resolved.
Optional
options: DidResolutionOptionsOptional. The options used for resolving the DID.
A DidResolutionResult object containing the DID document and metadata or an error.
Defines the API for a specific DID method. It includes functionalities for creating and resolving DIDs.
Typeparam
T - The type of the DID instance associated with this method.
Typeparam
O - The type of the options used for creating the DID.