com.microstrategy.utils.certificate.SSLClientHelper.Callback |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onFailure(Exception e)
Method called by CertificateEngineerClient library when it fails to
connect to a server at a specified port, either using the global (system)
trust store or using the local trust store provided by the user of the
library.
| ||||||||||
abstract void |
onSuccess(SSLSocketFactory sslSockFactory)
Method called by CertificateEngineerClient library when it can successfully
connect to a server at a specified port, either using the global (system)
trust store or using the local trust store provided by the user of the
library.
|
Method called by CertificateEngineerClient library when it fails to connect to a server at a specified port, either using the global (system) trust store or using the local trust store provided by the user of the library.
e | - Exception indicating why the connection failed |
---|
Method called by CertificateEngineerClient library when it can successfully connect to a server at a specified port, either using the global (system) trust store or using the local trust store provided by the user of the library. The local trust store might get updated with the certificate used to connect to the server, if the trust store file did not already contain the certificate.
sslSockFactory | - An instance of SSLSocketFactory that is ready to be used by the caller code. For example, this instance can be used to create sockets to connect to a server at a port. |
---|