kantega / vc-inspector

An open source tool for inspecting and debugging verifiable credentials
https://kantega.github.io/vc-inspector/
MIT License
4 stars 0 forks source link

Create a simple interface to analyze a verifiable credentials validity date #6

Closed CJGutz closed 7 months ago

CJGutz commented 9 months ago

Is your feature request related to a problem?

There is currently no solution to analyze a verifiable credential. First, we would like information about validity date.

Describe the solution you would like

Have a function in the inspector package that returns an object containing at least the active from and expiring date of the VC. The supported format should only be JSON-LD for now. Also show the VC's active from and expiring date under the input. Expiring date might not be present.

image

Acceptance Criteria

A single function can be run to get information about the VC. It should return an object attributes about its active from and expiring date. This object can be expanded upon in the future. Uses typedoc to document the functions.

CJGutz commented 7 months ago

Completed with #25