« Return to Thread: problem verifing a CMS enveloppe signature when the certificate is'nt included in enveloppe

Re: problem verifing a CMS enveloppe signature when the certificate is'nt included in enveloppe

by Alvaro Livraghi :: Rate this Message:

Reply to Author | View in Thread

Hi,

> I don't want to use database connection, I work only with files. Is Cryptlib
> providing a solution for verifying signatures without database?
> if not is there a simple example for database use?

You could import the appropriate certificate file (in PEM or DER format) using
the cryptImportCert function.
Then you will have to set the CRYPT_ENVINFO_SIGNATURE attribute of your
envelope with the CRYPT_CERTIFICATE handle returned from previous call using
cryptSetAttribute.


Regards
Alvaro



_______________________________________________
Cryptlib mailing list
Cryptlib@... via Mail: cryptlib-request@...
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.

 « Return to Thread: problem verifing a CMS enveloppe signature when the certificate is'nt included in enveloppe