@Test
    public void testLargeKeyUsage() {
        ServiceTester tester = ServiceTester.test("CertificateFactory").withAlgorithm("X509");
        tester.run((p, algorithm) -> {
            X509Certificate c = certificateFromPEM(p, LARGE_KEY_USAGE);
            assertArrayEquals(new boolean[] {true, false, true, false, false, false, false,
                                      false, false, false, false},
                    c.getKeyUsage());
        });
    }
Confirm that explicit EC params aren't accepted in certificates.
common/src/test/java/org/conscrypt/java/security/cert/X509CertificateTest.java