A C D E G H I L M O P S 

A

assertUUID(UUID) - Method in class com.verhas.licensor.HardwareBinder
Asserts that the current machine has the UUID.
assertUUID(String) - Method in class com.verhas.licensor.HardwareBinder
Asserts that the current machine has the UUID.

C

calculatePublicKeyRingDigest() - Method in class com.verhas.licensor.License
Calculate the SHA512 digest of the public key ring that is used to decode the license.
com.verhas.licensor - package com.verhas.licensor
This package contains all the classes of license3j.
com.verhas.utils - package com.verhas.utils
 
CommandLineProcessor - Class in com.verhas.utils
 
CommandLineProcessor() - Constructor for class com.verhas.utils.CommandLineProcessor
 

D

dumpLicense(String) - Method in class com.verhas.licensor.License
Dump the license as clear text into a file.
dumpLicense(File) - Method in class com.verhas.licensor.License
Dump the license as clear text into the file.
dumpLicense(OutputStream) - Method in class com.verhas.licensor.License
Dump the license as clear text into the output stream.
dumpPublicKeyRingDigest() - Method in class com.verhas.licensor.License
Dump the public key ring digest as a Java code fragment.

E

encodeLicense(String) - Method in class com.verhas.licensor.License
Encode the currently loaded/created license.
ExtendedLicense - Class in com.verhas.licensor
ExtendedLicense supports not only String features, but also Integer, Date and URL features.
ExtendedLicense() - Constructor for class com.verhas.licensor.ExtendedLicense
 

G

generateLicenseId() - Method in class com.verhas.licensor.ExtendedLicense
Generates a new license id.
getDecodeKeyId() - Method in class com.verhas.licensor.License
Get the key id that was used to decode the license.
getFeature(String, Class<? extends T>) - Method in class com.verhas.licensor.ExtendedLicense
 
getFeature(String) - Method in class com.verhas.licensor.License
Get a license feature.
getFiles() - Method in class com.verhas.utils.CommandLineProcessor
Get the non option (file) arguments that were gathered by the method process().
getLicenseId() - Method in class com.verhas.licensor.ExtendedLicense
 
getLicenseString() - Method in class com.verhas.licensor.License
Get the license as clear text.
getMachineId() - Method in class com.verhas.licensor.HardwareBinder
Calculate the UUID for the machine this code is running on.
getMachineIdString() - Method in class com.verhas.licensor.HardwareBinder
Get the machine id as an UUID string.
getOptions() - Method in class com.verhas.utils.CommandLineProcessor
Get the options that were gathered by the method process().
getRevocationURL() - Method in class com.verhas.licensor.ExtendedLicense
Get the revocation URL of the license.

H

HardwareBinder - Class in com.verhas.licensor
The hardware binder binds a license to a certain hardware.
HardwareBinder() - Constructor for class com.verhas.licensor.HardwareBinder
 

I

ignoreArchitecture() - Method in class com.verhas.licensor.HardwareBinder
The UUID generation uses the architecture string as returned by System.getProperty("os.arch").
ignoreHostName() - Method in class com.verhas.licensor.HardwareBinder
When calculating the machine UUID the host name is also taken into account by default.
ignoreNetwork() - Method in class com.verhas.licensor.HardwareBinder
When calculating the uuid of a machine the network interfaces are enumerated and their parameters are taken into account.
interfaceAllowed(String) - Method in class com.verhas.licensor.HardwareBinder
Add a regular expression to the set of the regular expressions that are checked against the display name of the network interface cards.
interfaceDenied(String) - Method in class com.verhas.licensor.HardwareBinder
Add a regular expression to the set of the regular expressions that are checked against the display name of the network interface cards.
isExpired() - Method in class com.verhas.licensor.ExtendedLicense
Checks the expiration date of the license and returns true if the license has expired.
isRevoked() - Method in class com.verhas.licensor.ExtendedLicense
Check if the license was revoked or not.
isRevoked(boolean) - Method in class com.verhas.licensor.ExtendedLicense
Check if the license is revoked or not.
isVerified() - Method in class com.verhas.licensor.License
Check if the license was verified.

L

License - Class in com.verhas.licensor
A License object is (key,value) pair set that can be interpreted arbitrary.
License() - Constructor for class com.verhas.licensor.License
 
License3j - Class in <Unnamed>
Simple class containing public static main to encode and decode licenses from the command line.
License3j() - Constructor for class License3j
 
licenseProperties - Variable in class com.verhas.licensor.License
 
loadKey(String, String) - Method in class com.verhas.licensor.License
Load the secret key to be used to encrypt a license.
loadKey(File, String) - Method in class com.verhas.licensor.License
Load the secret key to be used to encrypt a license.
loadKey(InputStream, String) - Method in class com.verhas.licensor.License
Load the secret key to be used to encrypt the license.
loadKeyRing(String, byte[]) - Method in class com.verhas.licensor.License
Load a key ring from a file.
loadKeyRing(File, byte[]) - Method in class com.verhas.licensor.License
Load a key ring from a file.
loadKeyRing(InputStream, byte[]) - Method in class com.verhas.licensor.License
Load a key ring from an input stream that can be used to verify a license.
loadKeyRingFromResource(String, byte[]) - Method in class com.verhas.licensor.License
Load a key ring from a resource file (a file that is packaged into the JAR file).

M

main(String[]) - Static method in class com.verhas.licensor.HardwareBinder
A very simple main that prints out the machine UUID to the standard output.
main(String[]) - Static method in class License3j
Call this method from the command line.

O

option(String) - Method in class com.verhas.utils.CommandLineProcessor
Get a command line option value.
optionExists(String) - Method in class com.verhas.utils.CommandLineProcessor
Decides if a command line option was specified on the command line or not.

P

process(String[]) - Method in class com.verhas.utils.CommandLineProcessor
Parses the command line to discover all the 'option' arguments and all the 'file' arguments.

S

setExpiry(Date) - Method in class com.verhas.licensor.ExtendedLicense
Set the expiration date of the license.
setFeature(String, Integer) - Method in class com.verhas.licensor.ExtendedLicense
Set an integer feature in the license.
setFeature(String, Date) - Method in class com.verhas.licensor.ExtendedLicense
Set a date feature in the license.
setFeature(String, URL) - Method in class com.verhas.licensor.ExtendedLicense
Set a URL feature in the license.
setFeature(String, UUID) - Method in class com.verhas.licensor.ExtendedLicense
Set an UUID feature in the license.
setFeature(String, String) - Method in class com.verhas.licensor.License
Set a license feature.
setHashAlgorithm(int) - Method in class com.verhas.licensor.License
Set the hash algorithm to use to sign the license.
setLicense(InputStream) - Method in class com.verhas.licensor.License
Set the license values from an input stream.
setLicense(File) - Method in class com.verhas.licensor.License
Set the license values from a clear text file.
setLicense(String) - Method in class com.verhas.licensor.License
Set the license from clear text format.
setLicenseEncoded(String) - Method in class com.verhas.licensor.License
Open an encoded license from the string literal.
setLicenseEncoded(File) - Method in class com.verhas.licensor.License
Open an encoded license file.
setLicenseEncoded(InputStream) - Method in class com.verhas.licensor.License
Open an encoded license from input stream and decode and load it.
setLicenseEncodedFromFile(String) - Method in class com.verhas.licensor.License
Open an encoded license from a file.
setLicenseEncodedFromFile(File) - Method in class com.verhas.licensor.License
Same as setLicenseEncoded(File file).
setLicenseEncodedFromResource(String) - Method in class com.verhas.licensor.License
Open an encoded license from a Java resource.
setLicenseId(UUID) - Method in class com.verhas.licensor.ExtendedLicense
Set the UUID of a license.
setRevocationURL(String) - Method in class com.verhas.licensor.ExtendedLicense
Set the revocation URL.
setRevocationURL(URL) - Method in class com.verhas.licensor.ExtendedLicense
Set the revocation URL.
A C D E G H I L M O P S 

Copyright © 2014. All Rights Reserved.