The private key encoding formats of ML-KEM and ML-DSA are updated to match the 
latest IERTF drafts at: 
https://datatracker.ietf.org/doc/html/draft-ietf-lamps-dilithium-certificates-08
 and 
https://datatracker.ietf.org/doc/html/draft-ietf-lamps-kyber-certificates-10. 
New security/system properties are introduced to determine which CHOICE a 
private key is encoded.

Both the encoding and the expanded format are stored inside a `NamedPKCS8Key` 
now. When loading from a PKCS #8 key, the expanded format is either calculated 
or copied from the input.

-------------

Commit messages:
 - the fix

Changes: https://git.openjdk.org/jdk/pull/24969/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24969&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8347938
  Stats: 2448 lines in 23 files changed: 1741 ins; 539 del; 168 mod
  Patch: https://git.openjdk.org/jdk/pull/24969.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24969/head:pull/24969

PR: https://git.openjdk.org/jdk/pull/24969

Reply via email to