[Automatic update for 2016-03-13]
[metze/wireshark/wip.git] / asn1 / qsig / QSIG-WTMAU.asn
1 -- QSIG-WTMAU.asn
2 --
3 -- Taken from Ecma International
4 -- Standard ECMA-306, 2nd edition (December 2001)
5 -- http://www.ecma-international.org/publications/standards/Ecma-306.htm
6 --
7
8 WTM-Authentication-Operations-asn1-97 
9   {iso standard pss1-authentication (15433) authentication-operations-asn1-97 (1)} 
10  
11 DEFINITIONS EXPLICIT TAGS ::= 
12  
13 BEGIN 
14  
15 IMPORTS  OPERATION, ERROR FROM Remote-Operations-Information-Objects    
16    {joint-iso-itu-t(2) remote-operations(4) informationObjects(5) version1(0)} 
17   EXTENSION, Extension{} FROM Manufacturer-specific-service-extension-class-asn1-97 
18     {iso standard  
19     pss1-generic-procedures (11582) msi-class-asn1-97 (11)} 
20   invalidServedUserNr FROM General-Error-List 
21     {ccitt recommendation q 950 general-error-list (1)} 
22   PartyNumber FROM Addressing-Data-Elements-asn1-97 
23     {iso(1) standard(0) pss1-generic-procedures(11582) 
24    addressing-data-elements-asn1-97(20)}; 
25 WTMAuth-Operations OPERATION ::= {authWtmUser | getWtatParam | wtatParamEnq | getWtanParam |  
26       wtanParamEnq | transferAuthParam} 
27 -- The following three operations shall apply to SS-WTAT -- 
28 authWtmUser   OPERATION ::= {  -- from Home PINX to Visitor PINX-- 
29  ARGUMENT   AuthWtmArg 
30  RESULT    AuthWtmRes 
31   ERRORS    { temporarilyUnavailable | invalidServedUserNr |  
32           notAuthorized | paramNotAvailable | unspecified}  
33   CODE    local : 72} 
34 getWtatParam   OPERATION ::= {  -- from Visitor PINX to Home PINX -- 
35  ARGUMENT  WtatParamArg 
36  RESULT    WtatParamRes 
37   ERRORS    { invalidServedUserNr | notAuthorized | 
38           paramNotAvailable | temporarilyUnavailable | unspecified} 
39   CODE    local : 73} 
40 wtatParamEnq   OPERATION ::= {  -- from Home PINX to Authentication Server PINX-- 
41  ARGUMENT  WtatParamArg 
42  RESULT    WtatParamRes 
43   ERRORS    { invalidServedUserNr | paramNotAvailable | unspecified} 
44   CODE    local : 74} 
45 AuthWtmArg ::=  SEQUENCE    {  
46       wtmUserId    WtmUserId, 
47         calcWtatInfo   [ 1 ] IMPLICIT CalcWtatInfo OPTIONAL, 
48       dummyExtension  DummyExtension OPTIONAL} 
49
50 AuthWtmRes ::=  SEQUENCE    {  
51       autWtmResValue   ENUMERATED    
52               {auth-res-correct (0), 
53               auth-res-incorrect (1) }, 
54       dummyExtension   DummyExtension OPTIONAL} 
55 WtatParamArg ::=  SEQUENCE   {  
56       wtmUserId     WtmUserId,  
57       canCompute   CanCompute OPTIONAL,  
58       authChallenge   AuthChallenge OPTIONAL, 
59       dummyExtension   DummyExtension OPTIONAL} 
60   -- The presence of element canCompute indicates that the Visitor PINX is able to -- 
61   -- compute a challenge and the expected response from session key information -- 
62 WtatParamRes ::=  SEQUENCE   {wtatParamInfo  WtatParamInfo, 
63       dummyExtension   DummyExtension OPTIONAL} 
64 -- The following two operations shall apply to SS-WTAN -- 
65 getWtanParam   OPERATION ::= {   -- from Visitor PINX to Home PINX -- 
66  ARGUMENT  WtanParamArg  
67  RESULT    WtanParamRes  
68   ERRORS    { invalidServedUserNr | notAuthorized |  
69           paramNotAvailable | temporarilyUnavailable | unspecified} 
70   CODE    local : 75} 
71 wtanParamEnq   OPERATION ::= {  -- from Home PINX to Authentication Server PINX-- 
72  ARGUMENT  WtanParamArg  
73  RESULT    WtanParamRes  
74   ERRORS    { invalidServedUserNr | paramNotAvailable | unspecified} 
75   CODE    local : 76} 
76 WtanParamArg ::=  SEQUENCE   { wtmUserId    WtmUserId,  
77       authChallenge   AuthChallenge,  
78       authAlgorithm   AuthAlgorithm,  
79       canCompute   CanCompute OPTIONAL,  
80       dummyExtension   DummyExtension OPTIONAL} 
81   -- The presence of element canCompute indicates that the Visitor PINX is able to -- 
82   -- compute the response from session key information -- 
83 WtmUserId ::=  CHOICE  { pisnNumber  PartyNumber, 
84         -- The PISN number of the WTM user, 
85         -- always a Complete Number.  
86        alternativeId  AlternativeId } 
87 AlternativeId ::=  OCTET STRING(SIZE(1..20)) 
88 WtanParamRes ::=  SEQUENCE   {wtanParamInfo  WtanParamInfo,  
89       dummyExtension   DummyExtension OPTIONAL} 
90
91 -- The following unconfirmed operation shall apply when interaction between SS-WTAT and ANF-WTINFO -- 
92 transferAuthParam    OPERATION ::= {  -- from Home PINX to Visitor PINX -- 
93  ARGUMENT    SEQUENCE { 
94          wtatParamInfo   WtatParamInfo,  
95            dummyExtension  DummyExtension OPTIONAL} 
96  RETURN RESULT   FALSE 
97  ALWAYS RESPONDS  FALSE 
98   CODE      local : 77} 
99 WtatParamInfo ::=  SEQUENCE   {authAlgorithm    AuthAlgorithm,  
100         wtatParamInfoChoice   CHOICE {  
101           authSessionKeyInfo  [ 1 ] IMPLICIT AuthSessionKeyInfo,  
102           calcWtatInfo    [ 2 ] IMPLICIT CalcWtatInfo,  
103           authKey     [ 3 ] IMPLICIT AuthKey,  
104           challLen     [ 4 ] IMPLICIT INTEGER(1..8) } } 
105 AuthKey ::=  OCTET STRING (SIZE(1..16))  -- Authentication key -- 
106 WtanParamInfo ::=  CHOICE   {authSessionKeyInfo  [ 1 ] IMPLICIT AuthSessionKeyInfo,  
107       calcWtanInfo      [ 2 ] IMPLICIT CalcWtanInfo} 
108 AuthSessionKeyInfo ::=  SEQUENCE   {authSessionKey AuthSessionKey,  
109       calculationParam  CalculationParam} 
110 CalcWtatInfo ::=  SEQUENCE SIZE(1..5) OF CalcWtatInfoUnit 
111 CalcWtatInfoUnit ::=  SEQUENCE  {authChallenge  AuthChallenge,  
112       authResponse  AuthResponse,  
113       derivedCipherKey  [1] IMPLICIT DerivedCipherKey OPTIONAL, 
114         calculationParam  [2] IMPLICIT CalculationParam OPTIONAL} 
115         -- included if required by the authentication algorithm in use -- 
116 CalcWtanInfo ::=  SEQUENCE   {authResponse AuthResponse,  
117       calculationParam  CalculationParam OPTIONAL}  
118         -- included if required by the authentication algorithm in use -- 
119 DummyExtension ::=  CHOICE   {extension     [5] IMPLICIT Extension{{WTMAuthExtSet}}, 
120       sequOfExtn   [6] IMPLICIT SEQUENCE OF  
121               Extension{{WTMAuthExtSet}} } 
122 AUTH-ALG    ::= CLASS  { 
123   &id DefinedIDs UNIQUE, 
124  &Type OPTIONAL 
125      } 
126 DefinedIDs ::= INTEGER { ct2 (0), dect (1), gsm (2), pci (3), pwt (4), us-gsm (5), phs (6), tetra (7) } (0..255)  
127 AuthAlgSet AUTH-ALG ::= {...} 
128 AuthAlgorithm ::=        SEQUENCE   { 
129  authAlg  AUTH-ALG.&id({AuthAlgSet}), 
130  param   AUTH-ALG.&Type({AuthAlgSet}{@.authAlg}) OPTIONAL 
131      } 
132 AuthChallenge ::=  OCTET STRING (SIZE(1..8))  -- Randomly generated parameter -- 
133
134 AuthResponse ::=  OCTET STRING (SIZE(1..4))  -- WTAT: Expected response value -- 
135             -- WTAN: Response value from network -- 
136 AuthSessionKey ::=  OCTET STRING (SIZE(1..16))  -- Authentication session key-- 
137 CalculationParam ::=  OCTET STRING (SIZE(1..8))  -- Parameter used when calculating -- 
138             -- the authentication session key from -- 
139             -- the real authentication key. It may be -- 
140             -- transferred to the WTM user during -- 
141             -- both WTAT and WTAN. -- 
142 CanCompute ::=  NULL         -- indicates capability of computing --   
143             -- challenge and/or response value --   
144 DerivedCipherKey ::=  OCTET STRING (SIZE(1..8))  -- derived cipher key may be computed -- 
145             -- when computing challenge and -- 
146          -- expected response values--   
147 WTMAuthExtSet EXTENSION ::= {...} 
148 notAuthorized  ERROR      ::=  {CODE local : 1007 } 
149 paramNotAvailable  ERROR      ::=  {CODE local : 1017 } 
150 temporarilyUnavailable  ERROR      ::=  {CODE local : 1000 } 
151 unspecified ERROR ::={  
152    PARAMETER   Extension{{WTMAuthExtSet}} 
153     CODE    local : 1008} 
154 END  -- of WTM-Authentication-Operations-asn1-97