private static X509Certificate2 GetCert(string certificateThumbprint)
            {
                BaseUMconnectivityTester.SipPlatformConnectionManager.DebugTrace("Inside ConnectionManager GetCert() ", new object[0]);
                if (!string.IsNullOrEmpty(certificateThumbprint))
                {
                    certificateThumbprint = ManageExchangeCertificate.UnifyThumbprintFormat(certificateThumbprint);
                }
                X509Certificate2 certificateByThumbprintOrServerCertificate = CertificateUtils.GetCertificateByThumbprintOrServerCertificate(certificateThumbprint);

                if (certificateByThumbprintOrServerCertificate == null)
                {
                    throw new TUC_CertNotFound();
                }
                return(certificateByThumbprintOrServerCertificate);
            }
        // Token: 0x06000A17 RID: 2583 RVA: 0x00045A78 File Offset: 0x00043C78
        internal static void GetIMCertInfo(string thumbprint, out string certificateIssuer, out byte[] certificateSerial)
        {
            certificateIssuer = null;
            certificateSerial = null;
            X509Certificate2 x509Certificate = InstantMessageCertUtils.FindCertByThumbprint(ManageExchangeCertificate.UnifyThumbprintFormat(thumbprint));

            if (x509Certificate != null && InstantMessageCertUtils.IsValid(x509Certificate))
            {
                InstantMessageCertUtils.DoesCertificateExpireSoon(x509Certificate);
                certificateIssuer = x509Certificate.Issuer;
                certificateSerial = x509Certificate.GetSerialNumber();
            }
        }