findVerificationMethod

Finds a verification method by ID in a DID document.

Example:

val vm = findVerificationMethod(document, vmId)

Return

The verification method if found, null otherwise

Parameters

document

The DID document

vmId

The verification method ID to find