Re: RFR: 8255409: Support the new APIs in PKCS#11 v3.0

2021-12-06 Thread Valerie Peng
On Mon, 6 Dec 2021 18:50:08 GMT, Anthony Scarpino wrote: > Should the NSS supporting 3.0 get added to the changeset for testing? Recall there was a bug filed for updating the artifactory NSS version. There was some window build issue, will follow up with the SQE RE again. > src/jdk.crypto.cryp

Re: RFR: 8255409: Support the new APIs in PKCS#11 v3.0

2021-12-06 Thread Valerie Peng
On Mon, 6 Dec 2021 17:24:44 GMT, Anthony Scarpino wrote: >> PKCS#11 v3.0 adds the support for several new APIs. For this particular RFE, >> it enhances SunPKCS11 provider to load PKCS#11 provider by first trying the >> C_GetInterface (new in 3.0) before the C_GetFunctionList assuming not >> ex

Re: RFR: 8255409: Support the new APIs in PKCS#11 v3.0

2021-12-06 Thread Weijun Wang
On Tue, 7 Dec 2021 00:08:03 GMT, Valerie Peng wrote: >> src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11AEADCipher.java >> line 405: >> >>> 403: private void cancelOperation() { >>> 404: // cancel operation by finishing it; avoid killSession as some >>> 405: //

Re: RFR: 8255409: Support the new APIs in PKCS#11 v3.0

2021-12-06 Thread Valerie Peng
On Sun, 5 Dec 2021 05:00:51 GMT, Weijun Wang wrote: >> PKCS#11 v3.0 adds the support for several new APIs. For this particular RFE, >> it enhances SunPKCS11 provider to load PKCS#11 provider by first trying the >> C_GetInterface (new in 3.0) before the C_GetFunctionList assuming not >> explici

Re: RFR: 8255409: Support the new APIs in PKCS#11 v3.0

2021-12-06 Thread Valerie Peng
On Sun, 5 Dec 2021 04:51:51 GMT, Weijun Wang wrote: >> PKCS#11 v3.0 adds the support for several new APIs. For this particular RFE, >> it enhances SunPKCS11 provider to load PKCS#11 provider by first trying the >> C_GetInterface (new in 3.0) before the C_GetFunctionList assuming not >> explici

Re: RFR: 8255409: Support the new APIs in PKCS#11 v3.0

2021-12-06 Thread Anthony Scarpino
On Wed, 1 Dec 2021 21:42:51 GMT, Valerie Peng wrote: > PKCS#11 v3.0 adds the support for several new APIs. For this particular RFE, > it enhances SunPKCS11 provider to load PKCS#11 provider by first trying the > C_GetInterface (new in 3.0) before the C_GetFunctionList assuming not > explicitly

Re: RFR: 8255409: Support the new APIs in PKCS#11 v3.0

2021-12-06 Thread Anthony Scarpino
On Wed, 1 Dec 2021 21:42:51 GMT, Valerie Peng wrote: > PKCS#11 v3.0 adds the support for several new APIs. For this particular RFE, > it enhances SunPKCS11 provider to load PKCS#11 provider by first trying the > C_GetInterface (new in 3.0) before the C_GetFunctionList assuming not > explicitly

Re: RFR: 8255409: Support the new APIs in PKCS#11 v3.0

2021-12-04 Thread Weijun Wang
On Wed, 1 Dec 2021 21:42:51 GMT, Valerie Peng wrote: > PKCS#11 v3.0 adds the support for several new APIs. For this particular RFE, > it enhances SunPKCS11 provider to load PKCS#11 provider by first trying the > C_GetInterface (new in 3.0) before the C_GetFunctionList assuming not > explicitly

RFR: 8255409: Support the new APIs in PKCS#11 v3.0

2021-12-01 Thread Valerie Peng
PKCS#11 v3.0 adds the support for several new APIs. For this particular RFE, it enhances SunPKCS11 provider to load PKCS#11 provider by first trying the C_GetInterface (new in 3.0) before the C_GetFunctionList assuming not explicitly specified in config. In addition, PKCS#11 v3.0 defines a new A