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)); } }
public AsnKeyParser(byte[] contents) { parser = new AsnParser(contents); }