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
 
Invalid Password Exception Needed  
by Dave Tessman [dtessman at pacbell dot net]
posted on 2003/12/22

Great Stuff! I am using your code for the C# version of the following:
http://www.spacegear.org/software/SGOJavaLibrary/index.html

Here is the problem:

CertificateStore

I noticed this comment in the code when I was trying to track down how to know when the password was invalid:

throw new CertificateException("The specified password is invalid."); // Do We need to notify user of this error?

YES!!!! It would be very nice to let the user know if a downloaded certificate is corrupted or they just misstyped the password.

Thanks,

by Pieter Philippaerts [Pieter at mentalis dot org]
posted on 2004/01/12

In the following version of the library, the CreateFromPfxFile method will throw an ArgumentException if the specified password is invalid.

 

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