Re: where is RSAPrivatekey_it

2010-11-27 Thread Shravan Mishra
Aahh!! Got it. Thanks much doctor. -Shravan On Fri, Nov 26, 2010 at 6:06 PM, Dr. Stephen Henson wrote: > On Fri, Nov 26, 2010, Shravan Mishra wrote: > >> >> What's throwing me off is this: >> >> ASN1_ITEM_rptr(itname) >> >> It is defined in asn1.h >> >> #define ASN1_ITEM_rptr(ref) (&(ref##_it))

Re: creating RSA structure when Private key(E,D,N) known

2010-11-27 Thread Kenneth Goldman
Assuming C, the way I do it is: - RSA_new() a key token - Convert the n,e,d from binary (unsigned char) arrays to BIGNUMs using bin2bn - assign the n,e,d BIGNUM's to the RSA structure Use the key token. RSA_free() when done. owner-openssl-us...@openssl.org wrote on 11/25/2010 07:32:45 AM: >