Re: Getting the peer certificate encoding

2008-10-15 Thread Goetz Babin-Ebell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aravinda babu wrote: | Hi, | | Is there any openssl API to know this ?I have to use it in a C program. Look into the data. If it is a DER encoded X509 cert, the first 3 bytes are 0x30,0x82,0x05 Goetz - -- DMCA: The greed of the few outweighs the f

Re: Getting the peer certificate encoding

2008-10-15 Thread Aravinda babu
Hi, Is there any openssl API to know this ?I have to use it in a C program. Thanks, Aravind. On Tue, Oct 14, 2008 at 10:05 AM, David Schwartz <[EMAIL PROTECTED]>wrote: > > Aravinda Babu wrote: > > > Problem is our application will verify only DER format certificates. > > > So if i get the peer

Re: Getting the peer certificate encoding

2008-10-13 Thread Victor Duchovni
On Mon, Oct 13, 2008 at 09:35:03PM -0700, David Schwartz wrote: > > Aravinda Babu wrote: > > > Problem is our application will verify only DER format certificates. What protocol exchange is secured by the "certificate" (private/public key pair, with the public key encased in a CA certificate)?

RE: Getting the peer certificate encoding

2008-10-13 Thread David Schwartz
Aravinda Babu wrote: > Problem is our application will verify only DER format certificates. > So if i get the peer certificate in PEM format , i will convert > that into DER and i will verify the peer certificate. > Is there any openSSL API which will tell me a'out the peer > certificate encodi

Getting the peer certificate encoding

2008-10-13 Thread Aravinda babu
Hi All, I am new to OpenSSL.We have one application which will verify the peer certificate. Problem is our application will verify only DER format certificates. So if i get the peer certificate in PEM format , i will convert that into DER and i will verify the peer certificate. Is there any ope