build

suspend fun build(): DidCreationResult

Build and create the DID.

This operation performs I/O-bound work (key generation, DID document creation) and uses the configured dispatcher. It is non-blocking and can be cancelled.

Return

Sealed result type with success or detailed failure information