aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/service/certificate/CertificateMatcher.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/sip/communicator/service/certificate/CertificateMatcher.java')
-rw-r--r--src/net/java/sip/communicator/service/certificate/CertificateMatcher.java44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/net/java/sip/communicator/service/certificate/CertificateMatcher.java b/src/net/java/sip/communicator/service/certificate/CertificateMatcher.java
index 365d9a9..a3baf8e 100644
--- a/src/net/java/sip/communicator/service/certificate/CertificateMatcher.java
+++ b/src/net/java/sip/communicator/service/certificate/CertificateMatcher.java
@@ -1,4 +1,4 @@
-/*
+/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Copyright @ 2015 Atlassian Pty Ltd
@@ -15,24 +15,24 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package net.java.sip.communicator.service.certificate;
-
-import java.security.cert.*;
-
-/**
- * Interface to verify X.509 certificate
- */
-public interface CertificateMatcher
-{
- /**
- * Implementations check whether one of the supplied identities is
- * contained in the certificate.
- *
- * @param identitiesToTest The that are compared against the certificate.
- * @param cert The X.509 certificate that was supplied by the server or
- * client.
- * @throws CertificateException When any certificate parsing fails.
- */
- public void verify(Iterable<String> identitiesToTest, X509Certificate cert)
- throws CertificateException;
-}
+package net.java.sip.communicator.service.certificate;
+
+import java.security.cert.*;
+
+/**
+ * Interface to verify X.509 certificate
+ */
+public interface CertificateMatcher
+{
+ /**
+ * Implementations check whether one of the supplied identities is
+ * contained in the certificate.
+ *
+ * @param identitiesToTest The that are compared against the certificate.
+ * @param cert The X.509 certificate that was supplied by the server or
+ * client.
+ * @throws CertificateException When any certificate parsing fails.
+ */
+ public void verify(Iterable<String> identitiesToTest, X509Certificate cert)
+ throws CertificateException;
+}