AEGIS by ProtoworksDevelopers
Menu

7.8 · Exchange protocolsWorking

DIDComm or OpenID4VC?

Two families of protocol carry credentials: peer messaging between agents, and the OpenID request-and-response protocols. They answer different needs, and many deployments run both. The table compares them axis by axis.

In full

How to choose. Use the OpenID protocols when a person presents a credential to a web or app service in one transaction, and when the ecosystem’s profile requires them. Use DIDComm when two parties keep a relationship and exchange more than credentials, or when one party must be reached while offline. The decision is per interaction, not per platform.

Precisely

Each cell cites the clause that states it; 7.5 DIDComm messaging and 7.1 Issuance with OpenID4VCI introduce the two families.

Compared
Two protocol families, axis by axis
AxisDIDCommOpenID4VCI and OpenID4VP
ShapePeer messages, one-way and asynchronous DIDCOMM-2.0 §1Request and response, shaped like OAuth OPENID4VCI-1.0 §3 OPENID4VP-1.0 §3
RelationshipLasting, identifier to identifier, keys rotatable DIDCOMM-2.0 §5.3 ARIES-RFC-0023 §1None beyond the transaction; the verifier is identified per request OPENID4VP-1.0 §5.9
Reaching an offline partyMediators, and collecting messages later DIDCOMM-2.0 §9.4Not applicable: the wallet answers when the person acts
Starting an interactionAn out-of-band invitation ARIES-RFC-0434 §1A credential offer, or a request by link, code or the browser interface OPENID4VCI-1.0 §4.1 OPENID4VP-1.0 §A
Web and platform integrationNone specified (our inference)The browser credential interface W3C-DIGITAL-CREDENTIALS §1
Formats carriedAny, by attachment ARIES-RFC-0453 §4.5 ARIES-RFC-0771 §3Per profile: data model, mdoc, selective-disclosure tokens OPENID4VP-1.0 §B
Assurance profileNone (our inference)The high-assurance profile HAIP-1.0 §1
Who can see what
What this does not do
  • Choosing a protocol does not choose a format or a trust framework.
Verified against
  • ARIES-RFC-0023 Aries RFC 0023: DID Exchange v1 version 0023, checked 2026-10-28
  • ARIES-RFC-0434 Aries RFC 0434: Out-of-Band Protocol 1.1 version 0434, checked 2026-10-28
  • ARIES-RFC-0453 Aries RFC 0453: Issue Credential Protocol 2.0 version 0453, checked 2026-10-28
  • ARIES-RFC-0771 Aries RFC 0771: AnonCreds Attachment Formats for Requesting and Presenting Credentials version 0771, checked 2026-10-28
  • DIDCOMM-2.0 DIDComm Messaging v2.0 version 2.0, checked 2026-10-28
  • HAIP-1.0 OpenID4VC High Assurance Interoperability Profile 1.0 version 1.0, 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
  • W3C-DIGITAL-CREDENTIALS Digital Credentials API version Working Draft 2026-09-04, 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.