Skip to content

Commit e65472a

Browse files
committed
signature authz using transaction data presentation definition example
1 parent e64167a commit e65472a

File tree

1 file changed

+66
-1
lines changed

1 file changed

+66
-1
lines changed

ewc-rfc010-long-term-certifice-qes-creation.md

+66-1
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,70 @@ client_id=<OAuth2_client_id>&
534534
client_secret=<OAuth2_client_secret>&
535535
redirect_uri=<OAuth2_redirect_uri>
536536
```
537+
538+
**signature authorization presentation definition:**
539+
According to [5] and [6] an example is provided:
540+
541+
```json
542+
543+
{
544+
"presentation_definition": {
545+
"id": "sign-with-wallet",
546+
"name": "Richiesta di firma per licensee@example.com",
547+
"purpose": "please authorize signature providing your consent",
548+
549+
"transaction_data": [
550+
{
551+
"type": "qes_authorization",
552+
"input_descriptor_ids": [ "PID" ],
553+
"signatureQualifier": "eu_eidas_qes",
554+
"credentialID":"$.credentialID",
555+
"documentDigests": [
556+
{
557+
"hash": "sTOgwOm+474gFj0q0x1iSNspKqbcse4IeiqlDg/HWuI=",
558+
"label": "Example Contract",
559+
"hashAlgorithmOID": "2.16.840.1.101.3.4.2.1",
560+
"documentLocations": [
561+
{
562+
"uri": "https://protected.rp.example/contract-01.pdf?token=HS9naJKWwp901hBcK348IUHiuH8374",
563+
"method": {
564+
"type": "public"
565+
}
566+
},
567+
],
568+
"dtbsr": "VYDl4oTeJ5TmIPCXKdTX1MSWRLI9CKYcyMRz6xlaGg"
569+
}
570+
]
571+
}
572+
],
573+
"input_descriptors": [
574+
{
575+
"id": "PID",
576+
"format": {
577+
"vc+sd-jwt": {}
578+
},
579+
"constraints": [{
580+
<...>
581+
}]
582+
}]
583+
}
584+
}
585+
586+
```
587+
Below is a non-normative example of a Key Binding JWT when a digital credential of a credential format SD-JWT VC is returned in the VP Token (Key Binding JWT is signed using the user-controlled key that proofs possession of the digital credential):
588+
589+
```json
590+
{
591+
"nonce": "1234567890",
592+
"aud": "https://verifier.example.org",
593+
"iat": 1709573255,
594+
"sd_hash": "UqAzPP5Xy1ip2II2c0E4x6U1yHL7_wI5x6VBoe4S1Sk",
595+
"transaction_data": [
596+
"db7031926f79ae41106bc8b50c3e290aa94ea730b8d4fa46a64bb678321272d0"
597+
]
598+
}
599+
```
600+
537601
#### Explicit Flow (explicit):
538602

539603
In the case of `explicit` credential authorization, the Signing Service will need to parse the `expression` parameter of the respective credential and present the required authorization prompts to the User (for example, a PIN prompt).
@@ -647,4 +711,5 @@ The transfer of the document to the Service Provider is out of scope of this RFC
647711
2. European Commission (2025) The European Digital Identity Wallet Architecture and Reference Framework (2025-02, v1.5.1) [Online]. Available at: [https://github.com/eu-digital-identity-wallet/eudi-doc-architecture-and-reference-framework/releases](https://github.com/eu-digital-identity-wallet/eudi-doc-architecture-and-reference-framework/releases)
648712
3. Cloud Signature Consortium API Specification v2 (2023), Available at: [https://cloudsignatureconsortium.org/wp-content/uploads/2023/04/csc-api-v2.0.0.2.pdf](https://cloudsignatureconsortium.org/wp-content/uploads/2023/04/csc-api-v2.0.0.2.pdf)
649713
4. ETSI TS 119 432 V1.2.1 (2020), Available at: [https://www.etsi.org/deliver/etsi_ts/119400_119499/119432/01.02.01_60/ts_119432v010201p.pdf](https://www.etsi.org/deliver/etsi_ts/119400_119499/119432/01.02.01_60/ts_119432v010201p.pdf)
650-
5. OID4VP v24 [https://openid.net/specs/openid-4-verifiable-presentations-1_0.html#name-new-parameters](https://openid.net/specs/openid-4-verifiable-presentations-1_0.html#name-new-parameters)
714+
5. OID4VP v24 [https://openid.net/specs/openid-4-verifiable-presentations-1_0.html#name-new-parameters](https://openid.net/specs/openid-4-verifiable-presentations-1_0.html#name-new-parameters)
715+
6. Proposal for transaction data OID4VP [https://docs.google.com/document/d/1E_UlB3fh9zbWiPrzFThEnt69hYN60CWk/edit?tab=t.0](https://docs.google.com/document/d/1E_UlB3fh9zbWiPrzFThEnt69hYN60CWk/edit?tab=t.0)

0 commit comments

Comments
 (0)