Ejemplo n.º 1
0
        public string CurrentCert_SN;            //当前系统中所用的证书号

        private SingletonInfo()
        {
            scramblernum        = 0;
            DeviceHandle        = 0;
            ischecksignature    = false;
            OpenScramblerReturn = 2;
            InlayCAType         = 0;
            IsUseCAInfo         = true; //默认启用CA
            InlayCA             = new EbmSignature();
            usb         = new USBE();
            IsStartSend = false;
            list_EB_Content_TableTMP = new List <EBContentTableTMP>();

            IsProtocolGX = true;

            manuAddCert_sn = false;
            CurrentCert_SN = "";
            DicCert        = new Dictionary <string, int>();
        }
        public int Cert_Index;        //证书索引



        private SingletonInfo()
        {
            scramblernum         = 0;
            DeviceHandle_sjj1507 = 0;
            DeviceHandle_sjj1313 = 0;
            ischecksignature     = false;
            OpenScramblerReturn  = 2;
            InlayCAType          = 0;
            IsUseCAInfo          = true; //默认启用CA
            InlayCA           = new EbmSignature();
            crambler1507      = new sjj1507();
            crambler1313      = new sjj1313();
            IsStartSend       = false;
            cramblertype      = "";
            OriginalNetworkId = 0;//是否需要保存?   20180328

            IsGXProtocol = false;

            IsUseAddCert = false;
            Cert_SN      = "";
            PriKey       = "";
            PubKey       = "";
            Cert_Index   = 0;
        }