i have wriiten java code for client server communication - the client sends a digital signature and the server verifies it using the public key .I have sent the signature as a string from the client to server.although the verification comes as true most of the times , some times it comes as "false" .i dont know why it comes that way .
so my question is ::: is there any problem in sending the digital signature as a string. if so , then how can i send it across sockets ?
i have used the necessary specs [ X509EncodedKeyS pec , PKCS8EncodedKey Spec ] to write and read the private , public keys.so i dont think its a problem with the keys .
thank you :)
so my question is ::: is there any problem in sending the digital signature as a string. if so , then how can i send it across sockets ?
i have used the necessary specs [ X509EncodedKeyS pec , PKCS8EncodedKey Spec ] to write and read the private , public keys.so i dont think its a problem with the keys .
thank you :)
Comment