verification Method For Purposes
fun verificationMethodForPurposes(method: VerificationMethod, purposes: List<Purpose> = emptyList()): DidDocument.Builder
Add verification method adds a verification method to the document. If Purposes are provided, the verification method's ID will be added to the corresponding list of purposes.
Parameters
method
VerificationMethod to be added to the document
purposes
List of purposes to which the verification method will be added