[1738] in Kerberos
Re: Question: ASN.1 for Kerberos Message Specification
daemon@ATHENA.MIT.EDU (Joe Pato)
Wed Jan 22 10:52:45 1992
From: pato@apollo.com (Joe Pato)
Date: Wed, 22 Jan 92 10:04:09 EST
To: WEIJUN%ITIVAX.BITNET@mitvma.mit.edu
Cc: kerberos@Athena.MIT.EDU
In-Reply-To: WEIJUN%ITIVAX.BITNET@mitvma.mit.edu, wed, 22 jan 92 13:09:00
Hello!
When reading Kerberos Specification (Draft4.1 for RFC), I have a problem
to understand Section 5.2(p20): the ASN.1 definination for HostAddress,
in the document, it is:
HostAddress ::= SEQUENCE{
addr-type[0]
address[1]
}
Should it be
HostAddress ::= SEQUENCE{
addr-type[0] INTEGER
address[1] OCTET STRING
}
instead?
The definition for HostAddresses uses that.
I am new to ASN.1, may be I have missed something?
Regards,
Weijun Wang (weijun@itivax.bitnet)
Your correction should be:
HostAddress ::= SEQUENCE {
addr-type[0] INTEGER,
address[1] OCTET STRING
}
and is what is present in the file KRB5-asn.py - the ASN.1 description file
compiled by ISODE.
-- Joe Pato
Cooperative Object Computing Division / East
Hewlett-Packard Company
pato@apollo.hp.com
-------