JDK-8265006 : Update SunPKCS11 provider guide with ChaCha20-Poly1305 cipher and ChaCha20 key gen
  • Type: Sub-task
  • Component: docs
  • Sub-Component: guides
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-04-09
  • Updated: 2021-05-28
  • Resolved: 2021-05-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17
17Fixed
Description
Add the following rows to the Table 5-3 "Java Algorithms Supported by the SunPKCS11 Provider" of PKCS#11 Reference Guide. (Please see https://docs.oracle.com/en/java/javase/16/security/pkcs11-reference-guide1.html#GUID-D3EF9023-7DDC-435D-9186-D2FD05674777 for the relevant guide for jdk 16)

Java Algorithm                                 PKCS#11 Mechanisms
Cipher.ChaCha20-Poly1305           CKM_CHACHA20_POLY1305
KeyGenerator.ChaCha20               CKM_CHACHA20_KEY_GEN
SecretKeyFactory.ChaCha20         CKM_CHACHA20_POLY1305

Comments
The changes to table 5.3 looks good. BTW, the particular PKCS#11 v3.0 spec for the current supported mechanisms can be found at https://docs.oasis-open.org/pkcs11/pkcs11-curr/v3.0/pkcs11-curr-v3.0.html
15-04-2021

Can we also add links to PKCS#11 v3.0 spec for details on the mechanisms listed in the table under the paragraphs for "SunPKCS11 Provider Supported Algorithms"? The review is still ongoing, we may have to hold back on doc changes until the src changes and CSR has been approved. Thanks!
15-04-2021