Hi all,
I have a question about the mechanism of Encryption with asymmetric key.
In my application I use 2 keystore, one for the client(specified in the
client.properties file) and one for the server (specified in the
service.properties).
In the client conf file I added :
<items>Encrypt</items>
<encryptionUser>service</encryptionUser>
<encryptionPropFile>client.properties</encryptionPropFile>
</action>
Everything works fine but how ?! :)
How the client can crypt the message with the public key of the server ?
(name service)
How the client recover the public key of the server ?
It isn't store in the client keystore. no ?
Thank for you light :)