| Author |  | 
      
        | pevrard Newbie
 
  
 
 Joined: 03 November 2008
 Location: Belgium
 Online Status: Offline
 Posts: 9
 | 
          Hello,
           | Posted: 18 March 2010 at 2:20am | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          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.
           | Posted: 18 March 2010 at 2:30am | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | pevrard Newbie
 
  
 
 Joined: 03 November 2008
 Location: Belgium
 Online Status: Offline
 Posts: 9
 | 
          Thanks but in case of using certicate in SMIME.
           | Posted: 18 March 2010 at 2:37am | IP Logged |   |  
           | 
 |  How to know in a certificate is revoked?
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          If I understood this correctly, you simply need to load certificate and run validation for it.
           | Posted: 18 March 2010 at 3:12am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  |