Generate digital signature file with Delphi 7

Asked

Viewed 1,753 times

0

I can list all digital certificates with CAPICOM, choose the certificate I want to use for signing, get the file I want to sign, generate the md5 I can even sign, but I can’t generate a file P7S be recognized. How could I do that? Use OpenSSlUtils.pas with TX509Certificate and TPKCS7? From now on I thank you all!

1 answer

0

Matheus you can use that lib Crypt2 and on that website has an example of how to generate the p7s file.

If you do not want to use this lib it is possible to do the same using the Openssl dll itself there is this repository on github that contains Unit of Openssl statements and including some examples of usage.

But comparing the demo of the first link is very quiet to implement with openssl the same feature.

  • Diego, this solution helps in the issue of A3 certificate?

Browser other questions tagged

You are not signed in. Login or sign up in order to post.