rotateVerificationMethod
open suspend override fun rotateVerificationMethod(did: Did, oldKeyId: String, newKey: VerificationMethod): RotationResult
Rotate a verification method in a DID document.
Return
Rotation result with updated document
Parameters
did
The DID to update
oldKeyId
The ID of the verification method to replace
newKey
The new verification method