Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation of Hedera DID Spec 0.9 (HIP-27) #26

Open
wants to merge 65 commits into
base: main
Choose a base branch
from

Conversation

derek-meeco
Copy link

Description:

This update was completed in Mar 2022 to align the Java SDK with the Hedera DID Method v0.9 defined at the time.

This updated specification for the Hedera Hashgraph DID Method aligns with the Decentralized Identifiers (DIDs) v1.0 W3C Recommendation, published 19 July 2022.

The specification allows for DID resolution via construction of DID document elements from HCS messages, but not from lookup of DID document from IPFS via a CID reference registered via a HCS message.

This is part of HIP-27: DID improvements to offer a broader support and interoperability for the Hedera DID method

Notes for reviewer:

This version is based on the packages at the time, and has not been updated since.

elena and others added 30 commits March 10, 2022 14:23
…s libs.

Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
…r, clean up, commented out some broken tests.

Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
… out some broken tests.

Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Remove address book

Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
…vents logic.

Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Add events

Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
adding events classes


Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
fix multicodec and multiformat


Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
fix multibase decoding


Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
…ransaction related classes

Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
DidDocument
MessageResolver
Topic listner etc..


Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
vijayshiyani and others added 30 commits April 1, 2022 08:11
Port rest of the HcsDid API

Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Try to add an integration test. Error

Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
… and parsing sent messages...

Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Feature/more integration tests

Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
added demo test files

Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
fix tests and updated README.md

Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Task/wip

Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
…mit errors better

Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Get 5min timeout when waiting for message to be submitted. Handle sub…

Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Develop

Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: Greg Scullard <[email protected]>


Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Signed-off-by: elena <[email protected]>; Signed-off-by: linasi <[email protected]>; Signed-off-by: vijay <[email protected]>; Signed-off-by: Elena <[email protected]>; Signed-off-by: Linas Išganaitis <[email protected]>; Signed-off-by: Vijay Shiyani <[email protected]>; Signed-off-by: Derek Munneke (Meeco) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants