コード例 #1
0
 // Token: 0x0600185B RID: 6235 RVA: 0x0008EEB4 File Offset: 0x0008D0B4
 private void ProcessCommand()
 {
     this.globalStatus = "1";
     try
     {
         this.ExtendCertChainFromConfiguration();
         bool enabled = VariantConfiguration.GetSnapshot(MachineSettingsContext.Local, null, null).Global.MultiTenancy.Enabled;
         this.perCertStatuses = CertificateManager.ValidateCertificates(this.trustedCerts, this.certChainCerts, this.endCerts, this.checkCRL, this.GetHashCode(), base.MailboxLogger, this.smimeCertCAFullLoaded || enabled, base.User.OrganizationId.ToString());
     }
     catch (LocalizedException ex)
     {
         if (base.MailboxLogger != null)
         {
             base.MailboxLogger.SetData(MailboxLogDataName.ValidateCertCommand_ProcessCommand_Exception, ex.ToString());
         }
         AirSyncDiagnostics.TraceDebug <LocalizedException>(ExTraceGlobals.RequestsTracer, this, "Failed to validate certificate: '{0}'", ex);
         this.globalStatus = "17";
     }
 }