DocumentLicense.checkLicenseBufferWithCard Method¶
Module: DocumentLicense
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_databytearrayin A buffer containing the license file data.
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 Document Library execution.
static Uint8List checkLicenseBufferWithCard(Uint8List? licenseData)
Parameters
licenseDataUint8Listin A buffer containing the license file data.
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 Document Library execution.
public static byte[] CheckLicenseBufferWithCard(byte[] licenseData)
Parameters
licenseDatabyte[]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 Document Library execution.
public static byte[] checkLicenseBufferWithCard(byte[] licenseData) throws DocumentException
Parameters
licenseDatabyte[]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 Document Library execution.
public static func checkLicenseBufferWithCard(licenseData: [UInt8]) throws -> [UInt8]
Parameters
licenseData[UInt8]in A buffer containing the license file data.
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 Document Library execution.
int id3DocumentLicense_CheckLicenseBufferWithCard (
unsigned char * licenseData,
int licenseDataSize,
unsigned char * challengeR1,
int * challengeR1Size)
Parameters
licenseDataunsigned char *in A buffer containing the license file data.licenseDataSizeintin Size of the ‘licenseData’ buffer.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