File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -148,13 +148,6 @@ type CommonVerificationMethod struct {
148148 IdentityState
149149}
150150
151- // TODO (illia-korotia): resolve key depend on cvm.Type
152- // pseudocode:
153- // if EcdsaSecp256k1VerificationKey2019 = resilve from PublicKeyJwk or PublicKeyMultibase or ...
154- // if EddsaBJJVerificationKey = resolve only from PublicKeyJwk
155- // etc...
156- // func (cvm *CommonVerificationMethod) Key() (*crypto.PublicKey)
157-
158151type Authentication struct {
159152 CommonVerificationMethod
160153 did string
Original file line number Diff line number Diff line change @@ -189,7 +189,6 @@ func TestDidDoc_ResolveKeyAgreementVerificationMethods(t *testing.T) {
189189 name : "Resolve did reference and inline methods" ,
190190 doc : DIDDocument {
191191 VerificationMethod : []CommonVerificationMethod {vm1 , vm2 },
192- // authentication contains a DID reference to vm1 and inline vm2
193192 KeyAgreement : []Authentication {
194193 {CommonVerificationMethod : CommonVerificationMethod {}, did : vm1 .ID },
195194 {CommonVerificationMethod : vm2 },
You can’t perform that action at this time.
0 commit comments