uport-project / kotlin-did-jwt

Create and verify uPort and DID compliant JWTs in Kotlin
https://developer.uport.me
Apache License 2.0
8 stars 6 forks source link

Support revocations for non ethr-did credentials #38

Closed ugoamanoh closed 4 years ago

ugoamanoh commented 4 years ago

Require and use a DIDDocument param for checkStatus gather valid revokers (support revocations for non ethr-did)

ugoamanoh commented 4 years ago

Implementation Notes

- get credential

- get issuer

- resolve to get did document

- verify that issuer & controller match

- get ethereum addresses from public keys

- create a list of valid revokers (if ethr-did, add issuer)

- run credential check against valid revokers
mirceanis commented 4 years ago

closed in #42