Example #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);
 }
Example #2
0
 internal SSLEngine(IceInternal.ITransportPluginFacade facade)
 {
     _communicator          = facade.Communicator;
     _logger                = _communicator.Logger;
     _facade                = facade;
     _securityTraceLevel    = _communicator.GetPropertyAsInt("IceSSL.Trace.Security") ?? 0;
     _securityTraceCategory = "Security";
     _initialized           = false;
     _trustManager          = new TrustManager(_communicator);
 }
Example #3
0
        internal Instance(Ice.Communicator communicator)
        {
            _logger = communicator.getLogger();
            _facade = IceInternal.Util.getProtocolPluginFacade(communicator);
            _securityTraceLevel = communicator.getProperties().getPropertyAsIntWithDefault("IceSSL.Trace.Security", 0);
            _securityTraceCategory = "Security";
            _initialized = false;
            _trustManager = new TrustManager(communicator);

            //
            // Register the endpoint factory. We have to do this now, rather than
            // in initialize, because the communicator may need to interpret
            // proxies before the plug-in is fully initialized.
            //
            _facade.addEndpointFactory(new EndpointFactoryI(this));
        }
Example #4
0
        internal Instance(Ice.Communicator communicator)
        {
            _logger                = communicator.getLogger();
            _facade                = IceInternal.Util.getProtocolPluginFacade(communicator);
            _securityTraceLevel    = communicator.getProperties().getPropertyAsIntWithDefault("IceSSL.Trace.Security", 0);
            _securityTraceCategory = "Security";
            _initialized           = false;
            _trustManager          = new TrustManager(communicator);

            //
            // Register the endpoint factory. We have to do this now, rather than
            // in initialize, because the communicator may need to interpret
            // proxies before the plug-in is fully initialized.
            //
            _facade.addEndpointFactory(new EndpointFactoryI(this));
        }
Example #5
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);
     _tls12Support          = false;
     try
     {
         Enum.Parse(typeof(System.Security.Authentication.SslProtocols), "Tls12");
         _tls12Support = true;
     }
     catch (Exception)
     {
     }
 }
Example #6
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);
     _tls12Support = false;
     try
     {
         Enum.Parse(typeof(System.Security.Authentication.SslProtocols), "Tls12");
         _tls12Support = true;
     }
     catch(Exception)
     {
     }
 }