protected class CertificateServiceImpl.EMailAddressMatcher extends java.lang.Object implements CertificateMatcher
Modifier | Constructor and Description |
---|---|
protected |
EMailAddressMatcher() |
Modifier and Type | Method and Description |
---|---|
void |
verify(java.lang.Iterable<java.lang.String> identitiesToTest,
java.security.cert.X509Certificate cert)
Implementations check whether one of the supplied identities is
contained in the certificate.
|
public void verify(java.lang.Iterable<java.lang.String> identitiesToTest, java.security.cert.X509Certificate cert) throws java.security.cert.CertificateException
CertificateMatcher
verify
in interface CertificateMatcher
identitiesToTest
- The that are compared against the certificate.cert
- The X.509 certificate that was supplied by the server or
client.java.security.cert.CertificateException
- When any certificate parsing fails.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.