title: How to use GnuTLS with Java and C
body: <p>I want to create Java server which can communicate securely with C client over network. I choose to use GnuTLS for cryptographic library. The problem is that GnuTLS is written in C.
  I have two questions:
  1. Is it possible to use Java with GnuTLS using JNI?
  2. Is it possible to use the internal Java cryptographic package for the server side and GnuTLS and C for the client side? Will they be compatible?</p>