From 008f6f10fcf83385882abaf0467054f53cff2478 Mon Sep 17 00:00:00 2001 From: volodymyr-basiuk <31999965+volodymyr-basiuk@users.noreply.github.com> Date: Mon, 9 Dec 2024 22:01:46 +0200 Subject: [PATCH] add AssertionMethod to DIDDocument struct (#98) * add AssertionMethod to DIDDocument --- verifiable/did_doc.go | 1 + 1 file changed, 1 insertion(+) diff --git a/verifiable/did_doc.go b/verifiable/did_doc.go index 0cb7235..4086f68 100644 --- a/verifiable/did_doc.go +++ b/verifiable/did_doc.go @@ -14,6 +14,7 @@ type DIDDocument struct { ID string `json:"id"` Service []interface{} `json:"service,omitempty"` VerificationMethod []CommonVerificationMethod `json:"verificationMethod,omitempty"` + AssertionMethod []Authentication `json:"assertionMethod,omitempty"` Authentication []Authentication `json:"authentication,omitempty"` KeyAgreement []interface{} `json:"keyAgreement,omitempty"` }