Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7589721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:13:51+00:00 2026-05-30T20:13:51+00:00

I want to create Java server which can communicate securely with C client over

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T20:13:52+00:00Added an answer on May 30, 2026 at 8:13 pm

    TLS 1.0, 1.1 and 1.2 are IETF standards, which are specifically designed so that their implementations can inter-operate (in practice, most SSL/TLS libraries will also include support for SSLv3 at least). This happens all the time when you connect to a webserver (for example, running Apache backed by OpenSSL) from a browser which tend not to share their SSL/TLS stacks (e.g. IE, Firefox and Safari use different SSL/TLS libraries).

    It might be possible to use GnuTLS with JNI from Java, but I’m not sure it’s worth the effort. Java already has the JSSE.

    What may cause a problem are the version of TLS you’re planning to use and the support for cipher suites.

    The Oracle JRE uses the Sun Provider. What’s supported is documented in the SunJSSE provider documentation for Java 6 and for Java 7 (in particular, TLS 1.1 and 1.2 are not supported in Java 6). There are also tables showing what is supported by various implementations on Wikipedia, but you may also have to look at the documentation for the specific version you want to use for accurate data.

    For example, it’s possible to connect to a Java server (e.g. Jetty) running on a Java 6 JRE from cURL compiled against GnuTLS.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a client-side Java application for which I want to create a
I want to use pooled connections with Java (because it is costly to create
I am Java and Maven newbie and I want to create a simple client
I want to create java program that can pause / play the vlc video
Can I create on Java monitoring program of network traffic? The program must control
I have a java project I want to create which will be built on
I want to create a simple server client application, but i think there is
I want to create a Java application bundle for Mac without using Mac. According
I want to create a Java Desktop Application and want to employ some mechanism
I want create a excel with Apache POI in java and I must insert

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.