1 //******************************************************************
3 // Copyright 2014 Intel Corporation All Rights Reserved.
4 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
6 /// @file OCSecurityModel.h
8 /// @brief This file contains the declaration of classes and its members required to provide
9 /// security model support.
11 #ifndef __OCSECURITYMODEL_H
12 #define __OCSECURITYMODEL_H
19 * @brief This class provides the required security model to
20 * access a service or a particular resource.
25 OCSecurityModel(void);
27 virtual ~OCSecurityModel(void);
30 * @fn checks the security access
32 * @param sourceURI - source URI
33 * @param destinationURI - destination URI of the resoruce to access
34 * @param encryptionLevel - Encryption level
35 * @param remoteIdentity - remote identity
37 void checkAccess(URI sourceURI, URI destinationURI, int encryptionLevel, int remoteIdentity);
41 #endif //__OCSECURITYMODEL_H