Java NIO SSL - SSLEngine Session reuse -


i implementing client , server part using java 8 nio , ssl. have doubts on creating sslengine.

there 1 method in sslcontext

public final sslengine createsslengine(string peerhost,                                    int peerport) 

applications using factory method providing hints internal session reuse strategy.

while creating sslengine @ client side, have give server's ip , port. while creating sslengine @ server side, ip , port should give ?

as per rfc2246, client has send "session id" in clienthello message, , server check "session cache" match. how server's sslengine enable "session cache" ?

while creating sslengine @ client side, have give server's ip , port. while creating sslengine @ server side, ip , port should give ?

the client's.

as per rfc2246, client has send "session id" in clienthello message, , server check "session cache" match. how server's sslengine enable "session cache"?

it's on default, long server-side sslengine knows client ip:port.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -