protected CryptoBase()
 {
     //
     // TODO: 在此加入建構函式的程式碼
     //
     try
     {
         if (!String.IsNullOrEmpty(Settings.Default.PKCS7LogType))
         {
             Type type = Type.GetType(Settings.Default.PKCS7LogType);
             if (type.IsSubclassOf(typeof(dsPKCS7)))
             {
                 _ds = (dsPKCS7)type.Assembly.CreateInstance(type.FullName);
             }
         }
     }
     finally
     {
         if (_ds == null)
         {
             _ds = new dsPKCS7();
         }
         _log = _ds.pkcs7Envelop.Newpkcs7EnvelopRow();
         _ds.pkcs7Envelop.Addpkcs7EnvelopRow(_log);
     }
 }
Beispiel #2
0
 public PKCS7()
 {
     //
     // TODO: 在此加入建構函式的程式碼
     //
     _ds = new dsPKCS7();
 }