diff -r 000000000000 -r 29b1cd4cb562 bluetoothmgmt/btcommon/inc/BTSec.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bluetoothmgmt/btcommon/inc/BTSec.h Fri Jan 15 08:13:17 2010 +0200 @@ -0,0 +1,47 @@ +// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// Bluetooth security component +// +// + +/** + @file + @internalComponent +*/ + +#ifndef BTSEC_H +#define BTSEC_H + +#include + +const TUint32 KBTManServerSID = 0x100069cc; + +_LIT_SECURITY_POLICY_C1(KLOCAL_SERVICES,ECapabilityLocalServices); +_LIT_SECURITY_POLICY_S1(KBTMAN_SID_PROT_SERV,KBTManServerSID,ECapabilityProtServ); +_LIT_SECURITY_POLICY_C2(KLOCAL_SERVICES_AND_NETWORK_CONTROL,ECapabilityLocalServices,ECapabilityNetworkControl); +_LIT_SECURITY_POLICY_C1(KNETWORK_CONTROL, ECapabilityNetworkControl); +_LIT_SECURITY_POLICY_C2(KLOCAL_SERVICES_AND_READ_DEVICE_DATA,ECapabilityLocalServices,ECapabilityReadDeviceData); +_LIT_SECURITY_POLICY_C2(KLOCAL_SERVICES_AND_WRITE_DEVICE_DATA,ECapabilityLocalServices,ECapabilityWriteDeviceData); + +_LIT_SECURITY_POLICY_C1(KCOMMDD,ECapabilityCommDD); + +_LIT(KSECURITY_PANIC,"BT Security Checker invalid"); + +enum TSecurityPanics + { + EBTPanicNullSecurityChecker + }; + + +#endif //BTSEC_H