public class RFC5922Matcher extends java.lang.Object implements CertificateMatcher
for wildcard handling; the default is false
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PNAME_STRICT_RFC5922
When set to true, enables strict validation of the hostname according to
RFC5922 Section
7.2
|
Constructor and Description |
---|
RFC5922Matcher(ProtocolProviderServiceSipImpl provider)
Creates a new instance of this class.
|
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 static final java.lang.String PNAME_STRICT_RFC5922
public RFC5922Matcher(ProtocolProviderServiceSipImpl provider)
provider
- The SIP Provider to which this matcher belongs.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.