Re: bio_ber.c

2004-08-06 Thread El hallabi-Kettani Abderrahmane
Good morning Doctor, this is the structure : typedef struct structure_st { ASN1_OBJECT *type; X509 *x509; union { char *ptr; /* NID_structure_data */ ASN1_OCTET_STRING *data; /* NID_structure_signed

Re: RSA encryption - to encrypt a c structure ??

2004-08-06 Thread Tan Eng Ten
First of all, you need to write functions that do serialization and de-serialization of your own C structure. Think about network programming, how do you send a C structure using sockets to a receipient? And having the receipient assemble it back into a C structure? Without such functions, any