Skip to content

Normative text on VP-within-VP #1633

Description

@rmlearney-digicatapult

Hello,

Reading through the specification I'd like to ask if VC DM 2.0/2.1 allows VP-within-VP (e.g. EnvelopedVerifiablePresentation) - a sub-graph within the graph.

VC DM 2.1’s does not specifically mention this, and the verifiableCredential property text still only names credentials/enveloped credentials as supported.

However VC-JOSE-COSE permits VP-within-VP:

§ 3.1.2 Securing JSON-LD Verifiable Presentations with JOSE

... Verifiable Presentations in verifiable presentations MUST use the Enveloped Verifiable Presentation type defined by the VC Data Model. ...

§ 3.2.2 Securing JSON-LD Verifiable Presentations with SD-JWT

... Verifiable Presentations in verifiable presentations MUST use the Enveloped Verifiable Presentation type defined by the VC Data Model. ...

If so does the entire VerifiablePresentation have to be wrapped as an EnvelopedVerifiablePresentation to conform with VC-JOSE-COSE or just the sub-graph? i.e. the entire VP could be signed with a Data Integrity Proof but the subgraphs are secured as EnvelopedVerifiablePresentations, and the total graph can contain a mixture of nodes which are Enveloped VC, Enveloped VP, DI secured VC etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    class 4futureissue left open for a future group to address

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions