--- a/src/java.base/share/classes/sun/security/ssl/RSASignature.java Fri Jun 08 12:48:32 2018 -0700
+++ b/src/java.base/share/classes/sun/security/ssl/RSASignature.java Fri Jun 08 16:51:30 2018 -0700
@@ -69,25 +69,6 @@
return JsseJce.getSignature(JsseJce.SIGNATURE_SSLRSA);
}
- /**
- * Get an internal implementation for the RSA signature.
- *
- * Used for RSA client authentication, which needs the ability to set
- * the digests to externally provided values via the setHashes() method.
- */
- static Signature getInternalInstance()
- throws NoSuchAlgorithmException, NoSuchProviderException {
- return Signature.getInstance(JsseJce.SIGNATURE_SSLRSA, "SunJSSE");
- }
-
- /**
- * Set the MD5 and SHA hashes to the provided objects.
- */
- @SuppressWarnings("deprecation")
- static void setHashes(Signature sig, MessageDigest md5, MessageDigest sha) {
- sig.setParameter("hashes", new MessageDigest[] {md5, sha});
- }
-
@Override
protected void engineInitVerify(PublicKey publicKey)
throws InvalidKeyException {