Package org.apache.tomcat.util.net
Class AprSSLSupport
java.lang.Object
org.apache.tomcat.util.net.AprSSLSupport
- All Implemented Interfaces:
- SSLSupport
Deprecated.
The APR/Native Connector will be removed in Tomcat 10.1.x
              onwards.
Implementation of SSLSupport for APR.
 
TODO: Add a mechanism (or figure out how to use what we already have) to invalidate the session.
- 
Field SummaryFields inherited from interface org.apache.tomcat.util.net.SSLSupportCERTIFICATE_KEY, CIPHER_SUITE_KEY, KEY_SIZE_KEY, PROTOCOL_VERSION_KEY, REQUESTED_CIPHERS_KEY, REQUESTED_PROTOCOL_VERSIONS_KEY, SESSION_ID_KEY, SESSION_MGR
- 
Constructor SummaryConstructorsConstructorDescriptionAprSSLSupport(AprEndpoint.AprSocketWrapper socketWrapper, String clientCertProvider) Deprecated.
- 
Method SummaryModifier and TypeMethodDescriptionDeprecated.The cipher suite being used on this connection.Deprecated.Get the keysize.Deprecated.The client certificate chain (if any).Deprecated.Deprecated.Deprecated.Deprecated.The current session Id.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.tomcat.util.net.SSLSupportgetLocalCertificateChain
- 
Constructor Details- 
AprSSLSupportDeprecated.
 
- 
- 
Method Details- 
getCipherSuiteDeprecated.Description copied from interface:SSLSupportThe cipher suite being used on this connection.- Specified by:
- getCipherSuitein interface- SSLSupport
- Returns:
- The name of the cipher suite as returned by the SSL/TLS implementation
- Throws:
- IOException- If an error occurs trying to obtain the cipher suite
 
- 
getPeerCertificateChainDeprecated.Description copied from interface:SSLSupportThe client certificate chain (if any).- Specified by:
- getPeerCertificateChainin interface- SSLSupport
- Returns:
- The certificate chain presented by the client with the peer's certificate first, followed by those of any certificate authorities
- Throws:
- IOException- If an error occurs trying to obtain the certificate chain
 
- 
getKeySizeDeprecated.Description copied from interface:SSLSupportGet the keysize. What we're supposed to put here is ill-defined by the Servlet spec (S 4.7 again). There are at least 4 potential values that might go here: (a) The size of the encryption key (b) The size of the MAC key (c) The size of the key-exchange key (d) The size of the signature key used by the server Unfortunately, all of these values are nonsensical.- Specified by:
- getKeySizein interface- SSLSupport
- Returns:
- The effective key size for the current cipher suite
- Throws:
- IOException- If an error occurs trying to obtain the key size
 
- 
getSessionIdDeprecated.Description copied from interface:SSLSupportThe current session Id.- Specified by:
- getSessionIdin interface- SSLSupport
- Returns:
- The current SSL/TLS session ID
- Throws:
- IOException- If an error occurs trying to obtain the session ID
 
- 
getProtocolDeprecated.- Specified by:
- getProtocolin interface- SSLSupport
- Returns:
- the protocol String indicating how the SSL socket was created e.g. TLSv1 or TLSv1.2 etc.
- Throws:
- IOException- If an error occurs trying to obtain the protocol information from the socket
 
- 
getRequestedProtocolsDeprecated.- Specified by:
- getRequestedProtocolsin interface- SSLSupport
- Returns:
- the list of SSL/TLS protocol versions requested by the client
- Throws:
- IOException- If an error occurs trying to obtain the client requested protocol information from the socket
 
- 
getRequestedCiphersDeprecated.- Specified by:
- getRequestedCiphersin interface- SSLSupport
- Returns:
- the list of SSL/TLS ciphers requested by the client
- Throws:
- IOException- If an error occurs trying to obtain the client request cipher information from the socket
 
 
-