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.
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
verifiableCredentialproperty text still only names credentials/enveloped credentials as supported.However
VC-JOSE-COSEpermits VP-within-VP:If so does the entire
VerifiablePresentationhave to be wrapped as anEnvelopedVerifiablePresentationto conform withVC-JOSE-COSEor just the sub-graph? i.e. the entireVPcould be signed with aData Integrity Proofbut the subgraphs are secured asEnvelopedVerifiablePresentations, and the total graph can contain a mixture of nodes which areEnveloped VC,Enveloped VP,DI secured VCetc.