10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
tenduke::ee::licensing::LicensingConfiguration Class Reference

#include <LicensingConfiguration.h>

Detailed Description

10Duke licensing configuration.

Public Member Functions

 LicensingConfiguration (std::string endpoint, ::tenduke::ee::ClientProperties clientProperties, std::shared_ptr< const tenduke::crypto::PublicKey > verificationKey, tenduke::crypto::MessageDigest::Algorithm algorithm)
 Constructs new instance.
 
tenduke::crypto::MessageDigest::Algorithm getAlgorithm () const
 Returns the cryptographical algorithm for verifying responses.
 
const std::string & getEndpoint () const
 Returns URL of 10Duke licensing API.
 
const ::tenduke::ee::ClientPropertiesgetClientProperties () const
 Returns client properties.
 
std::shared_ptr< const tenduke::crypto::PublicKeygetVerificationKey () const
 Returns cryptographical key for verifying responses.
 

Constructor & Destructor Documentation

◆ LicensingConfiguration()

tenduke::ee::licensing::LicensingConfiguration::LicensingConfiguration ( std::string  endpoint,
::tenduke::ee::ClientProperties  clientProperties,
std::shared_ptr< const tenduke::crypto::PublicKey verificationKey,
tenduke::crypto::MessageDigest::Algorithm  algorithm 
)
inline

Constructs new instance.

Parameters
endpointURL of 10Duke licensing API
clientPropertiesclient properties
verificationKeycryptographical key used to verify responses
algorithmcryptographical algorithm used to verify responses

Member Function Documentation

◆ getAlgorithm()

tenduke::crypto::MessageDigest::Algorithm tenduke::ee::licensing::LicensingConfiguration::getAlgorithm ( ) const
inline

Returns the cryptographical algorithm for verifying responses.

Returns
-

◆ getClientProperties()

const ::tenduke::ee::ClientProperties & tenduke::ee::licensing::LicensingConfiguration::getClientProperties ( ) const
inline

Returns client properties.

Returns
-

◆ getEndpoint()

const std::string & tenduke::ee::licensing::LicensingConfiguration::getEndpoint ( ) const
inline

Returns URL of 10Duke licensing API.

Returns
-

◆ getVerificationKey()

std::shared_ptr< const tenduke::crypto::PublicKey > tenduke::ee::licensing::LicensingConfiguration::getVerificationKey ( ) const
inline

Returns cryptographical key for verifying responses.

Returns
-

The documentation for this class was generated from the following file: