Need sample code for generating certificate - WeOnlyDo Discussion board

Need sample code for generating certificate (General questions)

by tamilarasan, Thursday, May 14, 2009, 07:23 (5675 days ago)

Hi,

Do you have any sample code for generating the certificate using
wodCertificate.

Thanks,
Tamil.

Re: Need sample code for generating certificate

by woddrazen, Thursday, May 14, 2009, 09:09 (5674 days ago) @ tamilarasan

Tamil,


Here is example how to generate and save certificate using wodCertificate in VB.NET[code] Dim cert As New WODCERTMNGLib.Certificate

cert.GenerateKey(0)
cert.Generate()

cert.SaveKey( c:\private.txt , password )
cert.Save( c:\cert.txt , password )[/code]
Drazen