HandshakeCompletedListener
Stay organized with collections
Save and categorize content based on your preferences.
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.
Public Methods
public
abstract
void
handshakeCompleted
(HandshakeCompletedEvent event)
This method is invoked on registered objects
when a SSL handshake is completed.
Parameters
event |
the event identifying when the SSL Handshake
completed on a given SSL connection
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["The `HandshakeCompletedListener` interface allows classes to receive notifications upon completion of an SSL/TLS handshake on a connection."],["Upon handshake completion, new security parameters, including encryption keys and potentially session-related data like peer identity and cipher suite, are established."],["The `handshakeCompleted` method is called on registered listener objects, providing an event with details about the completed handshake."]]],["The `HandshakeCompletedListener` interface allows classes to receive notifications upon the completion of an SSL handshake. This interface defines the `handshakeCompleted` method, which is invoked when the handshake finishes. The method receives a `HandshakeCompletedEvent` object, providing details about the completed handshake. After a handshake, new security parameters, such as keys and potentially session details like peer identity and cipher suite, are established.\n"]]