identity.ts
identity.ts copied to clipboard
Add a Resolver function to the DID Class
Description A DID is an identifier that must be able to resolve to a DID Document. This functionality already exists in the DID Document class.
Requirements
- [ ] Create a Resolve function in the DID Class
- [ ] Load a DID Document via the DID Document class (If it isn't cached)
- [ ] Optionally cache the DID Document in the DID class (Parameter cache : boolean = true).
- [ ] Return the result in JSON?
Additional Info This function is ment to return different thing: DID Documents, public keys, service endpoint results etc... We need to consider how we catch all that. Might want to research how universal implementations do it.