summaryrefslogtreecommitdiff
path: root/idl/parlay/fw_if_access.idl
blob: b50ea0647c109ae73988ace4c8fbbceb88bac650 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
//Source file: fw_if_access.idl
//Date:  13 October 2004
//Framework Access Interfaces for ES 203 915-03 V1.1.1, DES/TISPAN-01005-03-OSA, Parlay 5.0

#ifndef __FW_IF_ACCESS_DEFINED
#define __FW_IF_ACCESS_DEFINED


#include "osa.idl"
#include "fw_data.idl"

module org {
	
	module csapi {
		
		module fw {
			
			module fw_access {
				
				
				module trust_and_security {
					
					
					interface IpInitial : IpInterface {
						TpAuthDomain initiateAuthentication (
							in TpAuthDomain clientDomain,	
							in TpAuthType authType	
							)							
							raises (TpCommonExceptions,P_INVALID_DOMAIN_ID,P_INVALID_INTERFACE_TYPE,P_INVALID_AUTH_TYPE);
							
						TpAuthDomain initiateAuthenticationWithVersion (
							in TpAuthDomain clientDomain,	
							in TpAuthType authType,	
							in TpVersion frameworkVersion	
							)							
							raises (TpCommonExceptions,P_INVALID_DOMAIN_ID,P_INVALID_INTERFACE_TYPE,P_INVALID_AUTH_TYPE,P_INVALID_VERSION);
							
					};
					
					
					interface IpAuthentication : IpInterface {
						IpInterface requestAccess (
							in TpAccessType accessType,	
							in IpInterface clientAccessInterface	
							)							
							raises (TpCommonExceptions,P_ACCESS_DENIED,P_INVALID_ACCESS_TYPE,P_INVALID_INTERFACE_TYPE);
							
					};
					
					
					interface IpClientAccess : IpInterface {
						void terminateAccess (
							in TpString terminationText,	
							in TpSigningAlgorithm signingAlgorithm,	
							in TpOctetSet digitalSignature	
							)							
							raises (TpCommonExceptions,P_INVALID_SIGNING_ALGORITHM,P_INVALID_SIGNATURE);
							
					};
					
					
					interface IpAccess : IpInterface {
						IpInterface obtainInterface (
							in TpInterfaceName interfaceName	
							)							
							raises (TpCommonExceptions,P_ACCESS_DENIED,P_INVALID_INTERFACE_NAME);
							
						IpInterface obtainInterfaceWithCallback (
							in TpInterfaceName interfaceName,	
							in IpInterface clientInterface	
							)							
							raises (TpCommonExceptions,P_ACCESS_DENIED,P_INVALID_INTERFACE_NAME,P_INVALID_INTERFACE_TYPE);
							
						void endAccess (
							in TpEndAccessProperties endAccessProperties	
							)							
							raises (TpCommonExceptions,P_ACCESS_DENIED,P_INVALID_PROPERTY);
							
						TpInterfaceNameList listInterfaces ()							
							raises (TpCommonExceptions,P_ACCESS_DENIED);
							
						void releaseInterface (
							in TpInterfaceName interfaceName	
							)							
							raises (TpCommonExceptions,P_ACCESS_DENIED,P_INVALID_INTERFACE_NAME);
							
						TpSigningAlgorithm selectSigningAlgorithm (
							in TpSigningAlgorithmCapabilityList signingAlgorithmCaps	
							)							
							raises (TpCommonExceptions,P_ACCESS_DENIED,P_NO_ACCEPTABLE_SIGNING_ALGORITHM);
							
						void terminateAccess (
							in TpString terminationText,	
							in TpOctetSet digitalSignature	
							)							
							raises (TpCommonExceptions,P_INVALID_SIGNATURE);
							
						void relinquishInterface (
							in TpInterfaceName interfaceName,	
							in TpString terminationText,	
							in TpOctetSet digitalSignature	
							)							
							raises (TpCommonExceptions,P_INVALID_SIGNATURE,P_INVALID_INTERFACE_NAME);
							
					};
					
					
					interface IpClientAPILevelAuthentication : IpInterface {
						TpOctetSet authenticate (
							in TpOctetSet challenge	
							);
							
						void abortAuthentication ();
							
						void authenticationSucceeded ();
							
						TpOctetSet challenge (
							in TpOctetSet challenge	
							);
							
					};
					
					
					interface IpAPILevelAuthentication : IpAuthentication {
						TpEncryptionCapability selectEncryptionMethod (
							in TpEncryptionCapabilityList encryptionCaps	
							)							
							raises (TpCommonExceptions,P_ACCESS_DENIED,P_NO_ACCEPTABLE_ENCRYPTION_CAPABILITY);
							
						TpOctetSet authenticate (
							in TpOctetSet challenge	
							)							
							raises (TpCommonExceptions,P_ACCESS_DENIED);
							
						void abortAuthentication ()							
							raises (TpCommonExceptions,P_ACCESS_DENIED);
							
						void authenticationSucceeded ()							
							raises (TpCommonExceptions,P_ACCESS_DENIED);
							
						TpAuthMechanism selectAuthenticationMechanism (
							in TpAuthMechanismList authMechanismList	
							)							
							raises (TpCommonExceptions,P_ACCESS_DENIED,P_NO_ACCEPTABLE_AUTHENTICATION_MECHANISM);
							
						TpOctetSet challenge (
							in TpOctetSet challenge	
							)							
							raises (TpCommonExceptions,P_ACCESS_DENIED);
							
					};
					
				};
				
			};
			
			
		};
		
	};
	
};

#endif