I am using Java's SSLSocket with cipher suite: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
Which turned out to be very inefficient.
I want to still use the above cipher suite and override the Java's default algorithm with my implementation.
What is the best practice ? :
- Override SSLSocket
- Override SunJSSE provider
- Other methods...