License API.
More...
#include <dface_accredit.h>
|
| DfaceAccredit () |
|
virtual | ~DfaceAccredit () |
|
virtual int | login ()=0 |
|
virtual int | updateOnline (char *authCode)=0 |
|
virtual int | updateOfline (char *acFilePath)=0 |
|
virtual int | logout ()=0 |
|
virtual int | getDeviceFingerPrint (const char *authCode, char *fingerPrintInfo, unsigned int *fingerPrintSize)=0 |
|
virtual int | setRootPath (char *path)=0 |
|
virtual int | getVersion ()=0 |
|
virtual int | remove (const char *authCode)=0 |
|
virtual int | setLocalServer (const char *hostName, uint32_t port, uint32_t timeoutSeconds)=0 |
|
virtual int | setProxy (const char *hostName, uint32_t port, const char *userId, const char *password)=0 |
|
virtual int | revokeOnline (const char *authCode)=0 |
|
virtual int | revokeOffline (const char *authCode, char *revocationInfo, unsigned int *revocationInfoSize)=0 |
|
virtual int | getInfo (const char *authCode, int type, char *pInfo, uint32_t *pInfoSize)=0 |
|
DfaceAccredit::DfaceAccredit |
( |
| ) |
|
|
inline |
virtual DfaceAccredit::~DfaceAccredit |
( |
| ) |
|
|
inlinevirtual |
virtual int DfaceAccredit::getDeviceFingerPrint |
( |
const char * |
authCode, |
|
|
char * |
fingerPrintInfo, |
|
|
unsigned int * |
fingerPrintSize |
|
) |
| |
|
pure virtual |
Get device fingerPrint information
- Parameters
-
[in] | authCode | Activation code |
[out] | fingerPrintInfo | Output fingerPrint information |
[out] | fingerPrintSize | Output fingerPrint information size |
- Returns
- 0:success, other:Error Code
virtual int DfaceAccredit::getInfo |
( |
const char * |
authCode, |
|
|
int |
type, |
|
|
char * |
pInfo, |
|
|
uint32_t * |
pInfoSize |
|
) |
| |
|
pure virtual |
get license information
- Parameters
-
- See also
- LICENSE_INFO_TYPE enum(INFO_SN, INFO_SN_FEATURE, INFO_SN_LICENSE)
- Parameters
-
[out] | pInfo,information,xml | format |
[out] | pInfoSize,information | byte size |
- Returns
- 0:success, other:Error Code
virtual int DfaceAccredit::getVersion |
( |
| ) |
|
|
pure virtual |
License tool version
- Returns
- : version number
virtual int DfaceAccredit::login |
( |
| ) |
|
|
pure virtual |
License tool login
- Returns
- 0:success other:Error Code
virtual int DfaceAccredit::logout |
( |
| ) |
|
|
pure virtual |
License tool logout
- Returns
- 0:success, other:Error Code
virtual int DfaceAccredit::remove |
( |
const char * |
authCode | ) |
|
|
pure virtual |
Remove license
- Parameters
-
- Returns
- 0:success, other:Error Code
virtual int DfaceAccredit::revokeOffline |
( |
const char * |
authCode, |
|
|
char * |
revocationInfo, |
|
|
unsigned int * |
revocationInfoSize |
|
) |
| |
|
pure virtual |
Revoke license offline
- Parameters
-
[in] | authCode | Activation code |
[out] | revocationInfo | out revoke request information |
[out] | revocationInfoSize | out revoke request information size |
- Returns
- 0:success, other:Error Code
virtual int DfaceAccredit::revokeOnline |
( |
const char * |
authCode | ) |
|
|
pure virtual |
Revoke license online
- Parameters
-
[in] | authCode | Activation code |
- Returns
- 0:success, other:Error Code
virtual int DfaceAccredit::setLocalServer |
( |
const char * |
hostName, |
|
|
uint32_t |
port, |
|
|
uint32_t |
timeoutSeconds |
|
) |
| |
|
pure virtual |
Set group authorize server IP:port
- Parameters
-
hostName | ip |
port | port |
timeoutSeconds | timeout sseconds |
- Returns
- 0:success, other:Error Code
virtual int DfaceAccredit::setProxy |
( |
const char * |
hostName, |
|
|
uint32_t |
port, |
|
|
const char * |
userId, |
|
|
const char * |
password |
|
) |
| |
|
pure virtual |
Set Proxy server IP:port
- Parameters
-
hostName | ip |
port | port |
userId | Proxy user id |
password | Proxy user password |
- Returns
- 0:success, other:Error Code
virtual int DfaceAccredit::setRootPath |
( |
char * |
path | ) |
|
|
pure virtual |
Set environment root path
- Parameters
-
- Returns
- 0:success, other:Error Code
virtual int DfaceAccredit::updateOfline |
( |
char * |
acFilePath | ) |
|
|
pure virtual |
OffLine license authorize
- Parameters
-
[in] | acFilePath | license authorize file path |
- Returns
- 0:success, other:Error Code
virtual int DfaceAccredit::updateOnline |
( |
char * |
authCode | ) |
|
|
pure virtual |
Online license authorize
- Parameters
-
[in] | authCode | license authorize code |
- Returns
- 0:success, other:Error Code
The documentation for this class was generated from the following file: