LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
license_checker_service.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <logicalaccess/lla_core_api.hpp>
5
6namespace logicalaccess
7{
19{
20 public:
23 {
24 }
25
26 virtual ~LicenseCheckerService() = default;
27
47 virtual void writeLicenseKey(const KeyStoragePtr &storage_info, const KeyPtr &key,
48 KeyPtr oldKey = nullptr) = 0;
49
62 virtual bool validateLicenseKey(const KeyStoragePtr &storage_info,
63 const KeyPtr &key) = 0;
64};
65}
Definition: license_checker_service.hpp:19
LicenseCheckerService(ReaderUnitPtr ru)
Definition: license_checker_service.hpp:21
virtual ~LicenseCheckerService()=default
virtual bool validateLicenseKey(const KeyStoragePtr &storage_info, const KeyPtr &key)=0
virtual void writeLicenseKey(const KeyStoragePtr &storage_info, const KeyPtr &key, KeyPtr oldKey=nullptr)=0
Definition: reader_service.hpp:24
Definition: asn1.hpp:9
std::shared_ptr< ReaderUnit > ReaderUnitPtr
Definition: lla_fwd.hpp:33
@ RST_LICENSE_CHECKER
Definition: reader_service.hpp:14
std::shared_ptr< Key > KeyPtr
Definition: lla_fwd.hpp:55
std::shared_ptr< KeyStorage > KeyStoragePtr
Definition: lla_fwd.hpp:61