I have this buffer given:
unsigned char *buffer;
int buffer_length;
This is how I currently convert it to a base64-encoded buffer:
---
BIO *mem = BIO_new(BIO_s_mem());
BIO *b64 = BIO_new(BIO_f_base64());
mem = BIO_push(b64, mem);
int write_length = BIO_write(mem,
Hello~everyone~
As titled, genpkey command not found in 0.9.8, so is this new in latest version?
Or should I so something for using it?
Date: Fri, 16 Dec 2011 14:52:27 -0500
Subject: Re: Generate private key problems
From: noloa...@gmail.com
To: openssl-users@openssl.org
2011/12/16 Yang Chun-Kai waitmefore...@hotmail.com:
1. If I use openssl genrsa -out my_private_key.key 2048 this command then
I will get the
2011/12/17 Yang Chun-Kai waitmefore...@hotmail.com:
Date: Fri, 16 Dec 2011 14:52:27 -0500
Subject: Re: Generate private key problems
From: noloa...@gmail.com
To: openssl-users@openssl.org
2011/12/16 Yang Chun-Kai waitmefore...@hotmail.com:
1. If I use openssl genrsa -out
2011/12/17 Yang Chun-Kai waitmefore...@hotmail.com:
Hello~everyone~
As titled, genpkey command not found in 0.9.8, so is this new in latest
version?
RSA (112 bits of security):
$ openssl genrsa -out rsa-openssl.pem 2048
$ openssl pkcs8 -nocrypt -in rsa-openssl.pem -inform PEM -topk8
-outform
Date: Sat, 17 Dec 2011 17:20:03 -0500
Subject: Re: Generate private key problems
From: noloa...@gmail.com
To: openssl-users@openssl.org
2011/12/17 Yang Chun-Kai waitmefore...@hotmail.com:
Date: Fri, 16 Dec 2011 14:52:27 -0500
Subject: Re: Generate private key problems
From: