ImagingTools Core SDK
IKeyRing.h
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ImtCore-Commercial
2#pragma once
3
4
5// ACF includes
6#include <istd/IChangeable.h>
7
8
9namespace imtlic
10{
11
16class IKeyRing: virtual public istd::IChangeable
17{
18public:
19
20 virtual QByteArray GetKey(const QByteArray& keyId) const = 0;
21 virtual bool InsertKey(const QByteArray& keyId, const QByteArray& key) = 0;
22
26 virtual QByteArray SelectKeyFor(const QByteArray& licenseId = QByteArray()) = 0;
27 virtual QByteArray SelectKeyFor(const QString& licenseFile) = 0;
28};
29
30
31} // namespace imtlic
32
33
virtual QByteArray SelectKeyFor(const QByteArray &licenseId=QByteArray())=0
Core licensing domain model providing feature-based product licensing and instance management.