5 #ifndef DFACE_ACCREDIT_H 6 #define DFACE_ACCREDIT_H 30 virtual int login() = 0;
37 virtual int updateOnline(
char *authCode) = 0;
44 virtual int updateOfline(
char* acFilePath) = 0;
50 virtual int logout() = 0;
59 virtual int getDeviceFingerPrint(
const char* authCode,
char* fingerPrintInfo,
unsigned int *fingerPrintSize) = 0;
66 virtual int setRootPath(
char* path) = 0;
72 virtual int getVersion() = 0;
79 virtual int remove(
const char* authCode) = 0;
89 virtual int setLocalServer(
const char* hostName, uint32_t port, uint32_t timeoutSeconds) = 0;
100 virtual int setProxy(
const char* hostName, uint32_t port,
const char* userId,
const char* password) = 0;
108 virtual int revokeOnline(
const char *authCode) = 0;
118 virtual int revokeOffline(
const char *authCode,
char *revocationInfo,
unsigned int *revocationInfoSize) = 0;
129 virtual int getInfo(
const char *authCode,
int type,
char *pInfo, uint32_t *pInfoSize) = 0;
145 #endif //DFACE_ACCREDIT_H DfaceAccredit * CreateAccredit()
Definition: dface_accredit.h:136
virtual ~DfaceAccredit()
Definition: dface_accredit.h:24
License API.
Definition: dface_accredit.h:14
void DestroyAccredit(DfaceAccredit *dc)
Definition: dface_accredit.h:142
#define DFACE_EXPORTS
Definition: common.h:19
DfaceAccredit()
Definition: dface_accredit.h:19