Unlocker
Class methods
canExpire
Checks if the unlocker's license system has an expiration date.
Unlocker.canExpire()
checkExpirationData
If the unlocker has an expiration date, it will check it against the RSA encoded time string from the server.
Unlocker.checkExpirationData( String encodedTimeString)
getLicenseKeyFile
Returns the license key file as File object.
Unlocker.getLicenseKeyFile()
getRegisteredMachineId
Returns the machine ID that is encoded into the license file. This does not look in the encrypted blob, but just parses the header string.
Unlocker.getRegisteredMachineId()
getUserEmail
Returns the user email that was used for the registration.
Unlocker.getUserEmail()
isUnlocked
Checks if the registration went OK.
Unlocker.isUnlocked()
isValidKeyFile
Checks if the possibleKeyData might contain a key file.
Unlocker.isValidKeyFile(var possibleKeyData)
keyFileExists
Checks whether the key file exists.
Unlocker.keyFileExists()
loadKeyFile
This checks if there is a key file and applies it.
Unlocker.loadKeyFile()
setProductCheckFunction
Sets a function that performs a product name check and expects to return true or false for a match.
Unlocker.setProductCheckFunction(var f)
writeKeyFile
Writes the key data to the location.
Unlocker.writeKeyFile( String keyData)