Class TLSSessionInfo
java.lang.Object
org.apache.cxf.security.transport.TLSSessionInfo
An immutable struct that contains information about a negotiated
TLS Session, including the (potentially negotiated) peer certificates
as well as the currently effective TLS cipher suite.
-
Constructor Summary
ConstructorDescriptionTLSSessionInfo
(String suite) This constructor has the effect of calling TLSSessionInfo(null, suite)TLSSessionInfo
(String suite, SSLSession session, Certificate[] certs) -
Method Summary
Modifier and TypeMethodDescriptionfinal String
Deprecated.final String
final Certificate[]
final SSLSession
-
Constructor Details
-
TLSSessionInfo
This constructor has the effect of calling TLSSessionInfo(null, suite) -
TLSSessionInfo
- Parameters:
suite
- The negotiated cipher suite This parameter may not be null, by contractsession
- The JSSE representation of the SSL Session negotiated with the peer (optionally null, if it is unavailable)certs
- the peer X.509 certificate chain (optionally null)
-
-
Method Details
-
getChipherSuite
Deprecated.- Returns:
- the negotiated cipher suite. This attribute is guaranteed to be non-null.
-
getCipherSuite
- Returns:
- the negotiated cipher suite. This attribute is guaranteed to be non-null.
-
getPeerCertificates
- Returns:
- the peer X.509 certificate chain, as negotiated though the TLS handshake. This attribute may be null, for example, if the SSL peer has not been authenticated.
-
getSSLSession
- Returns:
- the negotiated SSL Session. This attribute may be null if it is unavailable from the underlying transport.
-