@Test
    public void utcTimeWithOffset() {
        ServiceTester tester = ServiceTester.test("CertificateFactory").withAlgorithm("X509");
        tester.skipProvider("SUN") // Sun and BC interpret the offset, Conscrypt just drops it...
                .skipProvider("BC")
                .run((p, algorithm) -> {
                    X509Certificate c = certificateFromPEM(p, UTCTIME_WITH_OFFSET);
                    assertDatesEqual(
                            dateFromUTC(2014, Calendar.JULY, 4, 0, 0, 0),
                            c.getNotBefore());
                    assertDatesEqual(
                            dateFromUTC(2048, Calendar.AUGUST, 1, 10, 21, 23),
                            c.getNotAfter());
                });
    }
Confirm that explicit EC params aren't accepted in certificates.
common/src/test/java/org/conscrypt/java/security/cert/X509CertificateTest.java