- sock
- the connected socket
Documentation for this section has not yet been entered.
Type Reason Java.Lang.IllegalArgumentException if the argument is invalid
Checks whether a socket connection is secure.
This factory creates TLS/SSL socket connections
which, by default, are considered secure.
Derived classes may override this method to perform
runtime checks, for example based on the cypher suite.