Searched refs:firstIdentifierByte (Results 1 – 4 of 4) sorted by relevance
198 public static boolean isConstructed(byte firstIdentifierByte) { in isConstructed() argument199 return (firstIdentifierByte & ID_FLAG_CONSTRUCTED_ENCODING) != 0; in isConstructed()206 public static int getTagClass(byte firstIdentifierByte) { in getTagClass() argument207 return (firstIdentifierByte & 0xff) >> 6; in getTagClass()210 public static byte setTagClass(byte firstIdentifierByte, int tagClass) { in setTagClass() argument211 return (byte) ((firstIdentifierByte & 0x3f) | (tagClass << 6)); in setTagClass()218 public static int getTagNumber(byte firstIdentifierByte) { in getTagNumber() argument219 return firstIdentifierByte & 0x1f; in getTagNumber()222 public static byte setTagNumber(byte firstIdentifierByte, int tagNumber) { in setTagNumber() argument223 return (byte) ((firstIdentifierByte & ~0x1f) | tagNumber); in setTagNumber()
54 int firstIdentifierByte = in.read(); in readDataValue() local55 if (firstIdentifierByte == -1) { in readDataValue()59 int tagNumber = readTagNumber(in, firstIdentifierByte); in readDataValue()66 boolean constructed = BerEncoding.isConstructed((byte) firstIdentifierByte); in readDataValue()94 BerEncoding.getTagClass((byte) firstIdentifierByte), in readDataValue()102 private static int readTagNumber(InputStream in, int firstIdentifierByte) in readTagNumber() argument104 int tagNumber = BerEncoding.getTagNumber((byte) firstIdentifierByte); in readTagNumber()
41 byte firstIdentifierByte = mBuf.get(); in readDataValue()42 int tagNumber = readTagNumber(firstIdentifierByte); in readDataValue()43 boolean constructed = BerEncoding.isConstructed(firstIdentifierByte); in readDataValue()88 BerEncoding.getTagClass(firstIdentifierByte), in readDataValue()93 private int readTagNumber(byte firstIdentifierByte) throws BerDataValueFormatException { in readTagNumber() argument94 int tagNumber = BerEncoding.getTagNumber(firstIdentifierByte); in readTagNumber()
444 byte firstIdentifierByte = in createTag()457 result[0] = firstIdentifierByte; in createTag()490 result[0] = firstIdentifierByte; in createTag()