RE: get CA name from user certificate

2006-11-30 Thread Santosh
t: Re: get CA name from user certificate Have you tried to use the code without modifications using the same certificate? If you need to load the X509 certificate use following code. Moreover you may find useful information to call these PEM routines in the manual page(%man PEM). Cheers, Kaus

Re: get CA name from user certificate

2006-11-30 Thread Kaushalye Kapuruge
Have you tried to use the code without modifications using the same certificate? If you need to load the X509 certificate use following code. Moreover you may find useful information to call these PEM routines in the manual page(%man PEM). Cheers, Kaushalye BIO *in; if ((in=BIO_new_file

Re: get CA name from user certificate

2006-11-29 Thread imin macho
kapuruge, thanks a lot for helping. i tried the source code you gave me and added some. here's what I did: AnsiString FName = ExtractFilePath(Application->ExeName) + "temp.crt"; X509 *xca=NULL; char *xca2=NULL; xca2 = FName.c_str(); xca = ReadCertificate(xca2); BIO *out; unsigned char *issue

Re: get CA name from user certificate

2006-11-29 Thread Kaushalye Kapuruge
BIO_free(mem); return 0; } -Original Message- *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of *imin macho *Sent:* Wednesday, November 29, 2006 12:26 PM *To:* openssl-users@openssl.org *Subject:* get CA name from user certificate hi

RE: get CA name from user certificate

2006-11-29 Thread Ambarish Mitra
rg Subject: get CA name from user certificate hi i'm really new to this openSSL thingy. is there any function we can use to read/extract CA's name from client certificate? thank you. DISCLAIMER == This e-mail may contain privileged and confidential information which

Re: get CA name from user certificate

2006-11-28 Thread Kaushalye Kapuruge
imin macho wrote: hi i'm really new to this openSSL thingy. is there any function we can use to read/extract CA's name from client certificate? thank you. Macho, You may use following code. Here cert is X509*. Cheers, Kaushalye BIO *out; unsigned char *issuer, *result; int n; out

get CA name from user certificate

2006-11-28 Thread imin macho
hi i'm really new to this openSSL thingy. is there any function we can use to read/extract CA's name from client certificate? thank you.