gcontini
2020-03-15 ef7df8048d1067d3148287f27af9047743f1e2ae
src/library/hw_identifier/hw_identifier_facade.hpp
New file
@@ -0,0 +1,38 @@
/*
 * hw_identifier_facade.hpp
 *
 *  Created on: Dec 26, 2019
 *      Author: devel
 */
#ifndef SRC_LIBRARY_PC_IDENTIFIER_HW_IDENTIFIER_FACADE_HPP_
#define SRC_LIBRARY_PC_IDENTIFIER_HW_IDENTIFIER_FACADE_HPP_
#include "hw_identifier_facade.hpp"
#include <string>
#include <unordered_map>
#include <licensecc/datatypes.h>
#include "identification_strategy.hpp"
namespace license {
namespace hw_identifier {
class HwIdentifierFacade {
private:
   HwIdentifierFacade(){};
   virtual ~HwIdentifierFacade(){};
public:
   static LCC_EVENT_TYPE validate_pc_signature(const std::string& str_code);
   /**
    *
    * @throws logic_error if pc_identifier can't be generated.
    * @param strategy
    * @return
    */
   static std::string generate_user_pc_signature(LCC_API_IDENTIFICATION_STRATEGY strategy);
};
}  // namespace hw_identifier
} /* namespace license */
#endif /* SRC_LIBRARY_PC_IDENTIFIER_HW_IDENTIFIER_FACADE_HPP_ */