by Attila Bak [bak at firemail dot de] posted on 2004/06/07 |
|
Hi,
I have downloaded your sample. Unfortunately the assymetric sample does not work on my machine (win2003, .NET 1.1.)
It cannot associate the private key with the cert.
The code throws the following exception:
if (SspiProvider.CryptAcquireCertificatePrivateKey(this.Handle, flags, IntPtr.Zero, ref provider, ref keySpec, ref mustFree) == 0)
throw new CertificateException("Could not acquire private key.");
Can u please help?
Many thanks
regards,
attila |