public class LicenseVerifier extends Object implements net.nicholaswilliams.java.licensing.encryption.PasswordProvider, net.nicholaswilliams.java.licensing.encryption.PublicKeyDataProvider, net.nicholaswilliams.java.licensing.LicenseValidator
Modifier and Type | Class and Description |
---|---|
static class |
LicenseVerifier.EagleLicenseProvider |
Modifier and Type | Method and Description |
---|---|
byte[] |
getEncryptedPublicKeyData() |
char[] |
getPassword() |
void |
validateLicense(net.nicholaswilliams.java.licensing.License license) |
hudson.util.FormValidation |
verify(String licenseString,
String username) |
public void validateLicense(net.nicholaswilliams.java.licensing.License license) throws net.nicholaswilliams.java.licensing.exception.InvalidLicenseException
validateLicense
in interface net.nicholaswilliams.java.licensing.LicenseValidator
net.nicholaswilliams.java.licensing.exception.InvalidLicenseException
public byte[] getEncryptedPublicKeyData() throws net.nicholaswilliams.java.licensing.exception.KeyNotFoundException
getEncryptedPublicKeyData
in interface net.nicholaswilliams.java.licensing.encryption.PublicKeyDataProvider
net.nicholaswilliams.java.licensing.exception.KeyNotFoundException
public char[] getPassword()
getPassword
in interface net.nicholaswilliams.java.licensing.encryption.PasswordProvider
Copyright © 2016–2018. All rights reserved.