sorry for the late reply.
I can not use socket libs since its on a shared server.
I thought that it might be possible to do the following under apache:
| Clear Headers |
|type = encrypted |
-----------------------|
| Encrypted body|
| |
| |
| |
| |
|______________|
I thought that perhaps S/MIME could server as a data layer in encrypting this.
But after looking around on various forums i did not find any answers.
I think I will opt for a solution where i create a SOAP server in PHP, that is encrypted using the public key. Then write a client program in C#.net or something, to load the private key signature (in PKCS12 format) and then recieve the encrypted data in a windows form basis.
If it were a real client of mine, i most likey would have said "it aint possible without using https with a different setup to the regular". But this is a project that will be assessed academically at a University, so im perhaps going into more detail.
Thanks anyway for the suggestion.
Onno