Пример #1
0
        internal AsnKeyParser(String pathname)
        {
            using (BinaryReader reader = new BinaryReader(
                       new FileStream(pathname, FileMode.Open, FileAccess.Read)))
            {
                FileInfo info = new FileInfo(pathname);

                parser = new AsnParser(reader.ReadBytes((int)info.Length));
            }
        }
Пример #2
0
        internal AsnKeyParser(String pathname)
        {
            using (BinaryReader reader = new BinaryReader(
              new FileStream(pathname, FileMode.Open, FileAccess.Read)))
              {
            FileInfo info = new FileInfo(pathname);

            parser = new AsnParser(reader.ReadBytes((int)info.Length));
              }
        }
Пример #3
0
 internal AsnKeyParser(byte[] keydata)
 {
     parser = new AsnParser(keydata);
 }