This is essentially the same as my other question about DH parameters (which didn't get any answers), but I'm interested in getting information about the TLS server key exchange message(s) that are sent during the TLS handshake.
Are these messages -- or the information that comes from them like the negotiated ephemeral keys -- available at all through the Java API? I'm using Java SSLSocketFactory
to obtain an SSLSocket
and then connecting using that; there are no other APIs layered on top of it (like Apache http-client) that I have to break-through in order to get down to this level.
I'm just not sure if Java exposes this information at all. I tried using a HandshakeCompletedListener
but that doesn't seem to provide me with any of the information I seek.
Does anyone know if/how this can be done?