Пример #1
0
        public void SetDefaultCertificate(StoreLocation storeLocation,
                                          StoreName storeName, X509FindType findType, Object findValue)
        {
#if !MOBILE
            DefaultCertificate = ConfigUtil.CreateCertificateFrom(storeLocation, storeName, findType, findValue);
#else
            throw new NotImplementedException();
#endif
        }
Пример #2
0
        public void SetScopedCertificate(StoreLocation storeLocation,
                                         StoreName storeName, X509FindType findType,
                                         Object findValue, Uri targetService)
        {
#if !MOBILE
            ScopedCertificates [targetService] = ConfigUtil.CreateCertificateFrom(storeLocation, storeName, findType, findValue);
#else
            throw new NotImplementedException();
#endif
        }
Пример #3
0
        public void SetCertificate(
            string subjectName, StoreLocation storeLocation,
            StoreName storeName)
        {
#if !MOBILE
            certificate = ConfigUtil.CreateCertificateFrom(storeLocation, storeName, X509FindType.FindBySubjectName, subjectName);
#else
            throw new NotImplementedException();
#endif
        }
Пример #4
0
 public void SetDefaultCertificate(StoreLocation storeLocation,
                                   StoreName storeName, X509FindType findType, Object findValue)
 {
     DefaultCertificate = ConfigUtil.CreateCertificateFrom(storeLocation, storeName, findType, findValue);
 }
Пример #5
0
 public void SetScopedCertificate(StoreLocation storeLocation,
                                  StoreName storeName, X509FindType findType,
                                  Object findValue, Uri targetService)
 {
     ScopedCertificates [targetService] = ConfigUtil.CreateCertificateFrom(storeLocation, storeName, findType, findValue);
 }
Пример #6
0
 public void SetCertificate(
     string subjectName, StoreLocation storeLocation,
     StoreName storeName)
 {
     certificate = ConfigUtil.CreateCertificateFrom(storeLocation, storeName, X509FindType.FindBySubjectName, subjectName);
 }