test_class.file: java_src/src/test/java/com/google/crypto/tink/NoSecretKeysetHandleTest.java
test_class.identifier: NoSecretKeysetHandleTest
test_case.body: @Test
    public void testVoidInputs() throws Exception {
      KeysetHandle unused;
  
      try {
        unused = NoSecretKeysetHandle.read(BinaryKeysetReader.withBytes(new byte[0]));
        fail("Expected GeneralSecurityException");
      } catch (GeneralSecurityException e) {
        assertExceptionContains(e, "empty keyset");
      }
  
      try {
        unused = NoSecretKeysetHandle.read(BinaryKeysetReader.withBytes(new byte[0]));
        fail("Expected GeneralSecurityException");
      } catch (GeneralSecurityException e) {
        assertExceptionContains(e, "empty keyset");
      }
    }
test_case.class_method_signature: NoSecretKeysetHandleTest.testVoidInputs()
test_case.full_signature: @Test public void testVoidInputs()
test_case.identifier: testVoidInputs
test_case.invocations: read withBytes fail assertExceptionContains read withBytes fail assertExceptionContains
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testVoidInputs()
focal_class.file: java_src/src/main/java/com/google/crypto/tink/NoSecretKeysetHandle.java
focal_class.identifier: NoSecretKeysetHandle
focal_class.class_method_signature: NoSecretKeysetHandle.parseFrom(final byte[] serialized)
focal_class.full_signature: @Deprecated public static final KeysetHandle parseFrom(final byte[] serialized)
focal_class.identifier: parseFrom
focal_class.modifiers: @Deprecated public static final
focal_class.parameters: (final byte[] serialized)
focal_class.return: KeysetHandle
focal_class.signature: KeysetHandle parseFrom(final byte[] serialized)
focal_class.class_method_signature: NoSecretKeysetHandle.read(KeysetReader reader)
focal_class.full_signature: public static final KeysetHandle read(KeysetReader reader)
focal_class.identifier: read
focal_class.modifiers: public static final
focal_class.parameters: (KeysetReader reader)
focal_class.return: KeysetHandle
focal_class.signature: KeysetHandle read(KeysetReader reader)
focal_class.class_method_signature: NoSecretKeysetHandle.validate(Keyset keyset)
focal_class.full_signature: private static void validate(Keyset keyset)
focal_class.identifier: validate
focal_class.modifiers: private static
focal_class.parameters: (Keyset keyset)
focal_class.return: void
focal_class.signature: void validate(Keyset keyset)
focal_method.body: public static final KeysetHandle read(KeysetReader reader)
        throws GeneralSecurityException, IOException {
      Keyset keyset = reader.read();
      validate(keyset);
      return KeysetHandle.fromKeyset(keyset);
    }
focal_method.class_method_signature: NoSecretKeysetHandle.read(KeysetReader reader)
focal_method.full_signature: public static final KeysetHandle read(KeysetReader reader)
focal_method.identifier: read
focal_method.invocations: read validate fromKeyset
focal_method.modifiers: public static final
focal_method.parameters: (KeysetReader reader)
focal_method.return: KeysetHandle
focal_method.signature: KeysetHandle read(KeysetReader reader)