org.apache.http.conn.ssl.AbstractVerifier
Summary
Public Constructors
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
AbstractVerifier()
Public Methods
public
static
boolean
acceptableCountryWildcard(String cn)
public
static
int
countDots(String s)
Counts the number of dots "." in a string.
Parameters
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?).
Returns
- Array of SubjectALT DNS names stored in the certificate.