예제 #1
0
 internal SSLEngine(IceInternal.ProtocolPluginFacade facade)
 {
     _communicator          = facade.getCommunicator();
     _logger                = _communicator.getLogger();
     _facade                = facade;
     _securityTraceLevel    = _communicator.getProperties().getPropertyAsIntWithDefault("IceSSL.Trace.Security", 0);
     _securityTraceCategory = "Security";
     _initialized           = false;
     _trustManager          = new TrustManager(_communicator);
 }
예제 #2
0
파일: SSLEngine.cs 프로젝트: zhoushiyi/ice
 internal SSLEngine(IceInternal.ProtocolPluginFacade facade)
 {
     _communicator          = facade.getCommunicator();
     _logger                = _communicator.getLogger();
     _facade                = facade;
     _securityTraceLevel    = _communicator.getProperties().getPropertyAsIntWithDefault("IceSSL.Trace.Security", 0);
     _securityTraceCategory = "Security";
     _initialized           = false;
     _trustManager          = new TrustManager(_communicator);
     _tls12Support          = false;
     try
     {
         Enum.Parse(typeof(System.Security.Authentication.SslProtocols), "Tls12");
         _tls12Support = true;
     }
     catch (Exception)
     {
     }
 }