I'm doing something in Java SE that would require me to use SSL in an unusual way.
The required steps would be something like:
- Establish an SSL session;
- Exchange some private information;
- Renegotiate connection parameters to stop using cryptographic operations.
I haven't found in the Java API a way to to this. I believe that the problem solution would somehow be addressed by using the session renegotiation but with a cipher suite with no cryptographic operations, but there isn't such an option; or to access the underling socket and bypass cryptographic operations.
Are any of these options possible? Do you believe that such functionality would be available in other languages and frameworks (C, PHP, Ruby, .NET, Perl, Python, etc.)?
Thanks for the help,
Luís M. Costa