Skip to content

Commit

Permalink
VC Certificate Type & TLS Certificate Types IANA
Browse files Browse the repository at this point in the history
  • Loading branch information
andreavesco committed Nov 9, 2023
1 parent 846b93b commit 0cf500d
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions draft-vesco-vcauthtls.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,39 @@ W3C defined VC

{::boilerplate bcp14-tagged}

# VC Certificate type

~~~
opaque ASN.1Cert<1..2^24-1>;

struct {
select(certificate_type){
// RawPublicKey certificate type defined in RFC 7250
case RawPublicKey:
opaque ASN.1_subjectPublicKeyInfo<1..2^24-1>;

// X.509 certificate defined in RFC 5246
case X.509:
ASN.1Cert certificate_list<0..2^24-1>;

// The new certificate type definied in this document
case VC:
opaque ASN.1_subjectPublicKeyInfo<1..2^24-1>;

// Additional certificate type based on
// "TLS Certificate Types" subregistry
};
} Certificate;
~~~

TLS Certificate types (IANA)


| value | name | recommended | Reference | comment |
|-------|------|-------------|-----------|---------|
| 4 | Verifiable Credential | | This document | |


# Structure of the FOOBAR Extensions

## ssi_parameters
Expand Down

0 comments on commit 0cf500d

Please sign in to comment.