private void test_KeyPair(KeyPairGenerator kpg, KeyPair kp) throws Exception {
        assertNotNull(kp);
        test_Key(kpg, kp.getPrivate());
        test_Key(kpg, kp.getPublic());
    }
Elliptic Curve Crypto named curves that should be supported.
common/src/test/java/org/conscrypt/java/security/KeyPairGeneratorTest.java