473,804 Members | 2,064 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASN.1 source reader

Hello,
does anybody know any way how to read ASN.1 source into Python?
I can not find any ASN.1 parser.

The next way can be ASN.1 -> XML -> Python but I did not find any ASN.1
-> XML convertor which keeps all ASN.1 information in XML.
E.g. ASN2XSD tool from obj-sys.com loses information about extension
mark position.

Thanks,
Tom
Jul 18 '05 #1
3 6226
Tomas Kukosa wrote:

does anybody know any way how to read ASN.1 source into Python?
I can not find any ASN.1 parser.


Which pages in http://www.google.ca/search?q=python+asn.1 were not helpful
for you, and why?

-Peter
Jul 18 '05 #2
Tomas Kukosa <to**********@s iemens.com> writes:
does anybody know any way how to read ASN.1 source into Python?
I can not find any ASN.1 parser.


http://www.panix.com/~asl2/software/PyZ3950/index.html

Aaron also links to another couple of ASN.1 libraries there.
John
Jul 18 '05 #3
In article <87************ @pobox.com>, John J. Lee <jj*@pobox.co m> wrote:
Tomas Kukosa <to**********@s iemens.com> writes:
does anybody know any way how to read ASN.1 source into Python?
I can not find any ASN.1 parser.


http://www.panix.com/~asl2/software/PyZ3950/index.html

Aaron also links to another couple of ASN.1 libraries there.


The current public release of PyZ3950 doesn't include a usable parser
for ASN.1 specifications. My current sources do, and I hope to make a
public release soon (mostly a matter of documentation, since I wrote
the code for a client who only needed to compile the Z39.50-200x
spec): I'd certainly be happy to make a prerelease available to anyone
interested.

Aaron (as**@pobox.com )

Jul 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
1929
by: malcolm | last post by:
Why you can't get something for nothing Jack Schofield Jan 22 2004 "There are also undoubted benefits from running open source software, though the financial ones can be small or even negative. Companies are bound to be tempted by the idea of getting something for nothing .." "The facility to fix bugs yourself and to modify programs also sounds
30
2224
by: Hallvard B Furuseth | last post by:
Now that the '-*- coding: <charset> -*-' feature has arrived, I'd like to see an addition: # -*- str7bit:True -*- After the source file has been converted to Unicode, cause a parse error if a non-u'' string contains a non-7bit source character. It can be used to ensure that the source file doesn't contain national characters that the program will treat as characters in the current
8
2530
by: Todd Bright | last post by:
Is there a way to get the current XmlNode from the reader while in the validation event handler? What I'd like to do is display the error message along with the name of its parent node. In my XML format, there are parent nodes named differently with some of the same names for child nodes, so when I get an error message that references the 'LOGICALPOCKET' node that could be under more than one different parent node. I need to be able to...
22
2115
by: Liang Chen | last post by:
Is the file "bcopy.c" in the "libitery" directory the implement of the GNU C library function "bcopy"? If so, how can it run so fast?(copy-by-byte rather than copy-by-word) When I copy the code of "libitery/bcopy.c" to my own code, I find that it is so slow even if I turn on "-O3" and define "NDEBUG". Why?
0
1194
by: Crazy Cat | last post by:
In the following code I retrieve data from a stored procedure that returns multiple resultsets (the results of the stored procedure have been stored in a datareader called reader). On each iteration a tab page is added to a tab control and a datagridview is created on that the tab page. In the first iteration I can set all the values with no problems, however on the next iteration, even though there is definitely data in the data source,...
135
7544
by: Xah Lee | last post by:
Tabs versus Spaces in Source Code Xah Lee, 2006-05-13 In coding a computer program, there's often the choices of tabs or spaces for code indentation. There is a large amount of confusion about which is better. It has become what's known as “religious war” — a heated fight over trivia. In this essay, i like to explain what is the situation behind it, and which is proper.
3
2077
by: lukefrancomusic | last post by:
I am trying to learn Python. I am working on a simple backup program (code listed below). When using a source directory (the files to be backed up) without spaces in the title, my program works fine . If I try to access a directory with a space in the name the program fails with this error message: zip error:Nothing to do! (try: zip -qr C:\Backup\ \06.02.2007\BackUp@_10.03.57.zip . -i C:\test\test2\\) Backup FAILED I've been trying to...
6
1578
by: pereges | last post by:
I hae compiled and executed codes of vector.c, reader.c , test.c seperately and they can be execute in proper manner and give correct outputs but when i tried to integrate them all into a single project using pelles C it is giving two many errors. /* vector.h */ #ifndef vector_h #define vector_h
0
1823
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgRGVzYXJyb2xsbw==?= | last post by:
Hi all people, everybody, We have multiple versions of Acrobat Reader from 5.x to 8.x, I want to create a method in C# or VB.NET to check to see if the registry key for the versions exists, and if so uninstall it, then install the latest
1
2829
by: dotnetnovice | last post by:
Hi everybody... I want to show data in the data gridview placed in my form after getting data from my data access layer class through a class... Here is my code in the data access layer class. public class DBHandler { public List<Programs> GetAllPrograms() {
0
10604
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10354
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10101
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7643
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6870
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5536
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5675
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4314
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3005
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.