SSLParameters.setEndpointIdentificationAlgorithm

Sets the endpoint identification algorithm. <p> If the <code>algorithm</code> parameter is non-null or non-empty, the endpoint identification/verification procedures must be handled during SSL/TLS handshaking. This is to prevent man-in-the-middle attacks.

@param algorithm The standard string name of the endpoint identification algorithm (or null). See Appendix A in the <a href= "{@docRoot}/../technotes/guides/security/crypto/CryptoSpec.html#AppA"> Java Cryptography Architecture API Specification &amp; Reference </a> for information about standard algorithm names.

@see X509ExtendedTrustManager

class SSLParameters
void
setEndpointIdentificationAlgorithm
(
string algorithm
)

Meta