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 6107145
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:09:24+00:00 2026-05-23T14:09:24+00:00

I compiled Openssl for android but I dont see how to access the functions

  • 0

I compiled Openssl for android but I dont see how to access the functions from java. I think I need some kind of JNI files for that. Is there a way to generate the corresponding JNI files for the libssl.so and libcrypto.so from Openssl .c and .h files.

  • 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-23T14:09:25+00:00Added an answer on May 23, 2026 at 2:09 pm

    Take a look at swig. That should be able to generate the necessary Java and c-code, to allow you to call the native functions defined in the openssl header from Java.

    You should simply be able to do:

    swig openssl.h
    

    And you will have some java classes representing the openssl.h interface, and you will have a c-wrapper that you need to crosscompile for android (like you have done for openssl).

    On another node, you might want to take a look at Bouncy Castle. This is the crypto system included in android (and accessible through javax.net.ssl – reading that link it sounds like openssl is included in android already).

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

Sidebar

Related Questions

I need to build the latest OpenSSL (1.0.0g) for an Android application. I am
I need the openssl lib for some C code in my iPhone App. So
I have compiled a JNI library for Android with the NDK that statically links
I need to use AES encryption in my embedded Erlang application, but OpenSSL is
I compiled a Java program as javac t1.java > a in order to redirect
How do I lock compiled Java classes to prevent decompilation? I know this must
I'm using compiled OpenSSL for an iPhone app. I followed the instructions here http://www.x2on.de/kontakt/
I'm trying to figure out how to use the self compiled OpenSSL API to
I checked out quite a few SSL librarys tonight. OpenSSL looks good but lacks
I am trying to build Python from source and need to include the SSL

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.