Пример #1
0
 public void CacheThumbprint(ThumbprintItem thumbprint, string issuerAddress)
 {
     using (var container=RuntimeFactory.CreateRuntime().CreateServiceProxy<IThumbprintCacheService>())
     {
         var result =
             container.GetClient()
                 .UpdateThumbprint(new ThumbprintUpdateRequest
                 {
                     IsuerAddress = issuerAddress,
                     Thumbprint = thumbprint
                 });
         if(!result.Success)
             Logging.DebugMessage("update thumbprint failed: "+result.Message);
     }
 }
Пример #2
0
 public void CacheThumbprint(ThumbprintItem thumbprint, string issuerAddress)
 {
     using (var container = RuntimeFactory.CreateRuntime().CreateServiceProxy <IThumbprintCacheService>())
     {
         var result =
             container.GetClient()
             .UpdateThumbprint(new ThumbprintUpdateRequest
         {
             IsuerAddress = issuerAddress,
             Thumbprint   = thumbprint
         });
         if (!result.Success)
         {
             Logging.DebugMessage("update thumbprint failed: " + result.Message);
         }
     }
 }
 public void CacheThumbprint(ThumbprintItem thumbprint, string issuerAddress)
 {
     
     ConfigurationManagerHelper.SetValueOnKey(GetKey(issuerAddress), thumbprint.Thumbprint);
 }
Пример #4
0
 public void CacheThumbprint(ThumbprintItem thumbprint, string issuerAddress)
 {
     ConfigurationManagerHelper.SetValueOnKey(GetKey(issuerAddress), thumbprint.Thumbprint);
 }