I have a piece of data like a JPG and a MD from it and a signature PKCS#1
from the MD. 

   int rc= RSA_sign(NID_sha1, md, 20, sigret, &siglen, rsapriv)

I send the data and the signature to someone to verify the data and they use
it.
Now maybe there is standard measure to package the data and the signature
and that would be?

x.509  (that does not make sense or does it)
pkcs12  (maybe)

so what would it be? Of course I have to figure out how to extract the info
out of the
new envelope; any suggestions?



--
View this message in context: 
http://openssl.6102.n7.nabble.com/Data-and-Signature-envelope-tp44885.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to