java.lang.Object | |
↳ | org.apache.http.conn.ssl.AbstractVerifier |
Known Direct Subclasses |
Abstract base class for all standard
X509HostnameVerifier
implementations.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
||||||||||
|
Counts the number of dots "." in a string.
|
||||||||||
|
|
||||||||||
|
Extracts the array of SubjectAlt DNS names from an X509Certificate.
|
||||||||||
|
|
||||||||||
|
Verifies that the specified hostname is allowed within the specified SSL
session.
|
||||||||||
|
|
||||||||||
|
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
|||||||||||
From interface
javax.net.ssl.HostnameVerifier
|
|||||||||||
From interface
org.apache.http.conn.ssl.X509HostnameVerifier
|
Counts the number of dots "." in a string.
s | string to count dots from |
---|
Extracts the array of SubjectAlt DNS names from an X509Certificate. Returns null if there aren't any.
Note: Java doesn't appear able to extract international characters from the SubjectAlts. It can only extract international characters from the CN field.
(Or maybe the version of OpenSSL I'm using to test isn't storing the international characters correctly in the SubjectAlts?).
cert | X509Certificate |
---|
SSLException |
---|
Verifies that the specified hostname is allowed within the specified SSL session.
host | the hostname. |
---|---|
session | the SSL session of the connection. |
true
if the specified hostname is allowed, otherwise
false
.
SSLException |
---|