Raghunath Santhanam wrote:
Hi,
I need APIs which can
1) sign the message using a key
2) verify the same using the *same *key.

Let me know if it is available.

Raghunath

For the signature verification you can use the following API:
o EVP_VerifyInit_ex to init an EVD_MD_CTX structure with a key type (e.g. RSA) o EVP_VerifyUpdate to hash the data associated with the signature to verify o EVP_VerifyFinal to verify a signature against a key of the same type use to init EVD_MD_CTX.

--
Florent,

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to