Re: Using certificates with WodCrypt (General questions)
When you load certificate using wodCertificate you should load private key part from certificate. So you need to use LoadKey Method instead Load Method in wodCertificate.
Also for encryption you should use public key and for decryption you need to use private key inside SecretKey Property.
[code]eCert.LoadKey App.Path + \test.cer
oCrypt.SecretKey = eCert.PublicKey[/code]
Let us know how it goes.
- Using certificates with WodCrypt - Mark Lancaster, 2010-08-31, 11:50
- Re: Using certificates with WodCrypt - woddrazen, 2010-08-31, 12:31