示例#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);
 }