E
Elian Kool
Hello
I have to receive unencrypted data on a SSLSocket shortly after I
started the connection (SSL handling works).
It works the following way (little shortened...):
Socket sock = new Socket(Server,Port);
SSLSocket sslsock = SSLSocketFactory.createSocket(sock,Server,Port,
false);
sslsock.Send("bla");
sslsock.close();
sock.Send("bla2");
The only problem is that sslsock.close() sends some data (23 bytes) to
the server (I assume to terminate the SSL session).
Is there a way to
a) Stop SSLSocket from sending these bytes
b) Read raw data from the SSLSocket (before decryption...)
I know it sounds strange, but unfortunately I don't have another
choice (after the login procedure, encryption is done with a
proprietary mechanism).
elian
I have to receive unencrypted data on a SSLSocket shortly after I
started the connection (SSL handling works).
It works the following way (little shortened...):
Socket sock = new Socket(Server,Port);
SSLSocket sslsock = SSLSocketFactory.createSocket(sock,Server,Port,
false);
sslsock.Send("bla");
sslsock.close();
sock.Send("bla2");
The only problem is that sslsock.close() sends some data (23 bytes) to
the server (I assume to terminate the SSL session).
Is there a way to
a) Stop SSLSocket from sending these bytes
b) Read raw data from the SSLSocket (before decryption...)
I know it sounds strange, but unfortunately I don't have another
choice (after the login procedure, encryption is done with a
proprietary mechanism).
elian