JDK-8066639 : Fix deprecation warnings in jdk.crypto module
  • Type: Sub-task
  • Component: security-libs
  • Sub-Component: javax.crypto:pkcs11
  • Affected Version: 9
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2014-12-03
  • Updated: 2018-02-10
Related Reports
Relates :  
Comments
These were internal APIs that we didn't want customers using until we were able to make them public. They changed significantly in JDK 7 (TLS 1.1/1.2) and may change again for TLS1.3
03-12-2014

At time of writing, the deprecation warnings in jdk.crypto are: dev/jdk/src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/P11Key.java:449: warning: [deprecation] TlsMasterSecret in sun.security.internal.interfaces has been deprecated dev/jdk/src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/P11RSACipher.java:176: warning: [deprecation] TlsRsaPremasterSecretParameterSpec in sun.security.internal.spec has been deprecated dev/jdk/src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/P11RSACipher.java:500: warning: [deprecation] TlsRsaPremasterSecretParameterSpec in sun.security.internal.spec has been deprecated dev/jdk/src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/P11RSACipher.java:506: warning: [deprecation] TlsRsaPremasterSecretParameterSpec in sun.security.internal.spec has been deprecated dev/jdk/src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/P11RSACipher.java:507: warning: [deprecation] TlsRsaPremasterSecretParameterSpec in sun.security.internal.spec has been deprecated dev/jdk/src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/P11RSACipher.java:547: warning: [deprecation] TlsRsaPremasterSecretParameterSpec in sun.security.internal.spec has been deprecated dev/jdk/src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/P11RSACipher.java:548: warning: [deprecation] TlsRsaPremasterSecretParameterSpec in sun.security.internal.spec has been deprecated dev/jdk/src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/P11Signature.java:774: warning: [deprecation] engineGetParameter(String) in SignatureSpi has been deprecated dev/jdk/src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/P11Signature.java:768: warning: [deprecation] engineSetParameter(String,Object) in SignatureSpi has been deprecated dev/jdk/src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/P11TlsKeyMaterialGenerator.java:65: warning: [deprecation] TlsKeyMaterialParameterSpec in sun.security.internal.spec has been deprecated dev/jdk/src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/P11TlsKeyMaterialGenerator.java:87: warning: [deprecation] TlsKeyMaterialParameterSpec in sun.security.internal.spec has been deprecated dev/jdk/src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/P11TlsKeyMaterialGenerator.java:90: warning: [deprecation] TlsKeyMaterialParameterSpec in sun.security.internal.spec has been deprecated dev/jdk/src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/P11TlsKeyMaterialGenerator.java:202: warning: [deprecation] TlsKeyMaterialSpec in sun.security.internal.spec has been deprecated dev/jdk/src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/P11TlsMasterSecretGenerator.java:60: warning: [deprecation] TlsMasterSecretParameterSpec in sun.security.internal.spec has been deprecated dev/jdk/src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/P11TlsMasterSecretGenerator.java:79: warning: [deprecation] TlsMasterSecretParameterSpec in sun.security.internal.spec has been deprecated dev/jdk/src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/P11TlsMasterSecretGenerator.java:82: warning: [deprecation] TlsMasterSecretParameterSpec in sun.security.internal.spec has been deprecated dev/jdk/src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/P11TlsPrfGenerator.java:66: warning: [deprecation] TlsPrfParameterSpec in sun.security.internal.spec has been deprecated dev/jdk/src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/P11TlsPrfGenerator.java:84: warning: [deprecation] TlsPrfParameterSpec in sun.security.internal.spec has been deprecated dev/jdk/src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/P11TlsPrfGenerator.java:87: warning: [deprecation] TlsPrfParameterSpec in sun.security.internal.spec has been deprecated dev/jdk/src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/P11TlsRsaPremasterSecretGenerator.java:60: warning: [deprecation] TlsRsaPremasterSecretParameterSpec in sun.security.internal.spec has been deprecated dev/jdk/src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/P11TlsRsaPremasterSecretGenerator.java:76: warning: [deprecation] TlsRsaPremasterSecretParameterSpec in sun.security.internal.spec has been deprecated dev/jdk/src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/P11TlsRsaPremasterSecretGenerator.java:79: warning: [deprecation] TlsRsaPremasterSecretParameterSpec in sun.security.internal.spec has been deprecated
03-12-2014