Package org.apache.tomcat.util.buf
Class Asn1Parser
- java.lang.Object
-
- org.apache.tomcat.util.buf.Asn1Parser
-
public class Asn1Parser extends java.lang.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 Summary
Constructors Constructor Description Asn1Parser(byte[] source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
eof()
void
parseBytes(byte[] dest)
void
parseFullLength()
java.math.BigInteger
parseInt()
int
parseLength()
void
parseTag(int tag)
int
peekTag()
-