AEGIS by ProtoworksDevelopers
Menu

3.6 · Credential formatsWorking

Choosing a format

Five ways of encoding and securing a credential are in use, and they differ in what they can hide, how they tie a credential to its holder, how status is published and where they can be presented. The table compares them property by property, with the source of each cell. Many deployments issue the same claims in more than one format.

In full

Start from the property you cannot compromise. If presentations must not be linkable even when the issuer and a verifier compare notes, only the two columns built on zero-knowledge proofs qualify. If the credential must be shown in person to readers already in the field, the choice is mdoc. If your ecosystem mandates the high-assurance profile, it names the selective-disclosure format and mdoc. If your counterparties already exchange messages between agents, AnonCreds and the data model have defined attachments for that.

Try it

Answer six questions about your ecosystem and see these five formats ranked, with this table’s cells as the reasons.

Precisely

Each cell cites the clause that states it; the sources are listed below with their versions.

Compared
Five formats, property by property
SD-JWT VCmdocAnonCredsData model, in an envelopeData model, with BBS proofs
EncodingJSON, signed as a token, with separate disclosures RFC9901 §4CBOR, with a signed security object ISO-WG10-18013-5-ED2-WD §12.3.4JSON objects, signed with a scheme built for proofs ANONCREDS-1.0 §7JSON-LD in a signed envelope W3C-VC-JOSE-COSE-1.0 §3JSON-LD with an embedded proof W3C-VC-DATA-INTEGRITY-1.0 §2.1 W3C-VC-DI-BBS-1.0 §3
Selective disclosureSalted digests RFC9901 §4.2A salted digest per element ISO-WG10-18013-5-ED2-WD §12.3Per attribute, inside a proof ANONCREDS-1.0 §9When the envelope is the selective-disclosure one W3C-VC-JOSE-COSE-1.0 §3.2Derived proofs W3C-VC-DI-BBS-1.0 §6.2
Unlinkable across verifiersOnly with several single-use copies RFC9901 §10.1 OPENID4VCI-1.0 §14.6Only with several single-use copies OPENID4VCI-1.0 §14.6, by the same reused-signature property; the standard does not state itBy construction W3C-VC-DATA-MODEL-2.0 §5.7Only with several single-use copies, as for the selective-disclosure envelopeBy construction, unless what the holder chooses to reveal links them W3C-VC-DI-BBS-1.0 §6.2 W3C-VC-DI-BBS-1.0 §6.2.5
PredicatesOnly claims the issuer computed in advanceAge claims computed in advance ISO-WG10-18013-5-ED2-WD §13.4.6; proof structures in the draft second edition ISO-WG10-18013-5-ED2-WD §10.2.7Yes ANONCREDS-1.0 §9.1None in the securing mechanismNot among the suite’s features W3C-VC-DI-BBS-1.0 §4.4, as we read that list
Holder bindingA key in the token, and a key-binding token RFC9901 §4.1.2 RFC9901 §4.3A device key, and device authentication ISO-WG10-18013-5-ED2-WD §12.4A link secret ANONCREDS-1.0 §7.4A key in the credential, or a holder-signed presentation W3C-VC-DATA-MODEL-2.0 §4.13Anonymous holder binding, and pseudonyms W3C-VC-DI-BBS-1.0 §4.1
StatusA token status list DRAFT-IETF-OAUTH-STATUS-LIST-21 §6.2A validity window, and the security object’s status ISO-WG10-18013-5-ED2-WD §12.3.4 ISO-WG10-18013-5-ED2-WD §12.3.6A revocation registry, with a proof of non-revocation ANONCREDS-1.0 §10A bitstring status list W3C-BITSTRING-STATUS-LIST-1.0 §2A bitstring status list W3C-BITSTRING-STATUS-LIST-1.0 §2
Issuer key and trust anchorIssuer metadata, a certificate, or a DID DRAFT-IETF-OAUTH-SD-JWT-VC-19 §2.5Certificate chains ISO-WG10-18013-5-ED2-WD §12.8.1A credential definition on a registry ANONCREDS-METHODS-REGISTRYThe issuer’s identifier and verification method W3C-VC-DATA-MODEL-2.0 §4.7As for the enveloped data model W3C-VC-DATA-MODEL-2.0 §4.7
ChannelsIssuance OPENID4VCI-1.0 §A.3, presentation OPENID4VP-1.0 §B.3, the browser’s credential interface W3C-DIGITAL-CREDENTIALSProximity ISO-WG10-18013-5-ED2-WD §9 ISO-WG10-18013-5-ED2-WD §11, online ISO-TS-18013-7 OPENID4VP-1.0 §B.2, the browser’s interface W3C-DIGITAL-CREDENTIALSAgent messages for issuing and presenting ARIES-RFC-0771Issuance OPENID4VCI-1.0 §A.1, presentation OPENID4VP-1.0 §B.1, agent message attachmentsAs for the enveloped data model
High-assurance profileYes HAIP-1.0 §6.1Yes HAIP-1.0 §5.3.1Not profiledNot profiledNot profiled
Who can see what
What this does not do
  • The table compares formats, not products: what a given wallet or library implements of each column is a separate question.
Verified against
  • ANONCREDS-1.0 AnonCreds Specification version 1.0, checked 2026-10-28
  • ANONCREDS-METHODS-REGISTRY AnonCreds Methods Registry version 0.1, checked 2026-10-28
  • ARIES-RFC-0771 Aries RFC 0771: AnonCreds Attachment Formats for Requesting and Presenting Credentials version 0771, checked 2026-10-28
  • DRAFT-IETF-OAUTH-SD-JWT-VC-19 SD-JWT-based Verifiable Digital Credentials (SD-JWT VC) version draft-19, checked 2026-10-28
  • DRAFT-IETF-OAUTH-STATUS-LIST-21 Token Status List (TSL) version draft-21, checked 2026-10-28
  • HAIP-1.0 OpenID4VC High Assurance Interoperability Profile 1.0 version 1.0, checked 2026-10-28
  • ISO-TS-18013-7 ISO/IEC TS 18013-7:2025 mDL add-on functions (Annex C, org-iso-mdoc) version Ed. 2, 2025-05, 42 pp, CHF 181; stage 90.92, checked 2026-10-28
  • ISO-WG10-18013-5-ED2-WD ISO/IEC 18013-5 second edition, CD ballot resolution v4, published by ISO/IEC JTC 1/SC 17/WG 10 version CD ballot resolution v4, dated 2025-09-14 (the latest of the three second-edition drafts in the repository at b250e7a), checked 2026-10-28
  • OPENID4VCI-1.0 OpenID for Verifiable Credential Issuance 1.0 version 1.0, checked 2026-10-28
  • OPENID4VP-1.0 OpenID for Verifiable Presentations 1.0 version 1.0, checked 2026-10-28
  • RFC9901 Selective Disclosure for JSON Web Tokens version RFC 9901, checked 2026-10-28
  • W3C-BITSTRING-STATUS-LIST-1.0 Bitstring Status List v1.0 version 1.0, checked 2026-10-28
  • W3C-DIGITAL-CREDENTIALS Digital Credentials API version Working Draft 2026-09-04, checked 2026-10-28
  • W3C-VC-DATA-INTEGRITY-1.0 Verifiable Credential Data Integrity 1.0 version 1.0, checked 2026-10-28
  • W3C-VC-DATA-MODEL-2.0 Verifiable Credentials Data Model v2.0 version 2.0, checked 2026-10-28
  • W3C-VC-DI-BBS-1.0 Data Integrity BBS Cryptosuites v1.0 version 1.0, checked 2026-10-28
  • W3C-VC-JOSE-COSE-1.0 Securing Verifiable Credentials using JOSE and COSE version 1.0, checked 2026-10-28

Last reviewed 2026-10-28. Next review 2027-04-28. Every quotation is checked against the text it quotes, at the version named, before the page is published.