private void ReadHeaderLine()
        {
            // find first line of armor
            string input;

            while ((input = ReadLineFromInputStream()) != null)
            {
                if (ArmorHelper.IsAsciiArmorHeaderLine(input))
                {
                    return;
                }
            }

            throw new PGPException("Unable to locate beginning of ASCII armor");
        }