Beispiel #1
0
        public AsnKeyParser(String pathname)
        {
            using (var reader = new BinaryReader(
                       new FileStream(pathname, FileMode.Open, FileAccess.Read)))
            {
                var info = new FileInfo(pathname);

                parser = new AsnParser(reader.ReadBytes((int)info.Length));
            }
        }
Beispiel #2
0
 public AsnKeyParser(byte[] contents)
 {
     parser = new AsnParser(contents);
 }