IDunion / indy-did-resolver

Resolver for the did:indy method
Apache License 2.0
8 stars 7 forks source link

WC3 conformal (JSON-LD) did doc #2

Open Echsecutor opened 2 years ago

Echsecutor commented 2 years ago

Add @context to did doc. See https://www.w3.org/TR/did-core/#example-1-a-simple-did-document . Likely here: https://github.com/IDunion/indy-did-resolver/blob/main/indy-didresolver/src/did_document.rs ?

c2bo commented 2 years ago

If I understand the current indy-did-method spec correctly, this would only be applied right now if diddocContent is present: https://hyperledger.github.io/indy-did-method/#base-diddoc-template

paulbastian commented 2 years ago

Correct, we could add examples with context using ATTRIB for now