FileDocCategorySizeDatePackage
HostnameVerifier.javaAPI DocAndroid 1.5 API1636Wed May 06 22:41:06 BST 2009javax.net.ssl

HostnameVerifier

public interface HostnameVerifier
The interface to be used to provide hostname verification functionality.

This is an extended verification option that implementers can provide. It is to be used during a handshake if the URL's hostname does not match the peer's identification hostname.

since
Android 1.0

Fields Summary
Constructors Summary
Methods Summary
public booleanverify(java.lang.String hostname, javax.net.ssl.SSLSession session)
Verifies that the specified hostname is allowed within the specified SSL session.

param
hostname the hostname.
param
session the SSL session of the connection.
return
{@code true} if the specified hostname is allowed, otherwise {@code false}.
since
Android 1.0