net.java.sip.communicator.impl.certificate
Class CertificateServiceImpl.BrowserLikeHostnameMatcher
java.lang.Object
net.java.sip.communicator.impl.certificate.CertificateServiceImpl.BrowserLikeHostnameMatcher
- All Implemented Interfaces:
- CertificateMatcher
- Enclosing class:
- CertificateServiceImpl
protected class CertificateServiceImpl.BrowserLikeHostnameMatcher
- extends Object
- implements CertificateMatcher
|
Method Summary |
void |
verify(Iterable<String> identitiesToTest,
X509Certificate cert)
Implementations check whether one of the supplied identities is
contained in the certificate. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CertificateServiceImpl.BrowserLikeHostnameMatcher
protected CertificateServiceImpl.BrowserLikeHostnameMatcher()
verify
public void verify(Iterable<String> identitiesToTest,
X509Certificate cert)
throws CertificateException
- Description copied from interface:
CertificateMatcher
- Implementations check whether one of the supplied identities is
contained in the certificate.
- Specified by:
verify in interface CertificateMatcher
- Parameters:
identitiesToTest - The that are compared against the certificate.cert - The X.509 certificate that was supplied by the server or
client.
- Throws:
CertificateException - When any certificate parsing fails.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.