1 -- $Id: spnego.asn1,v 1.1.1.1 2006/06/28 08:34:45 lha Exp $
6 MechType::= OBJECT IDENTIFIER
8 MechTypeList ::= SEQUENCE OF MechType
10 ContextFlags ::= BIT STRING {
20 NegHints ::= SEQUENCE {
21 hintName [0] GeneralString OPTIONAL,
22 hintAddress [1] OCTET STRING OPTIONAL
25 NegTokenInit ::= SEQUENCE {
26 mechTypes [0] MechTypeList,
27 reqFlags [1] ContextFlags OPTIONAL,
28 mechToken [2] OCTET STRING OPTIONAL,
29 negHints [3] NegHints OPTIONAL,
30 mechListMIC [4] OCTET STRING OPTIONAL
33 -- NB: negResult is not OPTIONAL in the new SPNEGO spec but
34 -- Windows clients do not always send it
35 NegTokenResp ::= SEQUENCE {
36 negResult [0] ENUMERATED {
38 accept_incomplete (1),
40 request-mic (3) } OPTIONAL,
41 supportedMech [1] MechType OPTIONAL,
42 responseToken [2] OCTET STRING OPTIONAL,
43 mechListMIC [3] OCTET STRING OPTIONAL
46 NegotiationToken ::= CHOICE {
47 negTokenInit[0] NegTokenInit,
48 negTokenResp[1] NegTokenResp