2

I am looking for Java wrapper for curl. I understand Java has excellent apis for http and https connections (i.e. standard as well as Apache http client). I have a scenario where my https connections need to go through FIPS certified crypto engine. As Openssl is one that passed FIPS validation and curl uses it as its backend, I am wondering if there is an easy to use wrapper around curl lib.

The Bouncycastle crypto that ships with android is not fips certified.

videoguy
  • 1,732
  • 2
  • 24
  • 49

1 Answers1

7

There is curl-java, which should be what you need, plus some instructions for it in this blog post and some improvements to the code in java-curl-jar project.

eis
  • 51,991
  • 13
  • 150
  • 199
  • I briefly looked at it before this post. It is quite rudimentary. I am wondering if there is one that emulates URLConnection class. – videoguy Feb 15 '13 at 14:50
  • 2
    @videoguy you probably should've specified that in the question :) Not aware of any, at least. – eis Feb 15 '13 at 15:01