2018-02-16 17:58:57 +00:00
|
|
|
package eu.siacs.conversations.crypto;
|
2017-06-17 17:54:09 +00:00
|
|
|
|
|
|
|
import javax.net.ssl.HostnameVerifier;
|
2021-05-03 06:28:03 +00:00
|
|
|
import javax.net.ssl.SSLPeerUnverifiedException;
|
2017-06-17 17:54:09 +00:00
|
|
|
import javax.net.ssl.SSLSession;
|
|
|
|
|
|
|
|
public interface DomainHostnameVerifier extends HostnameVerifier {
|
|
|
|
|
2021-05-03 06:28:03 +00:00
|
|
|
boolean verify(String domain, String hostname, SSLSession sslSession) throws SSLPeerUnverifiedException;
|
2017-06-17 17:54:09 +00:00
|
|
|
|
|
|
|
}
|