Re: How to load certificate from buffer

2008-01-14 Thread Marek . Marcola
Hello, > > I received a certificate from remote client and need to deal with it. > > The certificate is stored in buffer, which is created by local server. > > However, I don't know how to make the stuff in buffer become > > X509-style certificate. > > > > What do you mean by "received a certific

Re: How to load certificate from buffer

2008-01-14 Thread Ian jonhson
Thank you very much. I have accomplished this target successfully. On 1/14/08, Victor Duchovni <[EMAIL PROTECTED]> wrote: > On Mon, Jan 14, 2008 at 04:45:11PM +0800, Ian jonhson wrote: > > > I received a certificate from remote client and need to deal with it. > > The certificate is stored in buf

Re: How to load certificate from buffer

2008-01-14 Thread Victor Duchovni
On Mon, Jan 14, 2008 at 04:45:11PM +0800, Ian jonhson wrote: > I received a certificate from remote client and need to deal with it. > The certificate is stored in buffer, which is created by local server. > However, I don't know how to make the stuff in buffer become > X509-style certificate. >

Re: How to load certificate from buffer

2008-01-14 Thread Marek . Marcola
Hello, > I received a certificate from remote client and need to deal with it. > The certificate is stored in buffer, which is created by local server. > However, I don't know how to make the stuff in buffer become > X509-style certificate. If your buffer is in DER format then you may try d2i_X509(

How to load certificate from buffer

2008-01-14 Thread Ian jonhson
Hi, I received a certificate from remote client and need to deal with it. The certificate is stored in buffer, which is created by local server. However, I don't know how to make the stuff in buffer become X509-style certificate. Could any one give me some advices? Thanks in advance, Ian __