Skip to content

Sample code or library to create DID Configuration (VP) from VC? #65

@sondreb

Description

@sondreb

The sample provided on the foundation website, is there any sample code or library that can be used to derive this "presentation" from the VC JWT that is included?

https://identity.foundation/.well-known/did-configuration.json

Do I have to manually map this in my own code, or does there exists something I could use?

I'm basically doing a software where when you set it up, you supply your DID and private key, and it will generate a signed "did-configuration.json" that will be provided by others who add your public server to their list of "vaults".

When users add a new server based on their domain name, the did-configuration.json will be verified, the software will do an DID resolving and get metadata for the server, like "name" and "description".

So in essence, convert an DID JWT VC to a type of DomainLinkageCredential to be included in the did-configuration.json.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions