I have an applet hosted on a Web page. It communicates with a JavaCard and gets the Modulus and the exponent. I regenerate the key in that applet. All this is done on the client side.
My applet have 3 methods to get the public key modulus, the public key exponent and the PublicKey object. How can I use those 3 variables to reconstruc the key on the server side. By PHP if it is possible.