gcontini
2020-01-09 b6277b30756c96404bc747f32ae45e9d3e205447
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * pc_identifier_facade.hpp
 *
 *  Created on: Dec 26, 2019
 *      Author: devel
 */
 
#ifndef SRC_LIBRARY_PC_IDENTIFIER_PC_IDENTIFIER_FACADE_HPP_
#define SRC_LIBRARY_PC_IDENTIFIER_PC_IDENTIFIER_FACADE_HPP_
#include <string>
#include <licensecc/datatypes.h>
 
namespace license {
class PcIdentifierFacade {
private:
    PcIdentifierFacade(){};
    virtual ~PcIdentifierFacade(){};
public:
    static EVENT_TYPE validate_pc_signature(const std::string& str_code);
    static std::string generate_user_pc_signature(IDENTIFICATION_STRATEGY strategy);
};
 
} /* namespace license */
 
#endif /* SRC_LIBRARY_PC_IDENTIFIER_PC_IDENTIFIER_FACADE_HPP_ */