Class Asn1Parser


  • public class Asn1Parser
    extends Object
    This is a very basic ASN.1 parser that provides the limited functionality required by Tomcat. It is a long way from a complete parser.

    TODO: Consider extending this parser and refactoring the SpnegoTokenFixer to use it.

    • Constructor Detail

      • Asn1Parser

        public Asn1Parser​(byte[] source)
    • Method Detail

      • eof

        public boolean eof()
      • peekTag

        public int peekTag()
      • parseTag

        public void parseTag​(int tag)
      • parseFullLength

        public void parseFullLength()
      • parseLength

        public int parseLength()
      • parseBytes

        public void parseBytes​(byte[] dest)