src/java.base/share/classes/sun/security/ssl/SSLSessionImpl.java
changeset 52643 f8fb0c86f2b3
parent 52512 1838347a803b
child 52890 b0e751c70385
--- a/src/java.base/share/classes/sun/security/ssl/SSLSessionImpl.java	Wed Nov 21 10:46:45 2018 -0800
+++ b/src/java.base/share/classes/sun/security/ssl/SSLSessionImpl.java	Wed Nov 21 15:06:13 2018 -0500
@@ -305,13 +305,6 @@
         return this.identificationProtocol;
     }
 
-    /*
-     * Get the PSK identity. Take care not to use it in multiple connections.
-     */
-    synchronized Optional<byte[]> getPskIdentity() {
-        return Optional.ofNullable(pskIdentity);
-    }
-
     /* PSK identities created from new_session_ticket messages should only
      * be used once. This method will return the identity and then clear it
      * so it cannot be used again.