arXiv:2611.03493cs.CRNov 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2611.03493

An Empirical Evaluation of Signing and Verification Performance of Verifiable Credential Formats: A Cross-Language Benchmark of SD-JWT VC, W3C VCDM, and mdoc

Naohiro Fujie, Shigeya Suzuki

Naohiro Fujie

MIRAI Design Laboratory

ITOCHU Techno-Solutions Corporation

OpenID Foundation Japan

Tokyo, Japan

naohiro.fujie@ctc-g.co.jp

Shigeya Suzuki

Global Research Institute

Keio University

Tokyo, Japan

shigeya@wide.ad.jp

Abstract—We compare the signing and verification performance of three Verifiable Credential (VC) formats—SD-JWT VC; the W3C Verifiable Credentials Data Model 2.0 with a Data Integrity cryptosuite (W3C VCDM); and mdoc (ISO/IEC 18013-5)—over one scope: issue, present with selective disclosure, verify. Node.js, Go and Python implementations ran in four environments, one a cloud VM (N=2,000 across five runs; medians of each statistic and the spread). For an end-to-end exchange disclosing 5 of 20 attributes, the total (issue, present, verify) on Node.js in the cloud VM is 0.265 ms for mdoc, 0.298 ms for SD-JWT VC and 0.534 ms for W3C VCDM. The four span a factor of five in speed; across them W3C VCDM takes 1.73–2.04× mdoc and 1.57–1.79× SD-JWT VC—at least five times our 10% band—and the ordering survives unifying the algorithm on Ed25519 and P-256. The mdoc–SD-JWT VC difference is not robust: the totals differ by 12%, 28%, 19% and 10% in the four environments, and at verification mdoc is the slower in one of them. RDFC-1.0 canonicalization produces the gap: the cryptosuite canonicalizes twice per operation, so one exchange canonicalizes six times. We attribute that cost to the specification rather than to a library mainly by replacing RDFC-1.0 with JCS, which brings W3C VCDM verification to within 5% of SD-JWT VC in three environments and within 12% in the fourth; three implementations in three languages agree, though they share a lineage. Because eddsa-rdfc-2022 has no derivation step, presenting a subset re-signs it; ecdsa-sd-2023, which preserves the issuer signature, costs 3.4 ms to issue and 1.5–2.4 ms to derive and verify there. With production education schemas, canonicalization costs 31–49× a simple credential across the four, and blank node labeling is not the driver. The measured path ends at the issuer signature check.

Index Terms—Verifiable Credentials, SD-JWT, JSON-LD, mdoc, signature verification performance, RDF canonicalization, RDFC-1.0, benchmarking

I. INTRODUCTION

This paper addresses three questions, from the standpoint of a deployment choosing a credential format for the verifier it will operate:

• RQ1. Over an identical scope—issue, present with selective disclosure, verify—how do the three formats compare, and does the ordering depend on the signature algorithm or on the machine?

• RQ2. Where does any difference come from: the specification's required processing, the library implementing it, or the signature primitive?

• RQ3. What does the comparison look like when the guarantee is held fixed—that is, when the W3C VCDM side must also preserve the issuer's signature across selective disclosure?

We answer these by measurement rather than analysis, and we are explicit about the boundary: the measured path runs from accepting an input to having checked the issuer signature over it. Key resolution (for mdoc, x5chain path validation), status checking, holder binding and transport are outside it, and Section VI-A states what that exclusion means for how the numbers should be used.

In the field of digital identity, Verifiable Credentials (VCs) have attracted attention as a mechanism that lets a verifier mechanically verify issuer-signed claims without querying a third party. The principal options available to implementers today are SD-JWT VC [1], configurations based on the W3C Verifiable Credentials Data Model 2.0 (VCDM 2.0) [2], and mdoc [3]. These are not specifications at the same level of abstraction. SD-JWT VC and mdoc are credential formats that jointly specify claim structure, encoding and securing. VCDM 2.0, by contrast, specifies only an abstract data model for credentials; securing is supplied by separately combining it with a securing mechanism (Data Integrity [4] or VC-JOSE-COSE [5]). This paper evaluates the configuration that combines VCDM 2.0 with the Data Integrity cryptosuite eddsar-rdfc-2022; we refer to it as “VCDM 2.0 + Data Integrity” and abbreviate it as W3C VCDM. Where we mean the data model specification alone, without a securing mechanism, we write "VCDM 2.0", to distinguish it from the configuration evaluated here. The three rest on different design philosophies, so selecting among them requires multifaceted analysis.

SD-JWT VC is specified as an IETF Internet-Draft under active development and adopts JWT compact serialization. It has strong affinity with the existing OAuth 2.0/OpenID Connect ecosystem, and selective disclosure is provided by the SD-JWT specification [6]. mdoc is the format for mobile identification documents specified in ISO/IEC 18013-5 [3] and adopts binary encoding based on CBOR (Concise Binary Object Representation) and COSE (CBOR Object Signing and Encryption). VCDM 2.0 + Data Integrity, by contrast, expresses the credential data model in JSON-LD, and the Data Integrity [4] cryptosuite eddsa-rdfc-2022 requires RDF dataset canonicalization (RDFC-1.0, the W3C Recommendation of the algorithm formerly developed as URDNA2015) [7] for signing and verification.

Empirical studies that compare these three formats under identical conditions remain limited. Moreover, EU Regulation 2024/1183 (eIDAS 2.0) [8] establishes the European Digital Identity Wallet (EUDIW), and the implementing acts adopted under it designate SD-JWT VC and mdoc as the credential formats wallets must support, increasing the practical importance of quantitative comparison between formats. With a benchmark tool that we developed for this study and released as open source, this paper performs a reproducible comparative evaluation along two axes. The first is a signing/verification speed benchmark that measures the time per operation of signing and verification, including attribute-count scaling, selective disclosure, and canonicalization cost for production schemas. The second is an implementation complexity analysis that measures lines of code, cyclomatic complexity, the number of asynchronous steps, and the number of external network calls. Security-relevant attack surfaces that arise from the verification pipeline—denial of service (DoS), server-side request forgery (SSRF), context injection, and so on—are the subject of a forthcoming paper by the authors that uses the same measurement infrastructure.

Note that the performance comparison in this paper adopts the signature algorithms standardly used in each format's ecosystem (Ed25519 for SD-JWT VC and W3C VCDM, ECDSA P-256 for mdoc), so the measurements reflect not only differences in verification pipelines (canonicalization and preprocessing) but also differences in signature algorithms. This confounding factor is discussed in detail in Section VI and in Section VIII.

References (37)