bluetoothcommsprofiles/btpan/panagt/panagtpolicy.h
changeset 0 29b1cd4cb562
equal deleted inserted replaced
-1:000000000000 0:29b1cd4cb562
       
     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 // Policy on requiring encryption/authorisation for connections
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @note "Policy" type constants for PAN agent
       
    21  @internalComponent
       
    22 */
       
    23 
       
    24 #ifndef PANAGTPOLICY_H
       
    25 #define PANAGTPOLICY_H
       
    26 
       
    27 namespace PanAgent
       
    28 /**
       
    29 @internalComponent
       
    30 @released
       
    31 @since v8.1
       
    32 */
       
    33 {
       
    34 	
       
    35 // for incoming connections
       
    36 const TBool KPanIncomingEncryptionRequired = ETrue;
       
    37 const TBool KPanIncomingAuthorisationRequired = ETrue;
       
    38 const TBool KPanIncomingAuthenticationRequired = ETrue; // note: needs to be considered in light of SSP.
       
    39 
       
    40 // for outgoing connections
       
    41 const TBool KPanOutgoingEncryptionRequired = ETrue;
       
    42 const TBool KPanOutgoingAuthorisationRequired = EFalse;
       
    43 const TBool KPanOutgoignAuthenticationRequired = ETrue; // note: needs to be considered in light of SSP.
       
    44 
       
    45 } // PanAgent
       
    46 
       
    47 #endif // PANAGTPOLICY_H