Ethereal

[Ethereal-dev] Updates to packet-x509ce.c
Google
 
Web Ethereal.com

Home | Introduction | Documentation | Lists | FAQ | Development | Wiki | Bugs

Ethereal-dev: September 2004


How do I update this code? It's supposedly being auto-magically done by some woo-doo stuff mentioned at the top of the file:

/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Ethereal dissector compiler */
/* packet-x509ce.c */
/* ../../tools/asn2eth.py -X -b -p x509ce -c x509ce.cnf -s packet-x509ce-template CertificateExtensions.asn */


/* Input file: packet-x509ce-template.c */
/* Include files: packet-x509ce-hf.c, packet-x509ce-ett.c, packet-x509ce-fn.c, packet-x509ce-hfarr.c, packet-x509ce-ettarr.c, packet-x509ce-val.h */



I wish to add dissection to GeneralName_choice, to dissect directoryName [4] .
I noticed asn1/x509ce/CertificateExtensions.asn, has these lines:
GeneralName ::= CHOICE {
-- otherName [0] IMPLICIT INSTANCE OF OTHER-NAME,
rfc822Name [1] IMPLICIT IA5String,
dNSName [2] IMPLICIT IA5String,
-- x400Address [3] IMPLICIT ORAddress,
-- directoryName [4] IMPLICIT Name,
-- ediPartyName [5] IMPLICIT EDIPartyName,
uniformResourceIdentifier [6] IMPLICIT IA5String,
iPAddress [7] IMPLICIT OCTET STRING,
registeredID [8] IMPLICIT OBJECT IDENTIFIER
}


What does "---" means? Seems like comments.
Can I remove it?

See http://www.itu.int/ITU-T/asn1/database/itu-t/x/x509/1997/CertificateExtensions.html#CertificateExtensions.GeneralNames for more information.

Y.


Powered by MHonArc 2.6.10