RE: [ASN.1] Asn.1 and ROSE problems
Title: Re: [ASN.1] Asn.1 and ROSE problems Thank you Rajul, I'm looking into it. Hello All, In case any other information please forward to me. Warm regards, Vasa -Original Message-From: Rajul Gupta [mailto:[EMAIL PROTECTED]]Sent: Tuesday, August 27, 2002 9:21 PMTo: [EMAIL PROTECTED]Subject: Re: [ASN.1] Asn.1 and ROSE problems Hi Vasa, I can give you some information about DER and CER. Other members of group can give you more detailed information. You have already written DER and CER are derived from BER, but these are more restrictive. You can't have two different encodings for the same value. For example, encoding of "value BOOLEAN ::= TRUE" can be anything between 0x01 to 0xFF in BER, but it has to be 0xFF in CER/DER. There are so many other examples like this. These encoding rules are helpful for the applications that relay information associated with digital signature. Main difference between CER and DER, former uses indefinite-length format, and later uses definite-length format. Messages encoded by DER/CER can be decoded by BER decoder, but reverse is not true. I have seen not many people use CER, they use DER instead. However, I may be wrong. You can get more info about this from the books available at www.oss.com , or may be other places from the net. Rajul GuptaOSS Nokalva [EMAIL PROTECTED]1-732-302-9669 (x-137)http://www.oss.com - Original Message - From: Prasad Vasa To: '[EMAIL PROTECTED]' Sent: Tuesday, August 27, 2002 6:17 AM Subject: RE: [ASN.1] Asn.1 and ROSE problems hello, Can any bodyexplain what is canonical-encoding(0) and distinguished-encoding(1) What is the difference between them? Both the above encodings are derived forms of BER ( http://asn1.elibel.tm.fr/en/oid/root/joint-iso-itu-t/asn1/ber-derived/) I await your reply Warm regards, Vasa -Original Message-From: DUBUISSON Olivier [mailto:[EMAIL PROTECTED]]Sent: Sunday, August 11, 2002 1:25 AMTo: [EMAIL PROTECTED]; [EMAIL PROTECTED]Cc: zze-BARBEAU Julien FTRD/DTL/LANSubject: Re: [ASN.1] Asn.1 and ROSE problems Bernard Kufluk wrote: Hi I am at the early stages in a project involving ASN.1 and ROSE. I have obtained the X.219, 229 etc specs from the ITU and cut and pasted You seem to be using old versions of ROSE. The ASN.1 modules of the latest version (the X.880 series) is available from: http://www.itu.int/itu-t/asn1/database/itu-t/x/ from the PDF to create the documents - but I'm a bit surprised that the specs seem to have errors in them (spelling mistakes etc). Does anyone have experience of this and is this normal ? Of course clean ASN.1 modules are expected, but this is unfortunately the case that standardization organizations sometimes publish standards which have not been thoroughly checked (as you can imagine this is a matter of time and manpower -- so feel free to join, say, the ITU-T and help improve the quality of what is produced, your help is much welcome). (Am I going about this completely the wrong way ?) France Telecom is giving a lot of manpower to the ITU-T ASN.1 Project (see http://www.itu.int/itu-t/asn1) to extract the ASN.1 modules from all ITU-T Recommendations, check them with a compiler and pretty-print them into both a text and HTML (with hyperlinks) format. We provide a lot of other useful features such as a dependence tree, zipped packages gathering all ASN.1 modules needed to compile a Recommendation...). The result is freely available from the ITU-T website at: http://www.itu.int/itu-t/asn1/database/ (Of course not all Recommendations are available yet but we are working hard to improve this.) -- Olivier DUBUISSON (ITU-T ASN.1 Project leader) france telecom RD DTL/TAL - 22307 Lannion Cedex - France t: +33 2 96 05 38 50 - f: +33 2 96 05 39 45 - http://asn1.elibel.tm.fr/
RE: [ASN.1] Asn.1 and ROSE problems
Title: Re: [ASN.1] Asn.1 and ROSE problems hello, Can any bodyexplain what is canonical-encoding(0) and distinguished-encoding(1) What is the difference between them? Both the above encodings are derived forms of BER ( http://asn1.elibel.tm.fr/en/oid/root/joint-iso-itu-t/asn1/ber-derived/) I await your reply Warm regards, Vasa -Original Message-From: DUBUISSON Olivier [mailto:[EMAIL PROTECTED]]Sent: Sunday, August 11, 2002 1:25 AMTo: [EMAIL PROTECTED]; [EMAIL PROTECTED]Cc: zze-BARBEAU Julien FTRD/DTL/LANSubject: Re: [ASN.1] Asn.1 and ROSE problems Bernard Kufluk wrote: Hi I am at the early stages in a project involving ASN.1 and ROSE. I have obtained the X.219, 229 etc specs from the ITU and cut and pasted You seem to be using old versions of ROSE. The ASN.1 modules of the latest version (the X.880 series) is available from: http://www.itu.int/itu-t/asn1/database/itu-t/x/ from the PDF to create the documents - but I'm a bit surprised that the specs seem to have errors in them (spelling mistakes etc). Does anyone have experience of this and is this normal ? Of course clean ASN.1 modules are expected, but this is unfortunately the case that standardization organizations sometimes publish standards which have not been thoroughly checked (as you can imagine this is a matter of time and manpower -- so feel free to join, say, the ITU-T and help improve the quality of what is produced, your help is much welcome). (Am I going about this completely the wrong way ?) France Telecom is giving a lot of manpower to the ITU-T ASN.1 Project (see http://www.itu.int/itu-t/asn1) to extract the ASN.1 modules from all ITU-T Recommendations, check them with a compiler and pretty-print them into both a text and HTML (with hyperlinks) format. We provide a lot of other useful features such as a dependence tree, zipped packages gathering all ASN.1 modules needed to compile a Recommendation...). The result is freely available from the ITU-T website at: http://www.itu.int/itu-t/asn1/database/ (Of course not all Recommendations are available yet but we are working hard to improve this.) -- Olivier DUBUISSON (ITU-T ASN.1 Project leader) france telecom RD DTL/TAL - 22307 Lannion Cedex - France t: +33 2 96 05 38 50 - f: +33 2 96 05 39 45 - http://asn1.elibel.tm.fr/
RE: [ASN.1] Asn.1 and ROSE problems
You better extract the ASN.1 descriptions using an extractor tool then there should not be any problem ! In some cases the errors can be in-side the descriptions in that case tool also would not help u !! Warm regards, Vasa -Original Message- From: Bernard Kufluk [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 11:19 PM To: [EMAIL PROTECTED] Subject: [ASN.1] Asn.1 and ROSE problems Hi I am at the early stages in a project involving ASN.1 and ROSE. I have obtained the X.219, 229 etc specs from the ITU and cut and pasted from the PDF to create the documents - but I'm a bit surprised that the specs seem to have errors in them (spelling mistakes etc). Does anyone have experience of this and is this normal ? (Am I going about this completely the wrong way ?) Thanks Bernard Kufluk, Websphere Voice Response for Aix, Hursley Park [EMAIL PROTECTED] 01962 817643
Re: [ASN.1] Asn.1 and ROSE problems
I will let Olivier reply more fully, as he maintains the database, but there is an ITU-T database (free access) of many ASN.1 modules that I am sure includes X.219 and X.229. Specs in the database have been checked and are pretty-well guaranteed to be legal ASN.1. John L Bernard Kufluk wrote: Hi I am at the early stages in a project involving ASN.1 and ROSE. I have obtained the X.219, 229 etc specs from the ITU and cut and pasted from the PDF to create the documents - but I'm a bit surprised that the specs seem to have errors in them (spelling mistakes etc). Does anyone have experience of this and is this normal ? (Am I going about this completely the wrong way ?) Thanks Bernard Kufluk, Websphere Voice Response for Aix, Hursley Park [EMAIL PROTECTED] 01962 817643 -- Prof John Larmouth Larmouth TPDS Ltd (Training and Protocol Development Services) 1 Blueberry Road Bowdon [EMAIL PROTECTED] Cheshire WA14 3LSTel: +44 161 928 1605 England Fax: +44 161 928 8069
Re: [ASN.1] Asn.1 and ROSE problems
Title: Re: [ASN.1] Asn.1 and ROSE problems Bernard Kufluk wrote: Hi I am at the early stages in a project involving ASN.1 and ROSE. I have obtained the X.219, 229 etc specs from the ITU and cut and pasted You seem to be using old versions of ROSE. The ASN.1 modules of the latest version (the X.880 series) is available from: http://www.itu.int/itu-t/asn1/database/itu-t/x/ from the PDF to create the documents - but I'm a bit surprised that the specs seem to have errors in them (spelling mistakes etc). Does anyone have experience of this and is this normal ? Of course clean ASN.1 modules are expected, but this is unfortunately the case that standardization organizations sometimes publish standards which have not been thoroughly checked (as you can imagine this is a matter of time and manpower -- so feel free to join, say, the ITU-T and help improve the quality of what is produced, your help is much welcome). (Am I going about this completely the wrong way ?) France Telecom is giving a lot of manpower to the ITU-T ASN.1 Project (see http://www.itu.int/itu-t/asn1) to extract the ASN.1 modules from all ITU-T Recommendations, check them with a compiler and pretty-print them into both a text and HTML (with hyperlinks) format. We provide a lot of other useful features such as a dependence tree, zipped packages gathering all ASN.1 modules needed to compile a Recommendation...). The result is freely available from the ITU-T website at: http://www.itu.int/itu-t/asn1/database/ (Of course not all Recommendations are available yet but we are working hard to improve this.) -- Olivier DUBUISSON (ITU-T ASN.1 Project leader) france telecom RD DTL/TAL - 22307 Lannion Cedex - France t: +33 2 96 05 38 50 - f: +33 2 96 05 39 45 - http://asn1.elibel.tm.fr/
Re: [ASN.1] Asn.1 and ROSE problems
It is normal, if you take any specs they have small errors in them. 3G specs for GSMMAP is as an example, around 1300 pages, it is hard to have it error free. But the ASN1 definitions should not or have few errors. In some cases you can download only the ASN1 specs and not the hole standart, you will not have to cut and paste in this case, but this is only for the recent specs like release4 of camel or gsmmap. I think everyone here did some editing on the ASN1 before using it. Your project looks interesting, are you planning to create ROSE models from ASN1 definitions? 640K ought to be enough for anybody. (Bill Gates, CEO of MIcrosoft, 1981) -- Salim Mounir Alaoui, Ph.D. [EMAIL PROTECTED] Computer Science Dept. Florida Institute of Technology Melbourne, Florida Voice: (321) 733-7191. --