12 lines
342 B
Java
12 lines
342 B
Java
package eu.siacs.conversations.crypto;
|
|
|
|
import javax.net.ssl.HostnameVerifier;
|
|
import javax.net.ssl.SSLPeerUnverifiedException;
|
|
import javax.net.ssl.SSLSession;
|
|
|
|
public interface DomainHostnameVerifier extends HostnameVerifier {
|
|
|
|
boolean verify(String domain, String hostname, SSLSession sslSession) throws SSLPeerUnverifiedException;
|
|
|
|
}
|