Re: asn1 parsing tutorial

2012-09-05 Thread Kenneth Goldman
2:09 AM Subject: Re: asn1 parsing tutorial On 09/04/2012 10:47 PM, Ken Goldman wrote: > Is there any tutorial or other documentation on how to use the openssl asn1 parsing C functions? > That is, not the command line. > > The man pages are empty. I found that the asn1parse command l

Re: asn1 parsing tutorial

2012-09-04 Thread Dr. Stephen Henson
On Tue, Sep 04, 2012, Ken Goldman wrote: > > Use case: I have to parse a non-standard X.509 certificate that > openssl cannot handle at a higher level. I think I have to parse at > a low level and pull out the data I need. > Is this the OAEP certificate issue? It should be possible to retriev

asn1 parsing tutorial

2012-09-04 Thread Ken Goldman
Is there any tutorial or other documentation on how to use the openssl asn1 parsing C functions? That is, not the command line. The man pages are empty. I found that the asn1parse command line utility works, but the asn1pars.c code is completely uncommented. It will be a chore to reverse

RE: ASN1 parsing

2005-12-04 Thread Venkata Sairam
sn't seem to be corresponding to the values of the above sequence. How to do get the values inside the structure? Please help. Thanks Regards, Venkata -Original Message- From: Venkata Sairam [mailto:[EMAIL PROTECTED] Sent: Monday, December 05, 2005 10:27 AM To: 'openssl-users@open

RE: ASN1 parsing

2005-12-04 Thread Venkata Sairam
10:57 AM To: 'openssl-users@openssl.org' Subject: RE: ASN1 parsing Hi Thanks for the reply. I will try to implement a ASN1 module for the data. I am new to openssl and tried to get some sample code but couldn't find any. Can you please point me to few sample examples of the implementat

RE: ASN1 parsing

2005-12-01 Thread Venkata Sairam
enkat -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dr. Stephen Henson Sent: Thursday, December 01, 2005 10:27 PM To: openssl-users@openssl.org Subject: Re: ASN1 parsing On Thu, Dec 01, 2005, Venkata Sairam wrote: > Hi > > I am trying to parse a A

Re: ASN1 parsing

2005-12-01 Thread Dr. Stephen Henson
On Thu, Dec 01, 2005, Venkata Sairam wrote: > Hi > > I am trying to parse a ASN format that has the following structure. > ASNSEQUENCE[C] = 3 elements > INTEGER = 0 > SEQUENCE[C] = 2 elements > OBJECT ID = SHA > NULL = null > SEQUENCE[C] = 1 elements > SEQUENCE[C] = 2 elements >

ASN1 parsing

2005-12-01 Thread Venkata Sairam
Hi I am trying to parse a ASN format that has the following structure. ASNSEQUENCE[C] = 3 elements INTEGER = 0 SEQUENCE[C] = 2 elements OBJECT ID = SHA NULL = null SEQUENCE[C] = 1 elements SEQUENCE[C] = 2 elements INTEGER = 1 OCTET STRING = 20 bytes: 98:F7:6A:06:E1...