terminalsecurity/SCP/SCPServer/inc/SCPServer.h
changeset 24 bf47f3b79154
parent 4 958eca8527dd
child 66 08c8318ec9cb
child 72 8ee66fcd0a7c
--- a/terminalsecurity/SCP/SCPServer/inc/SCPServer.h	Fri Apr 16 15:52:47 2010 +0300
+++ b/terminalsecurity/SCP/SCPServer/inc/SCPServer.h	Mon May 03 13:19:46 2010 +0300
@@ -92,6 +92,7 @@
 _LIT8( KCodePolicyTypeId, "http://www.w3.org/2001/XMLSchema#string" );
 
 // Allowed SIDs for the functions
+const TUint32 KSCPSTIF( 0x102073E4 ); // STIF exe
 const TUint32 KSCPServerSIDTelephone( 0x100058B3 ); // Terminal Control Server
 const TUint32 KSCPServerSIDLog( 0x101f4cd5 ); // Terminal Control Server
 const TUint32 KSCPServerSIDTerminalControl( 0x10207825 ); // Terminal Control Server
@@ -178,7 +179,7 @@
         {
         _INIT_SECURITY_POLICY_C1( ECapability_None ),
             CPolicyServer::EFailClient        
-        }                          
+        }
     };
 #endif // SCP_ENFORCE_SECURITY
 
@@ -494,6 +495,11 @@
 		* This method is called to remove the parameters set by the application(s) provided as arguments.
 		*/
         TInt PerformCleanupL( HBufC8* aAppIDBuffer, RArray<const TParamChange>& aChangeArray, RPointerArray<HBufC8>& aParamValArray );
+        
+        /**
+        * This method returns the values for the policies maintained at the server
+        */
+        void GetPoliciesL(HBufC8* aAppIDBuffer, TUint32 aCallerIdentity);
 //#endif //  __SAP_DEVICE_LOCK_ENHANCEMENTS 
         
         // Methods from base classes
@@ -515,6 +521,8 @@
         * @param aParam The parameter passed to the timer object
         */        
         void Timeout( TAny* aParam );
+		
+        TInt ValidateLockcodeAgainstPoliciesL(TDes& aLockcode,CSCPParamObject*& aRetParams);
         
     private: //Methods