FaceLicense.checkLicenseWithCard Method¶
Module: FaceLicense
Definition¶
Checks the license by using a card-based verification process.
It takes the path to the license file and outputs a challenge response for further verification.
@staticmethod
check_license_with_card(license_path: str) -> bytearray
Parameters
license_pathstrin The file path to the license that needs to be checked.
Returns
bytearrayAn array to hold the challenge response generated by the host.This 16-byte array is used in the license verification process.
Exceptions
An error has occurred during Face Library execution.
static Uint8List checkLicenseWithCard(String? licensePath)
Parameters
licensePathStringin The file path to the license that needs to be checked.
Returns
Uint8ListAn array to hold the challenge response generated by the host.This 16-byte array is used in the license verification process.
Exceptions
An error has occurred during Face Library execution.
public static byte[] CheckLicenseWithCard(string licensePath)
Parameters
licensePathstringin The file path to the license that needs to be checked.
Returns
byte[]An array to hold the challenge response generated by the host.This 16-byte array is used in the license verification process.
Exceptions
An error has occurred during Face Library execution.
public static byte[] checkLicenseWithCard(String licensePath) throws FaceException
Parameters
licensePathStringin The file path to the license that needs to be checked.
Returns
byte[]An array to hold the challenge response generated by the host.This 16-byte array is used in the license verification process.
Exceptions
An error has occurred during Face Library execution.
public static func checkLicenseWithCard(licensePath: String) throws -> [UInt8]
Parameters
licensePathStringin The file path to the license that needs to be checked.
Returns
[UInt8]An array to hold the challenge response generated by the host.This 16-byte array is used in the license verification process.
Exceptions
An error has occurred during Face Library execution.
int id3FaceLicense_CheckLicenseWithCard (
const char * licensePath,
unsigned char * challengeR1,
int * challengeR1Size)
Parameters
licensePathconst char *in The file path to the license that needs to be checked.challengeR1unsigned char *out An array to hold the challenge response generated by the host.challengeR1Sizeint *in Size of the ‘challengeR1’ buffer. Receives the number of elements in the ‘challengeR1’ array.
Returns