Skip to content

Commit

Permalink
Add did_methods among the list of ExtensionType
Browse files Browse the repository at this point in the history
  • Loading branch information
perubeanie committed Jan 30, 2024
1 parent e98e080 commit a381512
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion draft-vesco-vcauthtls.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,18 @@ As per {{RFC7250}}, the client will send a list of certificate types in ``[endpo

# did_methods extension

This section defines the ``did_methods`` extension, used as part of an extended TLS 1.3 handshake when ``VC`` certificate type is used. This extension contains a list of DID Methods an endpoint supports, i.e. a set of DLTs an endpoint can interact with to resolve the peer's DID. A client MUST send this extension in the extended ``ClientHello`` message only when it indicates Verifiable Credential support in the ``server_certificate_type`` extension. The server MUST send this extension in a ``CertificateRequest`` message only if it indicates Verifiable Credential in ``client_certificate_type`` extension. The extension format which uses the ``extension_data`` field, is used to carry the ``DIDMethodList`` structure. The structure of this new extension is shown below.
This section defines the ``did_methods`` extension, used as part of an extended TLS 1.3 handshake when ``VC`` certificate type is used. ``ExtensionType`` now contains the ``did_methods`` entry associated with the value 65282, indicated by IANA for private use.

~~~
enum {
server_name(0),
max_fragment_length(1),
did_methods(65282),
(65535)
} ExtensionType;
~~~

This extension contains a list of DID Methods an endpoint supports, i.e. a set of DLTs an endpoint can interact with to resolve the peer's DID. A client MUST send this extension in the extended ``ClientHello`` message only when it indicates Verifiable Credential support in the ``server_certificate_type`` extension. The server MUST send this extension in a ``CertificateRequest`` message only if it indicates Verifiable Credential in ``client_certificate_type`` extension. The extension format which uses the ``extension_data`` field, is used to carry the ``DIDMethodList`` structure. The structure of this new extension is shown below.

~~~
enum {
Expand Down

0 comments on commit a381512

Please sign in to comment.