test_class.file: java_src/src/test/java/com/google/crypto/tink/subtle/SubtleUtilTest.java
test_class.identifier: SubtleUtilTest
test_case.body: @Test
    public void testPutAsUnsigedInt_smallNumber() throws Exception {
      ByteBuffer buffer = ByteBuffer.allocate(4);
      SubtleUtil.putAsUnsigedInt(buffer, 0x1122EEFFL);
      assertThat(buffer.array()).isEqualTo(new byte[] {0x11, 0x22, (byte) 0xEE, (byte) 0xFF});
    }
test_case.class_method_signature: SubtleUtilTest.testPutAsUnsigedInt_smallNumber()
test_case.full_signature: @Test public void testPutAsUnsigedInt_smallNumber()
test_case.identifier: testPutAsUnsigedInt_smallNumber
test_case.invocations: allocate putAsUnsigedInt isEqualTo assertThat array
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testPutAsUnsigedInt_smallNumber()
focal_class.file: java_src/src/main/java/com/google/crypto/tink/subtle/SubtleUtil.java
focal_class.identifier: SubtleUtil
focal_class.class_method_signature: SubtleUtil.toEcdsaAlgo(HashType hash)
focal_class.full_signature: public static String toEcdsaAlgo(HashType hash)
focal_class.identifier: toEcdsaAlgo
focal_class.modifiers: public static
focal_class.parameters: (HashType hash)
focal_class.return: String
focal_class.signature: String toEcdsaAlgo(HashType hash)
focal_class.class_method_signature: SubtleUtil.toRsaSsaPkcs1Algo(HashType hash)
focal_class.full_signature: public static String toRsaSsaPkcs1Algo(HashType hash)
focal_class.identifier: toRsaSsaPkcs1Algo
focal_class.modifiers: public static
focal_class.parameters: (HashType hash)
focal_class.return: String
focal_class.signature: String toRsaSsaPkcs1Algo(HashType hash)
focal_class.class_method_signature: SubtleUtil.toDigestAlgo(HashType hash)
focal_class.full_signature: public static String toDigestAlgo(HashType hash)
focal_class.identifier: toDigestAlgo
focal_class.modifiers: public static
focal_class.parameters: (HashType hash)
focal_class.return: String
focal_class.signature: String toDigestAlgo(HashType hash)
focal_class.class_method_signature: SubtleUtil.isAndroid()
focal_class.full_signature: public static boolean isAndroid()
focal_class.identifier: isAndroid
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isAndroid()
focal_class.class_method_signature: SubtleUtil.bytes2Integer(byte[] bs)
focal_class.full_signature: public static BigInteger bytes2Integer(byte[] bs)
focal_class.identifier: bytes2Integer
focal_class.modifiers: public static
focal_class.parameters: (byte[] bs)
focal_class.return: BigInteger
focal_class.signature: BigInteger bytes2Integer(byte[] bs)
focal_class.class_method_signature: SubtleUtil.integer2Bytes(BigInteger num, int intendedLength)
focal_class.full_signature: public static byte[] integer2Bytes(BigInteger num, int intendedLength)
focal_class.identifier: integer2Bytes
focal_class.modifiers: public static
focal_class.parameters: (BigInteger num, int intendedLength)
focal_class.return: byte[]
focal_class.signature: byte[] integer2Bytes(BigInteger num, int intendedLength)
focal_class.class_method_signature: SubtleUtil.mgf1(byte[] mgfSeed, int maskLen, HashType mgfHash)
focal_class.full_signature: public static byte[] mgf1(byte[] mgfSeed, int maskLen, HashType mgfHash)
focal_class.identifier: mgf1
focal_class.modifiers: public static
focal_class.parameters: (byte[] mgfSeed, int maskLen, HashType mgfHash)
focal_class.return: byte[]
focal_class.signature: byte[] mgf1(byte[] mgfSeed, int maskLen, HashType mgfHash)
focal_class.class_method_signature: SubtleUtil.putAsUnsigedInt(ByteBuffer buffer, long value)
focal_class.full_signature: public static void putAsUnsigedInt(ByteBuffer buffer, long value)
focal_class.identifier: putAsUnsigedInt
focal_class.modifiers: public static
focal_class.parameters: (ByteBuffer buffer, long value)
focal_class.return: void
focal_class.signature: void putAsUnsigedInt(ByteBuffer buffer, long value)
focal_method.body: public static void putAsUnsigedInt(ByteBuffer buffer, long value)
        throws GeneralSecurityException {
      if (!(0 <= value && value < 0x100000000L)) {
        throw new GeneralSecurityException("Index out of range");
      }
      buffer.putInt((int) value);
    }
focal_method.class_method_signature: SubtleUtil.putAsUnsigedInt(ByteBuffer buffer, long value)
focal_method.full_signature: public static void putAsUnsigedInt(ByteBuffer buffer, long value)
focal_method.identifier: putAsUnsigedInt
focal_method.invocations: putInt
focal_method.modifiers: public static
focal_method.parameters: (ByteBuffer buffer, long value)
focal_method.return: void
focal_method.signature: void putAsUnsigedInt(ByteBuffer buffer, long value)