mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-10 18:59:41 +02:00
Remove SmackDaneVerifier.finish(SSLSocket)
This commit is contained in:
parent
658fd08d20
commit
5705f18f58
3 changed files with 3 additions and 24 deletions
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
*
|
||||
* Copyright 2015-2018 Florian Schmaus
|
||||
* Copyright 2015-2019 Florian Schmaus
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -23,7 +23,6 @@ import java.security.cert.CertificateException;
|
|||
import javax.net.ssl.KeyManager;
|
||||
import javax.net.ssl.SSLContext;
|
||||
import javax.net.ssl.SSLSession;
|
||||
import javax.net.ssl.SSLSocket;
|
||||
import javax.net.ssl.X509TrustManager;
|
||||
|
||||
/**
|
||||
|
@ -32,8 +31,5 @@ import javax.net.ssl.X509TrustManager;
|
|||
public interface SmackDaneVerifier {
|
||||
void init(SSLContext context, KeyManager[] km, X509TrustManager tm, SecureRandom random) throws KeyManagementException;
|
||||
|
||||
// TODO: Remove this method in favor of finish(SSLSession).
|
||||
void finish(SSLSocket socket) throws CertificateException;
|
||||
|
||||
void finish(SSLSession sslSession) throws CertificateException;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue