//
-// Open Service Platform
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the License);
namespace Tizen { namespace Security
{
+class ISecretKey;
+
/**
* @class _PrivilegeInfo
* @brief This class provides a basic information of privilege manager.
result VerifyIntegrity(const Tizen::App::AppId& appId, const byte* targetBitwisePrivilege, const Tizen::Base::String& storedChecksum, int length, int visibility, const Tizen::Base::String& storedVisibilityChecksum);
result VerifyIntegrityEx(const Tizen::App::AppId& appId, const byte* targetBitwisePrivilege, const Tizen::Base::String& storedChecksum, int length);
+ static int GetPrivilegeLevel(const Tizen::Base::String& privilegeLevel);
+ static ISecretKey* GetDeviceUniqueKeyN(void);
+
_PrivilegeInfo(const _PrivilegeInfo& rhs);
_PrivilegeInfo& operator =(const _PrivilegeInfo& rhs);
int __apiVisibility;
byte __bitwisePrivilege[MAX_BITWISE_PRIV_SIZE];
int __bitwiseLength;
- Tizen::Base::Collection::ArrayList __privilegeList;
+ Tizen::Base::Collection::HashMap __privilegeList;
}; // _PrivilegeInfo