Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Security

 AfterLogic Forum : MailBee.NET Security
Subject Topic: Question about certificate validation Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
pevrard
Newbie
Newbie


Joined: 03 November 2008
Location: Belgium
Online Status: Offline
Posts: 9
Posted: 18 March 2010 at 2:20am | IP Logged Quote pevrard

Hello,

The validate method of certificate class should return the status "Revoked".
I would like to know how mailbee get this particular status.

Thanks in advance.
Pierre
Back to Top View pevrard's Profile Search for other posts by pevrard
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6038
Posted: 18 March 2010 at 2:30am | IP Logged Quote Igor

Certificate.Validate method returns a bitwise combination of CertificateValidationFlags which indicate criteria the validation failed for, IsRevoked and RevocationStatusUnknown should be of interest to you.

You can set ClientServerCertificates.AutoValidation property so that server certificate is automatically validated against specified flags. The example of this can be found here.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
pevrard
Newbie
Newbie


Joined: 03 November 2008
Location: Belgium
Online Status: Offline
Posts: 9
Posted: 18 March 2010 at 2:37am | IP Logged Quote pevrard

Thanks but in case of using certicate in SMIME.
How to know in a certificate is revoked?
Back to Top View pevrard's Profile Search for other posts by pevrard
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6038
Posted: 18 March 2010 at 3:12am | IP Logged Quote Igor

If I understood this correctly, you simply need to load certificate and run validation for it.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide