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

  • SEARCH
  • Home
  • 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 6700501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:49:20+00:00 2026-05-26T06:49:20+00:00

I could Generate PKCS1 formatted raw signature.. and was able to verify it even.

  • 0

I could Generate PKCS1 formatted raw signature.. and was able to verify it even.
But could not find the resource to generate PCKS7 Formatted Signature using IPHONE IOS SDK.

I need to sign a simple text message.

Which library I have to use?

Can we use openssl for this? if yes? then how to include it in the XCODE library framework?

Pls help out.

  • 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-26T06:49:21+00:00Added an answer on May 26, 2026 at 6:49 am

    Yes you can use openssl for this, however you will need to compile it yourself and link your App against the static library. If you want to run it in both the iPhone Simulator and a real iPhone Device (you do), you’ll need to create a ‘fat’ library containing both armv7 and i386 architecture code. If you want to support iPhone 3 instead then you’ll need to include armv6 architecture code. It’s best therefore to build the library with all 3 architectures.

    Here’s a couple of resources that describe how to build openssl for iOS:

    http://atastypixel.com/blog/easy-inclusion-of-openssl-into-iphone-app-projects/
    https://github.com/st3fan/ios-openssl

    EDIT: I actually modified st3fan’s build script, which I have pasted here:

    setenv.sh and build_openssl.sh

    Download these scripts and keep them somewhere like ~/bin (review them and then chmod them 0755 once you are sure they are not malicious).

    Next edit setenv.sh as it assumes there is a directory where you will install your 3rd-party libraries. By default this is /opt/local/ioslibs so make sure that exists and is owned by you else the final bit will fail. It’s been configured for Xcode 4.2/iOS SDK 5 using the default locations so that might need correcting too.

    build_openssl.sh is configured to build a specific version of openssl (1.0.0e) and will download the source tarball if it’s not in the current directory (you need wget for that, but if you cannot be bothered to install wget then manually download it using the link within the script). When you run it, it will build the library in armv6, armv7 and i386 arch’s and copy the correct files to the installation directory.

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

Sidebar

Related Questions

I could susscessfuly genearte pkcs7 signature using PEM(private key)file in Openssl. But, how do
I'm getting an error: GenerationException: url_for could not generate URL. Called with args: ()
I found I could generate XDocument object from html by using SgmlReader.SL. https://bitbucket.org/neuecc/sgmlreader.sl/ The
I am a bit confused. I know that by using Formset we could generate
Name is not compliant? Layout? What? Do you have ideas what exactly could generate
How i could generate database scheme based on model in play 2.0? Is there
I need a function that could generate a regex. For example if I write
I'm looking for a NHibernate Mapping generator which could generate a mapping file (hbm)
Im trying to consume a Java web-service, that uses a certificate. I could generate
I wonder if you could automatically generate header header class functions automatically for a

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.