How must an mdoc document-signer certificate be validated?
Document-signer certificates chain to an IACA root per Annex BISO/IEC 18013-5 §B.1MUSTRoles: issuer, wallet, verifier
Requirement as recorded in the ProtocolSoup registry
Document-signer certificates satisfy the Annex B profile, chain to an independently configured IACA root, and their signing key is bound by the COSE signature. When IssuerAuth is signed by the configured trust anchor itself (verified chain length 1), as in a self-signed trust-anchor mock-wallet shape, the DS-only Annex B profile checks are skipped after successful path validation and P-256 key checks.
Read §B.1 in ISO/IEC 18013-5Self-test verdict
PassCommit 00bac3fEvaluated
This is ProtocolSoup's result against its own implementation at the commit shown. It is not a certification of ProtocolSoup or of any other product.
Captured from production
Captured Commit 00bac3f
Captured from the deployed ProtocolSoup at the commit shown. Every request and response is shown exactly as sent and received.
Passing exchange
Accepted, as requiredConformance client
The conformance client obtains an mDL from the issuer through the Pre-Authorized Code Flow, with a jwt proof of its own P-256 key, and fetches the request object of a direct_post.jwt request for that mDL from the verifier's request_uri. It builds a DeviceResponse itself, disclosing family_name and given_name and signing device authentication over the OpenID4VPHandover SessionTranscript of OpenID4VP 1.0 Appendix B.2.6.1, encrypts it as vp_token to the verifier's response key and POSTs it to /oid4vp/response, then reads the verifier's decision from /oid4vp/result. The IssuerAuth x5chain carries the issuer's document-signer certificate, which chains to the IACA root the verifier is configured with and holds the key that signed IssuerAuth, so the verifier must allow the presentation.
Requests from ProtocolSoup’s conformance client, which sends malformed messages on purpose. The hosted wallet never sends these.
1.GET https://protocolsoup.com/oid4vp/request/9D52bUrdV9JaoKrxjGnylq4X200 OK
TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2
Request
GET /oid4vp/request/9D52bUrdV9JaoKrxjGnylq4X HTTP/2.0 Accept: application/oauth-authz-req+jwt Host: protocolsoup.com User-Agent: ProtocolSoup-Conformance-Client/1
Response
HTTP/2.0 200 OK Cf-Cache-Status: DYNAMIC Cf-Ray: a65ba32fdcef3cdb-MSP Content-Type: application/oauth-authz-req+jwt Date: Sun, 06 Dec 2026 13:29:05 GMT Fly-Request-Id: 01M95RPEFQP9G0APE3QSD3DG8R-ord Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} Referrer-Policy: strict-origin-when-cross-origin Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=A%2B0BgdM9VfyKiR18OzEmtiNQWkHLlZIyyaxp7i6qDMjN0snCIGFqZvkplEV%2FibENlEqkMRHIWmOXp0JTXiGKbzkGfc1tezvbDjv4pR9wY1YbjOEMpgpkUGqFSuPZUmhlakI%3D"}]} Server: cloudflare Speculation-Rules: "/cdn-cgi/speculation" Vary: Origin Via: 1.1 fly.io, 1.1 fly.io X-Content-Type-Options: nosniff X-Frame-Options: DENY X-Xss-Protection: 1; mode=block eyJhbGciOiJSUzI1NiIsImtpZCI6InJzYS05YTJlNThlYzVjNjk3NGJmIiwidHlwIjoib2F1dGgtYXV0aHotcmVxK2p3dCJ9.eyJhdWQiOiJodHRwczovL3NlbGYtaXNzdWVkLm1lL3YyIiwiY2xpZW50X2lkIjoicmVkaXJlY3RfdXJpOmh0dHBzOi8vcHJvdG9jb2xzb3VwLmNvbS9vaWQ0dnAvcmVzcG9uc2UiLCJjbGllbnRfbWV0YWRhdGEiOnsiZW5jcnlwdGVkX3Jlc3BvbnNlX2VuY192YWx1ZXNfc3VwcG9ydGVkIjpbIkExMjhHQ00iXSwiandrcyI6eyJrZXlzIjpbeyJhbGciOiJFQ0RILUVTIiwiY3J2IjoiUC0yNTYiLCJraWQiOiI0UEdSalFqVSIsImt0eSI6IkVDIiwidXNlIjoiZW5jIiwieCI6IktkbFJXeUx4bjJySnMxTkpieVBQYWl5dFZZc1VqQ3pXb2I5X1FialhZd00iLCJ5IjoiZ25BNUJtQ1BVZEt0TGVnLTZURnlDSkpGdm1jMloxQUVBWGVqR2NRejl4MCJ9XX0sInZwX2Zvcm1hdHNfc3VwcG9ydGVkIjp7ImRjK3NkLWp3dCI6eyJrYi1qd3RfYWxnX3ZhbHVl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97lHROP6AnqPzpzYqZJQCipyisS39n8j8q8mZexSjqmh7GHXr1G0MP58bZpWTLi7P6F1Ha7crFBhp5MLENcEoLgCh-vqYOahrQlO3X0usIEjaRbY4uHacB9DVlGC85a5AjVgc-_CWHUiq-PRuv1AvzWicEv2KEXYiHWjEUvskLkypeJQ9C8bobGM_9WNAL6cZcRnx5-dtX9pPFrgEimHj8Lb8dbH7zDv7zFaW9DqKeMp60_gUuMPA-jwlXVhUmLGHtlNNgkquNyZQFzmoJnIEd8I55xd48ZZNDNTAGLdH4gWUgFIehWBLQSBmYJ3q3oqI1522Q2.POST https://protocolsoup.com/oid4vp/response200 OK
TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2
Request
POST /oid4vp/response HTTP/2.0 Content-Length: 3719 Content-Type: application/x-www-form-urlencoded Host: protocolsoup.com User-Agent: ProtocolSoup-Conformance-Client/1 response=eyJhbGciOiJFQ0RILUVTIiwiZW5jIjoiQTEyOEdDTSIsImVwayI6eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6InVjOXp5c2IwRV83YkduRHBncHl5VF93WEFvSFp5Zk9vZHpLS21FQWY3M0EiLCJ5IjoicmxZcnB1b01zY0RhbG9NLTBSU3lvZnpxdEtfb3hNZU9CaHpKblZ5MTVrdyJ9LCJraWQiOiI0UEdSalFqVSJ9..E5P8k76P4nyvwQbV.ziwWWI1tTU-sVfytm6hJ4rrWdk3TE-Gss2Bfs3fIrTHW_pBu7YWRjf2Hc1rHP_AsecFWf1E-haRr3NpuKbF8T6AeAGDKxUj91E5-YgdQpcGsCJorkhKHuPP7mF5-jMz3DwnCMkfEDYh-GetbAVAedmNRFjpOPEvZIVurzXgrffbvdnIlicZRKp7kDAMppy6hts1SLX4SXma-HTj80aE2YxRJNNO00qeEXfgG4R4Wu4zzZUKYNhiT5460b06J8x6cgeCC71_uzp_PtvxVf0LuMDEt_6YcQdba_Xz90WixGoW_0MGs0ppDz_H5YG1SIlw53a2z2y1gFb3hZDp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xomt3o00m9HQbW07y9Ad-f9QxlE3A6XQxMSWWWslDcUJhNzBX1Z_ZzSQhFwwfSn8EE42l2R7bPlV6e_ADQNaUHCbl1m6dIIfEMoP3nDRx-HaayW1K9O1lA0BCcNiXX80-dy7rJHv9q0LX50RoTywLm1u50FEcEUDPqY2OXLgfdhsyPexIP_IxukLcCmy4vSTOY_eCFconqlh1HpRaBQNRQag2TuB59NUlulztDSUoVZLL5RShiJq5mXJgdZ0ZO7P6KVOT4Z43FpEzBClvgsG5G3UrZSCkh3Tpec58j2SuoIyvZEYNOavTUZYYddi09FjWF-jQ2AnpMtsB-18RP4sq2YBLoanPzH0vcwlYhsMFh-tFHQccvpqMD7w6FGG70oXSwi-r8ejfSFaeRI5OKIHiKwqr-JXOlCGZgWX7mUjppm6BTz9afgUara_e3pGJQs13gO99esU6x4wluae_fpj3THwZYb-QFrmLiqVBYI3syidc0CINCaa03xeARjIERkISHPvUpx6deVCVKOa7RKDOLybRs4QAbLbQIlQ09Zaq7b8HXf5vO9GYVZ_t6xosetvLrNfEjn3rgbEx0DWp5TIc0-KZtcts0jliF2FpqC4amLn4iANj-DMddK970xMv_17ALe4JlBfcBFgr33MdS8j0uh_MLvbQfXx7gNkuXe3bGrhyF4AISA3hrzgdvOo5FW_Yp76IkEavYFy8Sqk_xwqmzmM206JXN6meje24a_dL9mOOHuKvVjG4_tpeMIYtSlejIRrSwjfOEjBZ3eL9aFJ6a80cJpJTJcg821qXeTWTDxUwzhgPpDaM_VinvGPOXgu2e9_C-4cB6uDqc_jUOZkijZqnwJO8PTHDWyF0QG1jt8o4rzG0zmqmhpoWES7ezAjNMG_CIdWXhvGrzQifbBsaizL8jC3ny44I-uj_IILo.-hqox9Fz3Z2nJe57hZRx9w
Response
HTTP/2.0 200 OK Cache-Control: no-store Cf-Cache-Status: DYNAMIC Cf-Ray: a65ba33619873cdb-MSP Content-Type: application/json Date: Sun, 06 Dec 2026 13:29:06 GMT Fly-Request-Id: 01M95RPFEYBP6884ZN4P1NJJPN-ord Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} Pragma: no-cache Referrer-Policy: strict-origin-when-cross-origin Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=eOtIyX52mZ%2FLVjJVPUNdAUdJRwlU3nOBLH00XXi%2BsB0F6KTSg5srNBUHQtzkiyIQUn6wIIM00ORn7AkXiOvhGMG9u8QIHZpqtbDCnm1%2FyBzx7lUiXPi65sUF7ZT2uwietaY%3D"}]} Server: cloudflare Server-Timing: cfCacheStatus;desc="DYNAMIC" Server-Timing: cfEdge;dur=3,cfOrigin;dur=219 Vary: Origin Vary: accept-encoding Via: 1.1 fly.io, 1.1 fly.io X-Content-Type-Options: nosniff X-Frame-Options: DENY X-Xss-Protection: 1; mode=block {}3.GET https://protocolsoup.com/oid4vp/result/9D52bUrdV9JaoKrxjGnylq4X200 OK
TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2
Request
GET /oid4vp/result/9D52bUrdV9JaoKrxjGnylq4X HTTP/2.0 Host: protocolsoup.com User-Agent: ProtocolSoup-Conformance-Client/1
Response
HTTP/2.0 200 OK Cache-Control: no-store Cf-Cache-Status: DYNAMIC Cf-Ray: a65ba33c5fd23cdb-MSP Content-Type: application/json Date: Sun, 06 Dec 2026 13:29:07 GMT Fly-Request-Id: 01M95RPGE688BS9GK8HFF76B22-ord Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} Pragma: no-cache Referrer-Policy: strict-origin-when-cross-origin Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=mBtZXf3bZGPL0%2FddvFCJpHrKw%2Bi3nE16b%2FRGNBUa9ft3sGNNRfZfcFxmj1XG7U8pe%2B7yxEs5PPbQhRtmNCPU26AT0CmIRBnjINHrU2uJcxsA%2FIHsgFjYqcpQhx0iF9TEF2U%3D"}]} Server: cloudflare Server-Timing: cfCacheStatus;desc="DYNAMIC" Server-Timing: cfEdge;dur=3,cfOrigin;dur=210 Speculation-Rules: "/cdn-cgi/speculation" Vary: Origin Vary: accept-encoding Via: 1.1 fly.io, 1.1 fly.io X-Content-Type-Options: nosniff X-Frame-Options: DENY X-Xss-Protection: 1; mode=block {"request_id":"9D52bUrdV9JaoKrxjGnylq4X","result":{"nonce_validated":true,"audience_validated":true,"expiry_validated":true,"holder_binding_verified":true,"credential_evidence":{"format":"mso_mdoc","doctype":"org.iso.18013.5.1.mDL","required_claim_paths":["org.iso.18013.5.1/family_name","org.iso.18013.5.1/given_name"],"disclosed_claims":{"org.iso.18013.5.1":{"family_name":"Johnson","given_name":"Alice"}},"full_claims":{"org.iso.18013.5.1":{"family_name":"Johnson","given_name":"Alice"}}},"credential_evidence_set":[{"format":"mso_mdoc","doctype":"org.iso.18013.5.1.mDL","required_claim_paths":["org.iso.18013.5.1/family_name","org.iso.18013.5.1/given_name"],"disclosed_claims":{"org.iso.18013.5.1":{"family_name":"Johnson","given_name":"Alice"}},"full_claims":{"org.iso.18013.5.1":{"family_name":"Johnson","given_name":"Alice"}}}],"policy":{"allowed":true,"code":"allowed","message":"Presentation accepted","evaluated_at":"2026-12-06T13:29:06.374091965Z"}},"status":"completed"}
Failing exchange
Rejected, as requiredConformance client
The conformance client obtains an mDL from the issuer through the Pre-Authorized Code Flow, with a jwt proof of its own P-256 key, and fetches the request object of a direct_post.jwt request for that mDL from the verifier's request_uri. It builds a DeviceResponse itself, disclosing family_name and given_name and signing device authentication over the OpenID4VPHandover SessionTranscript of OpenID4VP 1.0 Appendix B.2.6.1, encrypts it as vp_token to the verifier's response key and POSTs it to /oid4vp/response, then reads the verifier's decision from /oid4vp/result. Before presenting, it creates its own CA and a document-signer certificate under it, and puts that certificate in place of the issuer's in the IssuerAuth unprotected x5chain header (label 33), which the COSE signature does not cover; the MSO and signature are unchanged. The certificate does not chain to any IACA root the verifier is configured with, so the verifier must deny the presentation when certificate path validation fails.
Requests from ProtocolSoup’s conformance client, which sends malformed messages on purpose. The hosted wallet never sends these.
1.GET https://protocolsoup.com/oid4vp/request/1J9Mwwy_D_kvlBOw56i12BBJ200 OK
TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2
Request
GET /oid4vp/request/1J9Mwwy_D_kvlBOw56i12BBJ HTTP/2.0 Accept: application/oauth-authz-req+jwt Host: protocolsoup.com User-Agent: ProtocolSoup-Conformance-Client/1
Response
HTTP/2.0 200 OK Cf-Cache-Status: DYNAMIC Cf-Ray: a65ba3682cef3cdb-MSP Content-Type: application/oauth-authz-req+jwt Date: Sun, 06 Dec 2026 13:29:14 GMT Fly-Request-Id: 01M95RPQ8Z1N4PR562WTK7DETN-ord Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} Referrer-Policy: strict-origin-when-cross-origin Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=rkDuwkJ3fBm0gZjd0dwcIPfZ7%2F8076etoRYqJbBqvGVtDPqNW7QTGCHAIeBEkmHwsnmnV%2F4S%2BUUTiQAz32DRVCDtr7Tgooy715qRXxqcreDxOh1IAl6EuP0WCVNlJ8XaYts%3D"}]} Server: cloudflare Speculation-Rules: "/cdn-cgi/speculation" Vary: Origin Via: 1.1 fly.io, 1.1 fly.io X-Content-Type-Options: nosniff X-Frame-Options: DENY X-Xss-Protection: 1; mode=block eyJhbGciOiJSUzI1NiIsImtpZCI6InJzYS05YTJlNThlYzVjNjk3NGJmIiwidHlwIjoib2F1dGgtYXV0aHotcmVxK2p3dCJ9.eyJhdWQiOiJodHRwczovL3NlbGYtaXNzdWVkLm1lL3YyIiwiY2xpZW50X2lkIjoicmVkaXJlY3RfdXJpOmh0dHBzOi8vcHJvdG9jb2xzb3VwLmNvbS9vaWQ0dnAvcmVzcG9uc2UiLCJjbGllbnRfbWV0YWRhdGEiOnsiZW5jcnlwdGVkX3Jlc3BvbnNlX2VuY192YWx1ZXNfc3VwcG9ydGVkIjpbIkExMjhHQ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Nwb25zZSIsImp0aSI6IjFKOU13d3lfRF9rdmxCT3c1NmkxMkJCSiIsIm5vbmNlIjoiOUtsc1N6aVA0ejdUaGlOd3RWUmFXQndNZDQwQU9rRWo4akIzR1JEY3kwbyIsInJlc3BvbnNlX21vZGUiOiJkaXJlY3RfcG9zdC5qd3QiLCJyZXNwb25zZV90eXBlIjoidnBfdG9rZW4iLCJyZXNwb25zZV91cmkiOiJodHRwczovL3Byb3RvY29sc291cC5jb20vb2lkNHZwL3Jlc3BvbnNlIiwic3RhdGUiOiJ4Y1Vfbm9vVEZnN09HOVNuYncybC1ELV8ifQ.sWiZSHu6rnD0tscY78jayHOtyUqrY6fsALlhbuSvVZTcuQqBS0h1uPh7WiMZc0Pp6wM3ekj7CAZk8Z8EWYsOu_oKmlsn13n4Gt-0BH_EZH9-W6WeP1czvkm2BvJKxS7KcVGRwtSjoswOCgyaFola-OaxthXHYCWcWAz3b-JCXPzEf1DylcrbBQt9EXZeDyToId6Y6kbgW3HxKLFj96eVr8mj2Tv3wBbhFOFMvfgqBq0NfA6gB1IJinJRGG0UVa3dCzjc8wYaKRqqGIC9mpgrNHHaGQ87WXeoLPrfnReJAZnf7snm5v_BwamGdJzver5RvpLa3JabEScrcpIIlYASJg2.POST https://protocolsoup.com/oid4vp/response200 OK
TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2
Request
POST /oid4vp/response HTTP/2.0 Content-Length: 3510 Content-Type: application/x-www-form-urlencoded Host: protocolsoup.com User-Agent: ProtocolSoup-Conformance-Client/1 response=eyJhbGciOiJFQ0RILUVTIiwiZW5jIjoiQTEyOEdDTSIsImVwayI6eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IlN1R0VXaGxIXzNfc29hZkFTZUNnVmFQQ1hDZVhrLVdYSTBkYURsNnVCclEiLCJ5IjoiRG1DWG81N2pJc3dmelZuTC1GR2J6V3dfdmJzWndfUmxhc3VyNm9iZUN1ayJ9LCJraWQiOiJCZ2VWNWJESSJ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Y.fPwrCiuA85LgBdnD6MiIUw
Response
HTTP/2.0 200 OK Cache-Control: no-store Cf-Cache-Status: DYNAMIC Cf-Ray: a65ba36e6a4f3cdb-MSP Content-Type: application/json Date: Sun, 06 Dec 2026 13:29:15 GMT Fly-Request-Id: 01M95RPR87B8ZN9Y227SW55BX7-ord Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} Pragma: no-cache Referrer-Policy: strict-origin-when-cross-origin Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=LMUDrCf1Mlre4VRIKdPyBFNdh2oaLsqjjMbzmL3EzMW4w6Jw%2BTR7fAWtcWPQzetCSFZ9MjMxboHYE1ILIBnyAS%2BsMt1jyWc7NMqrpHegzF%2F%2FKzP%2B%2BbWxe7ojz%2F%2B%2Bk2JNXnU%3D"}]} Server: cloudflare Server-Timing: cfCacheStatus;desc="DYNAMIC" Server-Timing: cfEdge;dur=4,cfOrigin;dur=222 Vary: Origin Vary: accept-encoding Via: 1.1 fly.io, 1.1 fly.io X-Content-Type-Options: nosniff X-Frame-Options: DENY X-Xss-Protection: 1; mode=block {}3.GET https://protocolsoup.com/oid4vp/result/1J9Mwwy_D_kvlBOw56i12BBJ200 OK
TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2
Request
GET /oid4vp/result/1J9Mwwy_D_kvlBOw56i12BBJ HTTP/2.0 Host: protocolsoup.com User-Agent: ProtocolSoup-Conformance-Client/1
Response
HTTP/2.0 200 OK Cache-Control: no-store Cf-Cache-Status: DYNAMIC Cf-Ray: a65ba374995d3cdb-MSP Content-Type: application/json Date: Sun, 06 Dec 2026 13:29:16 GMT Fly-Request-Id: 01M95RPS7DVS1C0F1PSB2W0ZYJ-ord Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} Pragma: no-cache Referrer-Policy: strict-origin-when-cross-origin Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=0mTIFo%2FR%2B35vwOkcTapyeKlrebugETZLF4pypb5%2BgyV9Efkf%2B2nOSpSyOsqR%2BoS9BgZV5HwHhwJEofl2WHUSL6rlxgBftsWkSHW9TLqenmhY0XbPZ95yBhyDKhTz11q6cYg%3D"}]} Server: cloudflare Server-Timing: cfCacheStatus;desc="DYNAMIC" Server-Timing: cfEdge;dur=2,cfOrigin;dur=201 Speculation-Rules: "/cdn-cgi/speculation" Vary: Origin Vary: accept-encoding Via: 1.1 fly.io, 1.1 fly.io X-Content-Type-Options: nosniff X-Frame-Options: DENY X-Xss-Protection: 1; mode=block {"request_id":"1J9Mwwy_D_kvlBOw56i12BBJ","result":{"nonce_validated":false,"audience_validated":false,"expiry_validated":false,"holder_binding_verified":false,"policy":{"allowed":false,"code":"device_auth_invalid","message":"Presentation denied: mdoc: DeviceResponse document 0: mdoc: issuer verification for docType \"org.iso.18013.5.1.mDL\": mdoc: x5chain certificate path validation failed: x509: certificate signed by unknown authority","reasons":["mdoc: DeviceResponse document 0: mdoc: issuer verification for docType \"org.iso.18013.5.1.mDL\": mdoc: x5chain certificate path validation failed: x509: certificate signed by unknown authority"],"reason_codes":["device_auth_invalid"],"evaluated_at":"2026-12-06T13:29:15.384486509Z"}},"status":"completed"}
Run it live
Looking Glass runs the flow that sends the message this requirement governs, against the same server, and decodes each exchange as it happens.
Open the flow in Looking GlassTests
- TestVerifyIssuerSignedRejectsNilRoots
./internal/mdoc
Pass - TestDocumentSignerCertificateProfileRejectsInvalidFields
./internal/mdoc
Pass - TestIssuerAuthSignatureBindsRFC9360X5ChainLeaf
./internal/mdoc
Pass - TestVerifyIssuerSignedAcceptsTrustAnchorAsDocumentSigner
./internal/mdoc
Pass - TestVerifyIssuerSignedRejectsCADocumentSignerBeneathIACA
./internal/mdoc
Pass
Implementation
Explainer
What this requires
ISO/IEC 18013-5 is not openly published, so this page quotes only the registry statement and describes the profile ProtocolSoup enforces. The IssuerAuth COSE_Sign1 carries the document-signer (DS) certificate, and any intermediates, in the unprotected x5chain header (label 33). The verifier validates that chain against IACA roots it was configured with, never against a certificate taken from the credential, and then verifies the COSE signature with the leaf's own public key, which must be ECDSA P-256.
For a DS leaf beneath an IACA, ProtocolSoup's profile requires: Basic Constraints with CA false, key usage of digitalSignature only, the mDL DS extended key usage 1.0.18013.5.1.2, a positive serial number of at most 20 octets, a subject with a two-letter countryName and an organizationName, a validity period of at most 457 days, subject and authority key identifiers, a CRL distribution point, an issuerAltName extension, and an ECDSA-with-SHA256 signature. The registry statement records one exception: when path validation shows the leaf is itself a configured trust anchor, these DS-only checks are skipped, but path validation and the P-256 key check still apply.
Why it exists
This is ProtocolSoup's explanation of the consequence, not the standard's stated rationale. A certificate chain in the credential is only a claim about who signed it; trust comes from a root the verifier chose. Validating against a root the credential supplies lets anyone issue an mDL. Profile checks such as CA false keep a CA key from also acting as a document signer, and checking the signature with the leaf's key is what ties the signed MSO to the certificate that was validated.
What non-compliance looks like
A verifier trusts whatever root arrives in x5chain, so a self-signed certificate passes. Or it validates the chain correctly but verifies the COSE signature with a key from somewhere else, so a valid chain for one issuer vouches for an MSO signed by another. Or it accepts a CA=true certificate beneath the IACA as a document signer.
How ProtocolSoup tests it
VerifyIssuerSigned takes the root pool as a parameter, adds x5chain entries only as intermediates, and fails closed when the pool is nil. extractAndVerifyDocSignerKey runs path validation, applies validateDocumentSignerCertificate unless a verified chain has length 1, checks for a P-256 key, and returns the leaf key that VerifySign1 uses.
TestVerifyIssuerSignedRejectsNilRoots asserts verification fails with no roots. TestDocumentSignerCertificateProfileRejectsInvalidFields mutates a valid DS certificate eleven ways (missing EKU, wrong key usage, CA true, no Basic Constraints, overlong validity, missing country, organisation, SKI, AKI, CRL distribution point or issuerAltName) and asserts each is rejected; the serial number and signature algorithm checks are not exercised. TestIssuerAuthSignatureBindsRFC9360X5ChainLeaf signs with one PKI's key, attaches another PKI's valid chain and roots, and asserts rejection. TestVerifyIssuerSignedAcceptsTrustAnchorAsDocumentSigner asserts a self-signed CA=true IACA, alone in x5chain and in the root pool, verifies. TestVerifyIssuerSignedRejectsCADocumentSignerBeneathIACA asserts a CA=true leaf issued by a separate IACA is rejected. No listed test presents a chain to a root that is not in the configured pool.