1 //Source file: fw_if_access.idl
2 //Date: 13 October 2004
3 //Framework Access Interfaces for ES 203 915-03 V1.1.1, DES/TISPAN-01005-03-OSA, Parlay 5.0
5 #ifndef __FW_IF_ACCESS_DEFINED
6 #define __FW_IF_ACCESS_DEFINED
10 #include
"fw_data.idl"
21 module trust_and_security
{
24 interface IpInitial
: IpInterface
{
25 TpAuthDomain initiateAuthentication
(
26 in TpAuthDomain clientDomain
,
27 in TpAuthType authType
29 raises
(TpCommonExceptions
,P_INVALID_DOMAIN_ID
,P_INVALID_INTERFACE_TYPE
,P_INVALID_AUTH_TYPE
);
31 TpAuthDomain initiateAuthenticationWithVersion
(
32 in TpAuthDomain clientDomain
,
33 in TpAuthType authType
,
34 in TpVersion frameworkVersion
36 raises
(TpCommonExceptions
,P_INVALID_DOMAIN_ID
,P_INVALID_INTERFACE_TYPE
,P_INVALID_AUTH_TYPE
,P_INVALID_VERSION
);
41 interface IpAuthentication
: IpInterface
{
42 IpInterface requestAccess
(
43 in TpAccessType accessType
,
44 in IpInterface clientAccessInterface
46 raises
(TpCommonExceptions
,P_ACCESS_DENIED
,P_INVALID_ACCESS_TYPE
,P_INVALID_INTERFACE_TYPE
);
51 interface IpClientAccess
: IpInterface
{
52 void terminateAccess
(
53 in TpString terminationText
,
54 in TpSigningAlgorithm signingAlgorithm
,
55 in TpOctetSet digitalSignature
57 raises
(TpCommonExceptions
,P_INVALID_SIGNING_ALGORITHM
,P_INVALID_SIGNATURE
);
62 interface IpAccess
: IpInterface
{
63 IpInterface obtainInterface
(
64 in TpInterfaceName interfaceName
66 raises
(TpCommonExceptions
,P_ACCESS_DENIED
,P_INVALID_INTERFACE_NAME
);
68 IpInterface obtainInterfaceWithCallback
(
69 in TpInterfaceName interfaceName
,
70 in IpInterface clientInterface
72 raises
(TpCommonExceptions
,P_ACCESS_DENIED
,P_INVALID_INTERFACE_NAME
,P_INVALID_INTERFACE_TYPE
);
75 in TpEndAccessProperties endAccessProperties
77 raises
(TpCommonExceptions
,P_ACCESS_DENIED
,P_INVALID_PROPERTY
);
79 TpInterfaceNameList listInterfaces
()
80 raises
(TpCommonExceptions
,P_ACCESS_DENIED
);
82 void releaseInterface
(
83 in TpInterfaceName interfaceName
85 raises
(TpCommonExceptions
,P_ACCESS_DENIED
,P_INVALID_INTERFACE_NAME
);
87 TpSigningAlgorithm selectSigningAlgorithm
(
88 in TpSigningAlgorithmCapabilityList signingAlgorithmCaps
90 raises
(TpCommonExceptions
,P_ACCESS_DENIED
,P_NO_ACCEPTABLE_SIGNING_ALGORITHM
);
92 void terminateAccess
(
93 in TpString terminationText
,
94 in TpOctetSet digitalSignature
96 raises
(TpCommonExceptions
,P_INVALID_SIGNATURE
);
98 void relinquishInterface
(
99 in TpInterfaceName interfaceName
,
100 in TpString terminationText
,
101 in TpOctetSet digitalSignature
103 raises
(TpCommonExceptions
,P_INVALID_SIGNATURE
,P_INVALID_INTERFACE_NAME
);
108 interface IpClientAPILevelAuthentication
: IpInterface
{
109 TpOctetSet authenticate
(
110 in TpOctetSet challenge
113 void abortAuthentication
();
115 void authenticationSucceeded
();
117 TpOctetSet challenge
(
118 in TpOctetSet challenge
124 interface IpAPILevelAuthentication
: IpAuthentication
{
125 TpEncryptionCapability selectEncryptionMethod
(
126 in TpEncryptionCapabilityList encryptionCaps
128 raises
(TpCommonExceptions
,P_ACCESS_DENIED
,P_NO_ACCEPTABLE_ENCRYPTION_CAPABILITY
);
130 TpOctetSet authenticate
(
131 in TpOctetSet challenge
133 raises
(TpCommonExceptions
,P_ACCESS_DENIED
);
135 void abortAuthentication
()
136 raises
(TpCommonExceptions
,P_ACCESS_DENIED
);
138 void authenticationSucceeded
()
139 raises
(TpCommonExceptions
,P_ACCESS_DENIED
);
141 TpAuthMechanism selectAuthenticationMechanism
(
142 in TpAuthMechanismList authMechanismList
144 raises
(TpCommonExceptions
,P_ACCESS_DENIED
,P_NO_ACCEPTABLE_AUTHENTICATION_MECHANISM
);
146 TpOctetSet challenge
(
147 in TpOctetSet challenge
149 raises
(TpCommonExceptions
,P_ACCESS_DENIED
);