I would like to use OpenSSL in C++ to digitally verify signed data. Here is what I want to do:
use the openssl command line to sign a file, with my private key.
send the data to the program
the program will verify the signature (public key stored internally), and will check if it's correct
Also I would like to add ablity to encrypt/decrypt the data as well
How do I do this?