Package org.wildfly.security.ssl
Class SSLExplorer.SSLConnectionInformationImpl
- java.lang.Object
-
- org.wildfly.security.ssl.SSLExplorer.SSLConnectionInformationImpl
-
- All Implemented Interfaces:
SSLConnectionInformation
- Enclosing class:
- SSLExplorer
static final class SSLExplorer.SSLConnectionInformationImpl extends Object implements SSLConnectionInformation
-
-
Field Summary
Fields Modifier and Type Field Description private List<String>alpnProtocolsprivate List<String>ciphersprivate StringhelloVersionprivate StringrecordVersionprivate List<SNIServerName>sniNames
-
Constructor Summary
Constructors Constructor Description SSLConnectionInformationImpl(byte recordMajorVersion, byte recordMinorVersion, byte helloMajorVersion, byte helloMinorVersion, List<SNIServerName> sniNames, List<String> alpnProtocols, List<String> ciphers)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getCipherSuites()Get the list of cipher suites that the client has requested.StringgetHelloVersion()Returns the hello version of an SSL/TLS connection.List<String>getProtocols()Get the ALPN protocol names of this connection (if any).StringgetRecordVersion()Returns the record version of an SSL/TLS connection.List<SNIServerName>getSNIServerNames()Get the SNI server names of this connection (if any)private static StringgetVersionString(byte helloMajorVersion, byte helloMinorVersion)private static StringunknownVersion(byte major, byte minor)
-
-
-
Method Detail
-
getVersionString
private static String getVersionString(byte helloMajorVersion, byte helloMinorVersion)
-
getRecordVersion
public String getRecordVersion()
Description copied from interface:SSLConnectionInformationReturns the record version of an SSL/TLS connection.- Specified by:
getRecordVersionin interfaceSSLConnectionInformation- Returns:
- the record version (not
null)
-
getHelloVersion
public String getHelloVersion()
Description copied from interface:SSLConnectionInformationReturns the hello version of an SSL/TLS connection.- Specified by:
getHelloVersionin interfaceSSLConnectionInformation- Returns:
- the hello version (not
null)
-
getSNIServerNames
public List<SNIServerName> getSNIServerNames()
Description copied from interface:SSLConnectionInformationGet the SNI server names of this connection (if any)- Specified by:
getSNIServerNamesin interfaceSSLConnectionInformation- Returns:
- the SNI server names of this connection, or an empty list if there are none
-
getProtocols
public List<String> getProtocols()
Description copied from interface:SSLConnectionInformationGet the ALPN protocol names of this connection (if any).- Specified by:
getProtocolsin interfaceSSLConnectionInformation- Returns:
- the ALPN protocol names of this connection, or an empty list if there are none
-
getCipherSuites
public List<String> getCipherSuites()
Description copied from interface:SSLConnectionInformationGet the list of cipher suites that the client has requested.- Specified by:
getCipherSuitesin interfaceSSLConnectionInformation- Returns:
- the list of cipher suites
-
unknownVersion
private static String unknownVersion(byte major, byte minor)
-
-