DidMethodProvider

Service Provider Interface for DidMethod implementations. Implementations of this interface will be discovered via Java ServiceLoader.

Properties

Link copied to clipboard
abstract val name: String

The name/identifier of this provider (e.g., "waltid", "mock").

Link copied to clipboard
open val priority: Int

Preference when more than one provider claims the same DID method; higher wins.

Link copied to clipboard

Returns the list of environment variables required for this DID method provider.

Link copied to clipboard

List of DID method names supported by this provider.

Functions

Link copied to clipboard
abstract fun create(methodName: String, options: DidCreationOptions = DidCreationOptions()): DidMethod?

Creates a DidMethod instance for the specified method name.

Link copied to clipboard

Checks if all required environment variables are available for this provider.