public class LicenseValidator
License Validator. This uses License3j to validate that the gpg public keyring included in the
jar was used to sign a license file, and that the keyring has a predetermined digest hard-coded here.
Once we know the license is valid and has been decoded we then check to make sure that the license
itself is still valid.
public static boolean validateLicense(java.lang.String licenseFileName)
NOTE: this whole stinking festering thing is now disabled and just returns true. Good riddance!
Check a license for validity. First load the keyring 'pubring.gpg' from the classpath, then
check its validity against the hardcoded keyring digest. If that passes then use the key
to decode the given license file. Once the file is decoded check the structure of the file and
dates encoded in it to ensure that the license is still valid.