private static Class<?> getJavaXECPrivateKeySpec() {
        try {
            return Class.forName("java.security.spec.XECPrivateKeySpec");
        } catch (ClassNotFoundException ignored) {
            return null;
        }
    }
An implementation of a {@link KeyFactorySpi} for XEC keys based on BoringSSL.
common/src/main/java/org/conscrypt/OpenSSLXDHKeyFactory.java