Application Code Signing - WeOnlyDo Discussion board

Application Code Signing (wodCrypt)

by Maverick5, Saturday, July 30, 2005, 01:44 (4496 days ago)

Can we create .cer files to sign code with ?
I'm working in access 2003 and every time the user opens the database
they get a window that says macro virus warning,
can we create the certificates using wodCrypt for this purpose ?

not sure if this is right

Thanks
Mav

Re: Application Code Signing

by wodSupport, Saturday, July 30, 2005, 11:54 (4496 days ago) @ Maverick5

Not wodCrypt, but wodCertificate that is shipped with wodCrypt (and few other components). You should use it's GenerateKey and Generate methods to create private key and the certificate.

But how are you going to apply them and sing MDB, it's up to you.

Re: Application Code Signing

by Maverick5, Saturday, July 30, 2005, 12:47 (4496 days ago) @ wodSupport

once again a simple line of code would be a great reply,

thanks
***

Re: Application Code Signing

by wodSupport, Saturday, July 30, 2005, 23:07 (4495 days ago) @ Maverick5

Mav,

not sure what to write since this is just line of code :) Ok, call

wodCert.GenerateKey
wodCert.SaveKey (filename)
wodCert.Generate
wodCert.Save (filename)

and that's it. Prior to calling Generate you should populate some properties, such as Subject, DateFrom, DateTo, etc..