7.7 · Exchange protocolsWorking
Issue-credential and present-proof over DIDComm
Two message-by-message protocols carry credentials between agents. Issuing goes offer, request, issue, acknowledgement. Presenting goes request, presentation, acknowledgement. Each message carries an attachment in a particular credential format, such as AnonCreds or the data model, and the format decides the privacy properties, not the protocol.
An analogy
A written exchange of forms by post.
Where it breaks:
- Each step can be answered automatically by the agent.
- What the forms reveal depends on the attachment, not on the post.
Precisely
The issuing protocol’s states ARIES-RFC-0453 §4.4 and messages ARIES-RFC-0453 §4.5; the presenting protocol’s states ARIES-RFC-0454 §4.5 and messages ARIES-RFC-0454 §5; and the attachment formats for AnonCreds ARIES-RFC-0771 §3.
Who can see what
- Only the two agents, and any mediator on the route, which sees that messages pass but not what they carry.
What this does not do
- The protocols do not check what the attachment says: the agent’s format handler does.
Verified against
- ARIES-RFC-0453 Aries RFC 0453: Issue Credential Protocol 2.0
- ARIES-RFC-0454 Aries RFC 0454: Present Proof Protocol 2.0
- ARIES-RFC-0771 Aries RFC 0771: AnonCreds Attachment Formats for Requesting and Presenting Credentials