You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A DID method I am working on (did:btc1) supports a method-id that is an encoding of an intermediate DID document representation. E.g. did:btc:<intermediateDocHash>.
In these cases, what value should I put in the controller property of the intermediate representations verificationMethods?
The controller property is a required field for verificationMethod. I believe this can be a relative URL, but I am not sure what is the appropriate relative URL in this case. Is it just empty quotes? Or is it #id? Or something else.
Alternatively, I could populate the controller properties of the verificationMethods in the intermediate DID document representation after generating the DID just as I do with the id field. But ideally there is a relative URL solution I can use.
The text was updated successfully, but these errors were encountered:
Construct the intermediate DID document (Without the DID identifier)
Generate the DID identifier
Fill in necessary fields with the DID:
didDoc.id = did
didDoc.verificationMethods[n].controller = did (for all n verificationMethods)
I guess you probably should also check if a verificationMethod already has a controller before setting it aswell. Since people could create intermediate DID documents with controllers for verificationMethods that are intentionally not the DID of the document.
A DID method I am working on (did:btc1) supports a
method-id
that is an encoding of an intermediate DID document representation. E.g.did:btc:<intermediateDocHash>
.In these cases, what value should I put in the
controller
property of the intermediate representations verificationMethods?The
controller
property is a required field for verificationMethod. I believe this can be a relative URL, but I am not sure what is the appropriate relative URL in this case. Is it just empty quotes? Or is it#id
? Or something else.Alternatively, I could populate the
controller
properties of the verificationMethods in the intermediate DID document representation after generating the DID just as I do with theid
field. But ideally there is a relative URL solution I can use.The text was updated successfully, but these errors were encountered: