|
26 | 26 | * @bug 8347938 |
27 | 27 | * @library /test/lib |
28 | 28 | * @summary ensure ML-KEM and ML-DSA encodings consistent with |
29 | | - * draft-ietf-lamps-kyber-certificates-11 and RFC 9881 |
| 29 | + * RFC 9935 and RFC 9881 |
30 | 30 | * @modules java.base/com.sun.crypto.provider |
31 | 31 | * java.base/sun.security.pkcs |
32 | 32 | * java.base/sun.security.provider |
|
62 | 62 | public class PrivateKeyEncodings { |
63 | 63 |
|
64 | 64 | public static void main(String[] args) throws Exception { |
65 | | - // Example keys and certificates draft-ietf-lamps-kyber-certificates-11, Appendix B |
66 | | - // (https://datatracker.ietf.org/doc/html/draft-ietf-lamps-kyber-certificates-11#autoid-17) |
67 | | - // and RFC 9881, Appendix C.3 |
68 | | - // (https://datatracker.ietf.org/doc/html/rfc9881#name-example-certificates) |
| 65 | + // Example keys and certificates in RFC 9935, Appendix C |
| 66 | + // (https://datatracker.ietf.org/doc/html/rfc9935#name-examples) |
| 67 | + // and RFC 9881, Appendix C |
| 68 | + // (https://datatracker.ietf.org/doc/html/rfc9881#name-examples) |
69 | 69 | // |
70 | 70 | // These data can be retrieved from the following GitHub releases: |
71 | 71 | // https://github.com/lamps-wg/kyber-certificates/releases/tag/draft-ietf-lamps-kyber-certificates-11 |
72 | 72 | // https://github.com/lamps-wg/dilithium-certificates/releases/tag/draft-ietf-lamps-dilithium-certificates-13 |
73 | 73 | // |
74 | 74 | // Although the release tags include "draft", these values are the |
75 | | - // same as those in the final RFC 9881. |
| 75 | + // same as those in the final RFCs. |
76 | 76 | try (var kemReader = RepositoryFileReader.of(RepositoryFileReader.KYBER_CERTIFICATES.class, |
77 | 77 | "kyber-certificates-draft-ietf-lamps-kyber-certificates-11/"); |
78 | 78 | var dsaReader = RepositoryFileReader.of(RepositoryFileReader.DILITHIUM_CERTIFICATES.class, |
|
0 commit comments