xref: /linux/fs/smb/server/ksmbd_spnego_negtokeninit.asn1 (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1-- SPDX-License-Identifier: BSD-3-Clause
2--
3-- Copyright (C) 1998, 2000 IETF Trust and the persons identified as authors
4-- of the code
5--
6-- https://www.rfc-editor.org/rfc/rfc2478#section-3.2.1
7-- https://www.rfc-editor.org/rfc/rfc2743#section-3.1
8
9GSSAPI ::=
10	[APPLICATION 0] IMPLICIT SEQUENCE {
11		thisMech
12			OBJECT IDENTIFIER ({ksmbd_gssapi_this_mech}),
13		negotiationToken
14			NegotiationToken
15	}
16
17MechType ::= OBJECT IDENTIFIER ({ksmbd_neg_token_init_mech_type})
18
19MechTypeList ::= SEQUENCE OF MechType
20
21NegTokenInit ::=
22	SEQUENCE {
23		mechTypes
24			[0] MechTypeList,
25		reqFlags
26			[1] BIT STRING OPTIONAL,
27		mechToken
28			[2] OCTET STRING OPTIONAL ({ksmbd_neg_token_init_mech_token}),
29		mechListMIC
30			[3] OCTET STRING OPTIONAL
31	}
32
33NegotiationToken ::=
34	CHOICE {
35		negTokenInit
36			[0] NegTokenInit,
37		negTokenTarg
38			[1] ANY
39	}
40