equal
deleted
inserted
replaced
|
1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Bluetooth security component |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalComponent |
|
21 */ |
|
22 |
|
23 #ifndef BTSEC_H |
|
24 #define BTSEC_H |
|
25 |
|
26 #include <e32std.h> |
|
27 |
|
28 const TUint32 KBTManServerSID = 0x100069cc; |
|
29 |
|
30 _LIT_SECURITY_POLICY_C1(KLOCAL_SERVICES,ECapabilityLocalServices); |
|
31 _LIT_SECURITY_POLICY_S1(KBTMAN_SID_PROT_SERV,KBTManServerSID,ECapabilityProtServ); |
|
32 _LIT_SECURITY_POLICY_C2(KLOCAL_SERVICES_AND_NETWORK_CONTROL,ECapabilityLocalServices,ECapabilityNetworkControl); |
|
33 _LIT_SECURITY_POLICY_C1(KNETWORK_CONTROL, ECapabilityNetworkControl); |
|
34 _LIT_SECURITY_POLICY_C2(KLOCAL_SERVICES_AND_READ_DEVICE_DATA,ECapabilityLocalServices,ECapabilityReadDeviceData); |
|
35 _LIT_SECURITY_POLICY_C2(KLOCAL_SERVICES_AND_WRITE_DEVICE_DATA,ECapabilityLocalServices,ECapabilityWriteDeviceData); |
|
36 |
|
37 _LIT_SECURITY_POLICY_C1(KCOMMDD,ECapabilityCommDD); |
|
38 |
|
39 _LIT(KSECURITY_PANIC,"BT Security Checker invalid"); |
|
40 |
|
41 enum TSecurityPanics |
|
42 { |
|
43 EBTPanicNullSecurityChecker |
|
44 }; |
|
45 |
|
46 |
|
47 #endif //BTSEC_H |