For Android, check out this project as an example:
https://github.com/eighthave/openssl-android
They have the Android-specific Makefile configs for doing an NDK build. You
could patch it with your changes and generate the .so libraries you need.
On Sep 12, 2012, at 12:05 PM, Indtiny s
mailto:
Elliptic Curve key generation help
Wow can't believe I already got an answer! Thanks so much guys I should be good
to go.
On Aug 14, 2012, at 6:59 PM, Jason Goldberg
mailto:jgoldb...@oneid.com>> wrote:
Before you call generate_key, you need to initialize your EC_KEY with a curve:
EC
Before you call generate_key, you need to initialize your EC_KEY with a curve:
EC_GROUP *group = EC_GROUP_new_by_curve_name(curve);
EC_KEY_set_group(testKey, group);
For 'curve' you could use, for example, NIST P256 which is defined with the
macro: NID_X9_62_prime256v1
You can then use these pr
There are Javascript libraries which range from generating key pairs to
creating x509 certificates. So you could generate a keypair in the browser,
then generate a certificate signing request, send the CSR to a remote API along
with a challenge response, and then get back a signed x509 certific
Copy the PEM key from your buffer into a BIO instance (using BIO_write for
example), and then use PEM_read_bio_RSAPrivateKey.
Jason
On Jul 29, 2012, at 5:52 AM, Jonas Schnelli
wrote:
> Hi
>
> I can read in a RSA private key from file without problems (with
> PEM_read_RSAPrivateKey).
> But n
For Android, you'll need to download the Android NDK toolchain and then pull
down this project:
https://github.com/eighthave/openssl-android
Use NDK to build the project above and that will generate the .so files you can
link to.
For iOS, check out:
https://github.com/x2on/OpenSSL-for-iPhone