Difference between revisions of "EVP Signing and Verifying"

From OpenSSLWiki
Jump to navigationJump to search
m (Expanded introduction; moved example under subheading of Hashing since its a hashing example. MAC'ing and signatures are currently missing.)
m (Deleted content until we have working examples.)
Line 2: Line 2:
  
 
The examples below use the new <tt>EVP_DigestSign*</tt> and <tt>EVP_DigestVerify*</tt> functions.
 
The examples below use the new <tt>EVP_DigestSign*</tt> and <tt>EVP_DigestVerify*</tt> functions.
 +
 +
'''''Editor's note''''': the examples were removed because they don't work. Stand by...
 +
 +
<!--
  
 
==Public Key Signing==
 
==Public Key Signing==
Line 101: Line 105:
  
 
Refer to [[Manual:EVP_DigestVerifyInit(3)]] and [[Manual:EVP_VerifyInit(3)]] for further information on the verify functions.
 
Refer to [[Manual:EVP_DigestVerifyInit(3)]] and [[Manual:EVP_VerifyInit(3)]] for further information on the verify functions.
 +
 +
-->
  
 
==See also==
 
==See also==

Revision as of 08:12, 15 January 2015

There are two APIs available for performing sign and verify operations. The older EVP_Sign* and EVP_Verify* functions, and the newer and more flexible EVP_DigestSign* and EVP_DigestVerify* functions. Though the APIs are similar, new applications should use the EVP_DigestSign* and EVP_DigestVerify* functions.

The examples below use the new EVP_DigestSign* and EVP_DigestVerify* functions.

Editor's note: the examples were removed because they don't work. Stand by...


See also