anotherim/src/main/java/eu/siacs/conversations/crypto/DomainHostnameVerifier.java

12 lines
342 B
Java
Raw Normal View History

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;
}