Stay organized with collections
Save and categorize content based on your preferences.
HandshakeCompletedListener
public
interface
HandshakeCompletedListener
implements
EventListener
javax.net.ssl.HandshakeCompletedListener
|
This interface is implemented by any class which wants to receive
notifications about the completion of an SSL protocol handshake
on a given SSL connection.
When an SSL handshake completes, new security parameters will
have been established. Those parameters always include the security
keys used to protect messages. They may also include parameters
associated with a new session such as authenticated
peer identity and a new SSL cipher suite.
Summary
Public methods
handshakeCompleted
public abstract void handshakeCompleted (HandshakeCompletedEvent event)
This method is invoked on registered objects
when a SSL handshake is completed.
Parameters |
event |
HandshakeCompletedEvent : the event identifying when the SSL Handshake
completed on a given SSL connection |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# HandshakeCompletedListener\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nHandshakeCompletedListener\n==========================\n\n\n`\npublic\n\n\ninterface\nHandshakeCompletedListener\n`\n\n\n`\n\n\nimplements\n\n`[EventListener](/reference/java/util/EventListener)`\n\n\n`\n\n|------------------------------------------|\n| javax.net.ssl.HandshakeCompletedListener |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nThis interface is implemented by any class which wants to receive\nnotifications about the completion of an SSL protocol handshake\non a given SSL connection.\n\nWhen an SSL handshake completes, new security parameters will\nhave been established. Those parameters always include the security\nkeys used to protect messages. They may also include parameters\nassociated with a new *session* such as authenticated\npeer identity and a new SSL cipher suite.\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[handshakeCompleted](/reference/javax/net/ssl/HandshakeCompletedListener#handshakeCompleted(javax.net.ssl.HandshakeCompletedEvent))`(`[HandshakeCompletedEvent](/reference/javax/net/ssl/HandshakeCompletedEvent)` event) ` This method is invoked on registered objects when a SSL handshake is completed. |\n\nPublic methods\n--------------\n\n### handshakeCompleted\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract void handshakeCompleted (HandshakeCompletedEvent event)\n```\n\nThis method is invoked on registered objects\nwhen a SSL handshake is completed.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|---------|--------------------------------------------------------------------------------------------------------------------|\n| `event` | `HandshakeCompletedEvent`: the event identifying when the SSL Handshake completed on a given SSL connection \u003cbr /\u003e |"]]