File tree Expand file tree Collapse file tree 2 files changed +27
-2
lines changed
src/main/java/com/authlete/jaxrs/server/vc Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright (C) 2023 Authlete, Inc.
2+ * Copyright (C) 2023-2025 Authlete, Inc.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
2020import java .util .Arrays ;
2121
2222
23+ /**
24+ * Order formats.
25+ *
26+ * <p>
27+ * NOTE: The media type of SD-JWT VC has been changed from {@code vc+sd-jwt} to
28+ * {@code dc+sd-jwt} by <a href="https://github.com/oauth-wg/oauth-sd-jwt-vc/pull/268"
29+ * >OAuth-SD-JWT-VC PR 268: change media type from vc+sd-jwt to dc+sd-jwt</a>.
30+ * </p>
31+ *
32+ * @see <a href="https://github.com/oauth-wg/oauth-sd-jwt-vc/pull/268"
33+ * >OAuth-SD-JWT VC PR 268: change media type from vc+sd-jwt to dc+sd-jwt</a>
34+ *
35+ * @see <a href="https://datatracker.ietf.org/meeting/121/materials/slides-121-oauth-sessb-sd-jwt-and-sd-jwt-vc-02#page=51"
36+ * >IETF 121 Dublin, SD-JWT/SD-JWT VC, Page 51</a>
37+ */
2338public enum OrderFormat
2439{
25- SD_JWT ("vc+sd-jwt" , new SdJwtOrderProcessor ()),
40+ DC_SD_JWT ("dc+sd-jwt" , new SdJwtOrderProcessor ()),
41+ VC_SD_JWT ("vc+sd-jwt" , new SdJwtOrderProcessor ()),
2642 MDOC ("mso_mdoc" , new MdocOrderProcessor ()),
2743 ;
2844
Original file line number Diff line number Diff line change @@ -36,6 +36,15 @@ public enum VerifiableCredentialType
3636 }
3737 ),
3838
39+ DIGITAL_CREDENTIAL (
40+ "https://credentials.example.com/digital_credential" ,
41+ new String [] {
42+ StandardClaims .GIVEN_NAME ,
43+ StandardClaims .FAMILY_NAME ,
44+ StandardClaims .BIRTHDATE
45+ }
46+ ),
47+
3948 /**
4049 * The vct used in the <a href="https://www.digital-identity-wallet.eu/"
4150 * >POTENTIAL</a> Interop Event Track 2.
You can’t perform that action at this time.
0 commit comments