Indent and make NegTokenInit and NegTokenResp extendable.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21403 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-07-04 08:13:12 +00:00
parent d6b2870acc
commit 3f6884c4c5

View File

@@ -8,34 +8,34 @@ MechType::= OBJECT IDENTIFIER
MechTypeList ::= SEQUENCE OF MechType MechTypeList ::= SEQUENCE OF MechType
ContextFlags ::= BIT STRING { ContextFlags ::= BIT STRING {
delegFlag (0), delegFlag (0),
mutualFlag (1), mutualFlag (1),
replayFlag (2), replayFlag (2),
sequenceFlag (3), sequenceFlag (3),
anonFlag (4), anonFlag (4),
confFlag (5), confFlag (5),
integFlag (6) integFlag (6)
} }
NegHints ::= SEQUENCE { NegHints ::= SEQUENCE {
hintName [0] GeneralString OPTIONAL, hintName [0] GeneralString OPTIONAL,
hintAddress [1] OCTET STRING OPTIONAL hintAddress [1] OCTET STRING OPTIONAL
} }
NegTokenInitWin ::= SEQUENCE { NegTokenInitWin ::= SEQUENCE {
mechTypes [0] MechTypeList, mechTypes [0] MechTypeList,
reqFlags [1] ContextFlags OPTIONAL, reqFlags [1] ContextFlags OPTIONAL,
mechToken [2] OCTET STRING OPTIONAL, mechToken [2] OCTET STRING OPTIONAL,
negHints [3] NegHints OPTIONAL negHints [3] NegHints OPTIONAL
} }
NegTokenInit ::= SEQUENCE { NegTokenInit ::= SEQUENCE {
mechTypes [0] MechTypeList, mechTypes [0] MechTypeList,
reqFlags [1] ContextFlags OPTIONAL, reqFlags [1] ContextFlags OPTIONAL,
mechToken [2] OCTET STRING OPTIONAL, mechToken [2] OCTET STRING OPTIONAL,
mechListMIC [3] OCTET STRING OPTIONAL mechListMIC [3] OCTET STRING OPTIONAL,
} ...
}
-- NB: negResult is not OPTIONAL in the new SPNEGO spec but -- NB: negResult is not OPTIONAL in the new SPNEGO spec but
-- Windows clients do not always send it -- Windows clients do not always send it
@@ -47,7 +47,8 @@ NegTokenResp ::= SEQUENCE {
request-mic (3) } OPTIONAL, request-mic (3) } OPTIONAL,
supportedMech [1] MechType OPTIONAL, supportedMech [1] MechType OPTIONAL,
responseToken [2] OCTET STRING OPTIONAL, responseToken [2] OCTET STRING OPTIONAL,
mechListMIC [3] OCTET STRING OPTIONAL mechListMIC [3] OCTET STRING OPTIONAL,
...
} }
NegotiationToken ::= CHOICE { NegotiationToken ::= CHOICE {