Generate digital signature file with delphi 7

1

I can list all digital certificates with CAPICOM , choose the certificate I want to use in the signature, get the file I want to sign, generate the md5 of it, I can even sign it, but I can not generate a% with% acknowledged. How could I do that? Use P7S with OpenSSlUtils.pas and TX509Certificate ? Thanks in advance!

    
asked by anonymous 14.10.2016 / 15:52

1 answer

0

Matheus you can use this Crypt2 and on this site has an example of how to generate the p7s file.

If you do not want to use this lib you can do the same using the OpenSSL dll itself, there is this repository in github that contains the units of the OpenSSL declarations and even some examples of use.

But comparing the demo of the first link is quite easy to implement with openssl the same feature.

    
23.10.2016 / 04:10