Esempio n. 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
        }
Esempio n. 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
        }
Esempio n. 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
        }
Esempio n. 4
0
 public void SetDefaultCertificate(StoreLocation storeLocation,
                                   StoreName storeName, X509FindType findType, Object findValue)
 {
     DefaultCertificate = ConfigUtil.CreateCertificateFrom(storeLocation, storeName, findType, findValue);
 }
Esempio n. 5
0
 public void SetScopedCertificate(StoreLocation storeLocation,
                                  StoreName storeName, X509FindType findType,
                                  Object findValue, Uri targetService)
 {
     ScopedCertificates [targetService] = ConfigUtil.CreateCertificateFrom(storeLocation, storeName, findType, findValue);
 }
Esempio n. 6
0
 public void SetCertificate(
     string subjectName, StoreLocation storeLocation,
     StoreName storeName)
 {
     certificate = ConfigUtil.CreateCertificateFrom(storeLocation, storeName, X509FindType.FindBySubjectName, subjectName);
 }