News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Security Library Forum
 
AssymetricSample not working! URGENT!  
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

by Pieter Philippaerts [Pieter at mentalis dot org]
posted on 2004/06/28

See other thread...

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.