private static Class<?> getJavaXECPublicKeySpec() {
    try {
      return Class.forName("java.security.spec.XECPublicKeySpec");
    } 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