rotateDid

abstract suspend fun rotateDid(oldDid: Did, newDidOptions: NewDidOptions): DidRotationResult

Rotate the entire DID (create new DID and migrate).

Return

Rotation result with new DID and migration information

Parameters

oldDid

The old DID

newDidOptions

Options for creating the new DID