bluetoothmgmt/btcommon/inc/BTSec.h
branchRCL_3
changeset 56 015fa7494bd2
parent 0 29b1cd4cb562
equal deleted inserted replaced
49:10183c6d2913 56:015fa7494bd2
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    24 #define BTSEC_H
    24 #define BTSEC_H
    25 
    25 
    26 #include <e32std.h>
    26 #include <e32std.h>
    27 
    27 
    28 const TUint32 KBTManServerSID = 0x100069cc;
    28 const TUint32 KBTManServerSID = 0x100069cc;
       
    29 const TUint32 KSdpServerSID = 0x10009220;
    29 
    30 
    30 _LIT_SECURITY_POLICY_C1(KLOCAL_SERVICES,ECapabilityLocalServices);
    31 _LIT_SECURITY_POLICY_C1(KLOCAL_SERVICES,ECapabilityLocalServices);
    31 _LIT_SECURITY_POLICY_S1(KBTMAN_SID_PROT_SERV,KBTManServerSID,ECapabilityProtServ);
    32 _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_C2(KLOCAL_SERVICES_AND_NETWORK_CONTROL,ECapabilityLocalServices,ECapabilityNetworkControl);
    33 _LIT_SECURITY_POLICY_C1(KNETWORK_CONTROL, ECapabilityNetworkControl);
    34 _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_READ_DEVICE_DATA,ECapabilityLocalServices,ECapabilityReadDeviceData);
    35 _LIT_SECURITY_POLICY_C2(KLOCAL_SERVICES_AND_WRITE_DEVICE_DATA,ECapabilityLocalServices,ECapabilityWriteDeviceData);
    36 _LIT_SECURITY_POLICY_C2(KLOCAL_SERVICES_AND_WRITE_DEVICE_DATA,ECapabilityLocalServices,ECapabilityWriteDeviceData);
       
    37 _LIT_SECURITY_POLICY_S1(KSDP_SID_PROT_SERV, KSdpServerSID,ECapabilityProtServ);
    36 
    38 
    37 _LIT_SECURITY_POLICY_C1(KCOMMDD,ECapabilityCommDD);
    39 _LIT_SECURITY_POLICY_C1(KCOMMDD,ECapabilityCommDD);
    38 
    40 
    39 _LIT(KSECURITY_PANIC,"BT Security Checker invalid");
    41 _LIT(KSECURITY_PANIC,"BT Security Checker invalid");
    40 
    42