1 -- Copyright (C) The Internet Society 2005. This version of
2 -- this module is part of RFC 4178; see the RFC itself for
5 -- (The above copyright notice is per RFC 3978 5.6 (a), q.v.)
7 -- Id: spnego.asn1,v 1.2 2006/12/04 01:52:46 marka Exp
9 -- This is the SPNEGO ASN.1 module from RFC 4178, tweaked
10 -- to get the Heimdal ASN.1 compiler to accept it.
12 SPNEGOASNOneSpec DEFINITIONS ::= BEGIN
14 MechType ::= OBJECT IDENTIFIER
16 MechTypeList ::= SEQUENCE OF MechType
18 ContextFlags ::= BIT STRING {
28 NegTokenInit ::= SEQUENCE {
29 mechTypes [0] MechTypeList,
30 reqFlags [1] ContextFlags OPTIONAL,
31 mechToken [2] OCTET STRING OPTIONAL,
32 mechListMIC [3] OCTET STRING OPTIONAL
35 NegTokenResp ::= SEQUENCE {
36 negState [0] ENUMERATED {
38 accept-incomplete (1),
42 supportedMech [1] MechType OPTIONAL,
43 responseToken [2] OCTET STRING OPTIONAL,
44 mechListMIC [3] OCTET STRING OPTIONAL
47 NegotiationToken ::= CHOICE {
48 negTokenInit [0] NegTokenInit,
49 negTokenResp [1] NegTokenResp