Re: documentation/description of RSA PEM file format used by OpenSSL

2009-02-14 Thread Tomasz Kaźmierczak
Thanks all for your help - I've finally managed to read the keys (now I have to also write a code that will write keys in the same format, but that shouldn't be much of a problem). Documents which helped me were the PKCS#1 v2.1 specification (for the format of the key certificates) and the re

Re: Memory buffers, PKCS7_sign, etc

2009-02-14 Thread Dr. Stephen Henson
On Sat, Feb 14, 2009, openssl-us...@coreland.ath.cx wrote: > I have the following program that runs without error but for > some reason appears to write a truncated or invalid signed message: > [snip] > { > char *data; > int size = BIO_get_mem_data (mem_buf, &data); > printf ("%s"