Searched refs:firstIdentifierByte (Results 1 – 4 of 4) sorted by relevance
162 public static boolean isConstructed(byte firstIdentifierByte) { in isConstructed() argument163 return (firstIdentifierByte & ID_FLAG_CONSTRUCTED_ENCODING) != 0; in isConstructed()170 public static int getTagClass(byte firstIdentifierByte) { in getTagClass() argument171 return (firstIdentifierByte & 0xff) >> 6; in getTagClass()174 public static byte setTagClass(byte firstIdentifierByte, int tagClass) { in setTagClass() argument175 return (byte) ((firstIdentifierByte & 0x3f) | (tagClass << 6)); in setTagClass()182 public static int getTagNumber(byte firstIdentifierByte) { in getTagNumber() argument183 return firstIdentifierByte & 0x1f; in getTagNumber()186 public static byte setTagNumber(byte firstIdentifierByte, int tagNumber) { in setTagNumber() argument187 return (byte) ((firstIdentifierByte & ~0x1f) | tagNumber); in setTagNumber()
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()
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()
398 byte firstIdentifierByte = in createTag()411 result[0] = firstIdentifierByte; in createTag()444 result[0] = firstIdentifierByte; in createTag()