DefaultDidRotationService

Default implementation of DID rotation service.

Constructors

Link copied to clipboard
constructor(registrar: DidRegistrar, resolver: DidResolver)

Functions

Link copied to clipboard
open suspend override fun rotateController(did: Did, newController: Did): RotationResult

Update controller of a DID.

Link copied to clipboard
open suspend override fun rotateDid(oldDid: Did, newDidOptions: NewDidOptions): DidRotationResult

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

Link copied to clipboard
open suspend override fun rotateVerificationMethod(did: Did, oldKeyId: String, newKey: VerificationMethod): RotationResult

Rotate a verification method in a DID document.