You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some protocols may have different modes / types for requests, such as signing the entire request object. This changes the top level structure of the request object in the Digital Credentials API.
OID4VP is a protocol which supports both unsigned and signed requests. For example:
So for these examples, the standard unsigned OID4VP request could just use the protocol name openid4vp-v1, whereas the signed request would use openid4vp-signed-v1 (or do we always want to be explicit and not have a default mode, e.g. openid4vp-unsigned-v1?)
This would be instead of introducing another top level property to the API (such as requestType or requestMode).
The registry in the spec would point to the specific portion of the protocol specification which defines that mode/type/behavior.
The text was updated successfully, but these errors were encountered:
Not sure if you need agility here (for example to support more compact binary requests), but you might consider generalizing the signed request variant to support media types.
request_content_type: application/jose+json or application/cose or application/eat+cwt, etc...
request_content: Uint8Array
perhaps for protocol: "openid4vp", you know this will only ever be JOSE / JSON... so this comment is not relevant to that protocol.
As mentioned on yesterday's call - at this level, I'm in favor of continuing to treat OpenID4VP as one "protocol" and using a single protocol identifier for it.
Some protocols may have different modes / types for requests, such as signing the entire request object. This changes the top level structure of the request object in the Digital Credentials API.
OID4VP is a protocol which supports both unsigned and signed requests. For example:
OID4VP unsigned request
OID4VP signed request (proposed, not final)
So for these examples, the standard unsigned OID4VP request could just use the protocol name
openid4vp-v1
, whereas the signed request would useopenid4vp-signed-v1
(or do we always want to be explicit and not have a default mode, e.g.openid4vp-unsigned-v1
?)This would be instead of introducing another top level property to the API (such as
requestType
orrequestMode
).The registry in the spec would point to the specific portion of the protocol specification which defines that mode/type/behavior.
The text was updated successfully, but these errors were encountered: