When creating an SSL connection using Java we first initialize an SSLContext with our KeyStores and TrustStores. SSLContext in javax.net.ssl has a method called createSSLEngine() to create an SSLEngine. So when creating a session for the connection, the created SSLEngine will be used. My question is at which point of SSL protocol the keyManagers and TrustManagers from the KeyStores and TrustStores be used?
Thanks in advance.