They are comments and were initially added because the ASN1 compiler
and myself did not yet know how to dissect all of the constructs yet.
x400Address and otherName might be difficult to implement since I dont
have any examples of those types,
The other two should not be any problem.
If you have any examplecaptures I can test with, I can implement as
much as I can test with these "new" nametypes.
On Sun, 05 Sep 2004 12:03:20 +0300, Yaniv Kaul wrote:
> 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.
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>