DevicesLicense.checkLicenseBufferWithCard Method¶
Module: DevicesLicense
Definition¶
Checks the license using a buffer containing the license data and a card-based verification process.
It outputs a challenge response for further verification.
@staticmethod
check_license_buffer_with_card(license_data: bytearray) -> bytearray
Parameters
license_data
bytearrayin A buffer containing the license file data.
Returns
bytearray
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 Devices Library execution.
static Uint8List checkLicenseBufferWithCard(Uint8List? licenseData)
Parameters
licenseData
Uint8Listin A buffer containing the license file data.
Returns
Uint8List
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 Devices Library execution.
public static byte[] CheckLicenseBufferWithCard(byte[] licenseData)
Parameters
licenseData
byte[]in A buffer containing the license file data.
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 Devices Library execution.
public static byte[] checkLicenseBufferWithCard(byte[] licenseData) throws DevicesException
Parameters
licenseData
byte[]in A buffer containing the license file data.
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 Devices Library execution.
int id3DevicesLicense_CheckLicenseBufferWithCard (
unsigned char * licenseData,
int licenseDataSize,
unsigned char * challengeR1,
int * challengeR1Size)
Parameters
licenseData
unsigned char *in A buffer containing the license file data.licenseDataSize
intin Size of the ‘licenseData’ buffer.challengeR1
unsigned char *out An array to hold the challenge response generated by the host.challengeR1Size
int *in Size of the ‘challengeR1’ buffer. Receives the number of elements in the ‘challengeR1’ array.
Returns