Hi all, I am trying to use DSA_sign and DSA_verify functions to generate a signature and verify it. If I do this in the same file, that is signing and then verifying using the public key, things go on smoothly. However, if I try to save the DSA structure, that is by saving each of the values other than the private key, which I can later restore and use as a public key to verify the signature, the verification fails.
How can I generate a signature at one place (say the client) and verify it on another process (say a server)? Essentially how can I save the public key counterpart of the private key that was used to sign in the first place. Thanks for the help