1#ifndef TENDUKE_EE_LICENSING_LICENSETOKENUTILS_H
2#define TENDUKE_EE_LICENSING_LICENSETOKENUTILS_H
5#include "crypto/PublicKey.h"
12namespace tenduke {
namespace ee {
namespace licensing {
39 virtual std::string
serialize(
const std::vector<tenduke::ee::licensing::Lease> &leases)
const = 0;
46 virtual std::string
serialize(
const std::map<std::string, tenduke::ee::licensing::Lease> &leases)
const = 0;
53 virtual std::vector<tenduke::ee::licensing::Lease>
deserialize(
const std::string &serializedLeases)
const = 0;
Service for managing licenses tokens.
Definition LicenseTokens.h:18
virtual std::string serialize(const std::vector< tenduke::ee::licensing::Lease > &leases) const =0
Serializes given leases to a JSON-string.
virtual std::string serialize(const std::map< std::string, tenduke::ee::licensing::Lease > &leases) const =0
Serializes given leases in map to a JSON-string.
virtual std::vector< tenduke::ee::licensing::Lease > deserialize(const std::string &serializedLeases) const =0
De-serializes given JSON string into leases.
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4