java.lang.Object
nl.altindag.laleler.HostUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextractHostAndPort(Socket socket) extractHostAndPort(SSLEngine sslEngine) extractHostsFromSAN(List<X509Certificate> certificates) Extracts the DNS Names from the Subject Alternative Name extension of the provided certificates.
-
Field Details
-
DNS_NAME_ID
-
ASTERISKS_AND_DOT
- See Also:
-
-
Constructor Details
-
HostUtils
private HostUtils()
-
-
Method Details
-
extractHostAndPort
-
extractHostAndPort
-
extractHostsFromSAN
Extracts the DNS Names from the Subject Alternative Name extension of the provided certificates. And appends "https://" prefix to each DNS name.
-