MCPcopy Index your code
hub / github.com/apache/tomcat / parseTag

Method parseTag

java/org/apache/tomcat/util/buf/Asn1Parser.java:134–140  ·  view source on GitHub ↗

Parses and validates an expected tag. @param tag the expected tag value

(int tag)

Source from the content-addressed store, hash-verified

132 * @param tag the expected tag value
133 */
134 public void parseTag(int tag) {
135 int value = next();
136 if (value != tag) {
137 throw new IllegalArgumentException(
138 sm.getString("asn1Parser.tagMismatch", Integer.valueOf(tag), Integer.valueOf(value)));
139 }
140 }
141
142
143 /**

Callers 5

rfc5915ToPkcs8Method · 0.95
parsePKCS1Method · 0.95
parseTagSequenceMethod · 0.95
parseBytesMethod · 0.95
parseOCSPURLsMethod · 0.80

Calls 3

nextMethod · 0.95
getStringMethod · 0.65
valueOfMethod · 0.45

Tested by

no test coverage detected