Home | History | Annotate | Download | only in asn1

Lines Matching refs:contentOffset

70     protected int contentOffset;
148 * Initializes tag, length, tagOffset and contentOffset variables
184 contentOffset = offset;
221 if (buffer[contentOffset] > 7) {
222 throw new ASN1Exception("ASN.1 Bitstring: wrong content at [" + contentOffset
226 if (length == 1 && buffer[contentOffset] != 0) {
227 throw new ASN1Exception("ASN.1 Bitstring: wrong content at [" + contentOffset
256 int bits = buffer[contentOffset] & 0xFF;
257 if (buffer[contentOffset + 1] < 0) {
262 throw new ASN1Exception("ASN.1 enumerated: wrong content at [" + contentOffset
311 + contentOffset + "]");
316 byte char14 = buffer[contentOffset + 14];
319 + contentOffset + "]");
326 times[0] = strToInt(contentOffset, 4); // year
327 times[1] = strToInt(contentOffset + 4, 2); // month
328 times[2] = strToInt(contentOffset + 6, 2); // day
329 times[3] = strToInt(contentOffset + 8, 2); // hour
330 times[4] = strToInt(contentOffset + 10, 2); // minute
331 times[5] = strToInt(contentOffset + 12, 2); // second
335 times[6] = strToInt(contentOffset + 15, length - 16);
380 + contentOffset + ']');
387 times[0] = strToInt(contentOffset, 2); // year
394 times[1] = strToInt(contentOffset + 2, 2); // month
395 times[2] = strToInt(contentOffset + 4, 2); // day
396 times[3] = strToInt(contentOffset + 6, 2); // hour
397 times[4] = strToInt(contentOffset + 8, 2); // minute
400 times[5] = strToInt(contentOffset + 10, 2); // second
491 while ((buffer[contentOffset + i] & 0x80) == 0x80) {