anotherim/src/main/java/eu/siacs/conversations/crypto/DomainHostnameVerifier.java
2021-05-03 08:28:03 +02:00

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