A B C D F G H I J K L M N P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(byte[]) - Method in class javax0.license3j.License
-
Add the signature to the license.
- add(Feature) - Method in class javax0.license3j.License
-
Add a feature to the license.
- allowed(String) - Method in class javax0.license3j.HardwareBinder
-
Add a regular expression to the set of the regular expressions that are checked against the display name of the network interface cards.
- architecture() - Method in class javax0.license3j.HardwareBinder.Ignore
-
The UUID generation uses the architecture string as returned by
System.getProperty("os.arch")
. - assertUUID(String) - Method in class javax0.license3j.HardwareBinder
-
Asserts that the current machine has the UUID.
- assertUUID(String, boolean, boolean, boolean) - Method in class javax0.license3j.hardware.UUIDCalculator
- assertUUID(UUID) - Method in class javax0.license3j.HardwareBinder
-
Asserts that the current machine has the UUID.
- assertUUID(UUID, boolean, boolean, boolean) - Method in class javax0.license3j.hardware.UUIDCalculator
B
- BASE64 - javax0.license3j.io.IOFormat
- bigDecimalFeature(String, BigDecimal) - Static method in class javax0.license3j.Feature.Create
- bigIntegerFeature(String, BigInteger) - Static method in class javax0.license3j.Feature.Create
- BINARY - javax0.license3j.io.IOFormat
- binaryFeature(String, byte[]) - Static method in class javax0.license3j.Feature.Create
- Byte() - Constructor for class javax0.license3j.parsers.NumericParser.Byte
- byteFeature(String, Byte) - Static method in class javax0.license3j.Feature.Create
C
- cipher() - Method in class javax0.license3j.crypto.LicenseKeyPair
-
Get the stored cipher string as described in the ORACLE documentation:
- close() - Method in class javax0.license3j.io.KeyPairReader
- close() - Method in class javax0.license3j.io.KeyPairWriter
- close() - Method in class javax0.license3j.io.LicenseReader
- close() - Method in class javax0.license3j.io.LicenseWriter
- Create() - Constructor for class javax0.license3j.crypto.LicenseKeyPair.Create
- Create() - Constructor for class javax0.license3j.License.Create
D
- dateFeature(String, Date) - Static method in class javax0.license3j.Feature.Create
- denied(String) - Method in class javax0.license3j.HardwareBinder
-
Add a regular expression to the set of the regular expressions that are checked against the display name of the network interface cards.
- doubleFeature(String, Double) - Static method in class javax0.license3j.Feature.Create
F
- Feature - Class in javax0.license3j
-
A feature is a single "feature" in a license.
- Feature.Create - Class in javax0.license3j
- fingerprint() - Method in class javax0.license3j.License
-
Get the fingerprint of a license.
- floatFeature(String, Float) - Static method in class javax0.license3j.Feature.Create
- from(byte[]) - Static method in class javax0.license3j.Feature.Create
-
Create the feature from the binary serialized format.
- from(byte[]) - Static method in class javax0.license3j.License.Create
-
Create a license from the binary byte array representation.
- from(byte[], byte[]) - Static method in class javax0.license3j.crypto.LicenseKeyPair.Create
-
Create a new
LicenseKeyPair
from the public and the private key pairs. - from(byte[], int) - Static method in class javax0.license3j.crypto.LicenseKeyPair.Create
-
Create a new
LicenseKeyPair
that contains only one of the keys, either the private or the public. - from(String) - Static method in class javax0.license3j.Feature.Create
-
Create a feature from a string representation of the feature.
- from(String) - Static method in class javax0.license3j.License.Create
-
Get a license with the features from the string.
- from(String, int) - Static method in class javax0.license3j.crypto.LicenseKeyPair.Create
-
Create a new key pair using the algorithm and the size for the key.
- from(KeyPair, String) - Static method in class javax0.license3j.crypto.LicenseKeyPair.Create
-
Create a new key pair.
- from(PublicKey, PrivateKey, String) - Static method in class javax0.license3j.crypto.LicenseKeyPair.Create
-
Create a new key pair.
G
- get(String) - Method in class javax0.license3j.License
-
Get a feature of a given name from the license or
null
if there is no feature for the name in the license. - getBigDecimal() - Method in class javax0.license3j.Feature
- getBigInteger() - Method in class javax0.license3j.Feature
- getBinary() - Method in class javax0.license3j.Feature
- getByte() - Method in class javax0.license3j.Feature
- getDate() - Method in class javax0.license3j.Feature
- getDouble() - Method in class javax0.license3j.Feature
- getFloat() - Method in class javax0.license3j.Feature
- getInt() - Method in class javax0.license3j.Feature
- getLicenseId() - Method in class javax0.license3j.License
-
Get the license identifier.
- getLong() - Method in class javax0.license3j.Feature
- getMachineId() - Method in class javax0.license3j.HardwareBinder
-
Calculate the UUID for the machine this code is running on.
- getMachineId(boolean, boolean, boolean) - Method in class javax0.license3j.hardware.UUIDCalculator
- getMachineIdString() - Method in class javax0.license3j.HardwareBinder
-
Get the machine id as an UUID string.
- getMachineIdString(boolean, boolean, boolean) - Method in class javax0.license3j.hardware.UUIDCalculator
- getPair() - Method in class javax0.license3j.crypto.LicenseKeyPair
-
Get the key pair from the object.
- getPrivate() - Method in class javax0.license3j.crypto.LicenseKeyPair
-
Get the byte representation of the private key as it is returned by the underlying security library.
- getPublic() - Method in class javax0.license3j.crypto.LicenseKeyPair
-
Get the byte representation of the public key as it is returned by the underlying security library.
- getRevocationURL() - Method in class javax0.license3j.RevocableLicense
-
Get the revocation URL of the license.
- getShort() - Method in class javax0.license3j.Feature
- getSignature() - Method in class javax0.license3j.License
-
Get the signature of the license.
- getString() - Method in class javax0.license3j.Feature
- getUUID() - Method in class javax0.license3j.Feature
H
- HardwareBinder - Class in javax0.license3j
-
The hardware binder binds a license to a certain hardware.
- HardwareBinder() - Constructor for class javax0.license3j.HardwareBinder
- HardwareBinder.Ignore - Class in javax0.license3j
- hostName() - Method in class javax0.license3j.HardwareBinder.Ignore
-
When calculating the machine UUID the host name is also taken into account by default.
I
- ignore - Variable in class javax0.license3j.HardwareBinder
- Ignore() - Constructor for class javax0.license3j.HardwareBinder.Ignore
- Int() - Constructor for class javax0.license3j.parsers.NumericParser.Int
- Interface() - Constructor for class javax0.license3j.hardware.Network.Interface
- interfaceAllowed(String) - Method in class javax0.license3j.hardware.Network.Interface.Selector
- interfaceDenied(String) - Method in class javax0.license3j.hardware.Network.Interface.Selector
- intFeature(String, Integer) - Static method in class javax0.license3j.Feature.Create
- IOFormat - Enum in javax0.license3j.io
-
License can be stored in files in three different format: BINARY is as the name suggests binary format BASE64 is the same as binary but encoded to be ascii using the Base64 ncoding STRING is a textual, human readable format that can be edited using text editor
- isBigDecimal() - Method in class javax0.license3j.Feature
- isBigInteger() - Method in class javax0.license3j.Feature
- isBinary() - Method in class javax0.license3j.Feature
- isByte() - Method in class javax0.license3j.Feature
- isDate() - Method in class javax0.license3j.Feature
- isDouble() - Method in class javax0.license3j.Feature
- isExpired() - Method in class javax0.license3j.License
-
Checks the expiration date of the license and returns
true
if the license has expired. - isFloat() - Method in class javax0.license3j.Feature
- isInt() - Method in class javax0.license3j.Feature
- isLong() - Method in class javax0.license3j.Feature
- isOK(byte[]) - Method in class javax0.license3j.License
- isOK(PublicKey) - Method in class javax0.license3j.License
-
Returns true if the license is signed and the authenticity of the signature can be checked successfully using the key.
- isRevoked() - Method in class javax0.license3j.RevocableLicense
-
Check if the license was revoked or not.
- isRevoked(boolean) - Method in class javax0.license3j.RevocableLicense
-
Check if the license is revoked or not.
- isShort() - Method in class javax0.license3j.Feature
- isString() - Method in class javax0.license3j.Feature
- isUUID() - Method in class javax0.license3j.Feature
J
- javax0.license3j - package javax0.license3j
- javax0.license3j.crypto - package javax0.license3j.crypto
- javax0.license3j.hardware - package javax0.license3j.hardware
- javax0.license3j.io - package javax0.license3j.io
- javax0.license3j.parsers - package javax0.license3j.parsers
K
- KeyPairReader - Class in javax0.license3j.io
-
Class to read a key from file.
- KeyPairReader(File) - Constructor for class javax0.license3j.io.KeyPairReader
- KeyPairReader(InputStream) - Constructor for class javax0.license3j.io.KeyPairReader
- KeyPairReader(String) - Constructor for class javax0.license3j.io.KeyPairReader
- KeyPairWriter - Class in javax0.license3j.io
-
Class to write the key pair into two files.
- KeyPairWriter(File, File) - Constructor for class javax0.license3j.io.KeyPairWriter
- KeyPairWriter(OutputStream, OutputStream) - Constructor for class javax0.license3j.io.KeyPairWriter
- KeyPairWriter(String, String) - Constructor for class javax0.license3j.io.KeyPairWriter
L
- License - Class in javax0.license3j
-
A license describes the rights that a certain user has.
- License() - Constructor for class javax0.license3j.License
- License(License) - Constructor for class javax0.license3j.License
- License.Create - Class in javax0.license3j
-
Inner class containing factory methods to create a license object from various sources.
- LicenseKeyPair - Class in javax0.license3j.crypto
-
A
LisenceKeyPair
contains the public and the private key. - LicenseKeyPair.Create - Class in javax0.license3j.crypto
- LicenseReader - Class in javax0.license3j.io
-
Reads a license from some input.
- LicenseReader(File) - Constructor for class javax0.license3j.io.LicenseReader
- LicenseReader(InputStream) - Constructor for class javax0.license3j.io.LicenseReader
- LicenseReader(String) - Constructor for class javax0.license3j.io.LicenseReader
- LicenseWriter - Class in javax0.license3j.io
-
Write the license into the output
- LicenseWriter(File) - Constructor for class javax0.license3j.io.LicenseWriter
- LicenseWriter(OutputStream) - Constructor for class javax0.license3j.io.LicenseWriter
- LicenseWriter(String) - Constructor for class javax0.license3j.io.LicenseWriter
- Long() - Constructor for class javax0.license3j.parsers.NumericParser.Long
- longFeature(String, Long) - Static method in class javax0.license3j.Feature.Create
M
- main(String[]) - Static method in class javax0.license3j.HardwareBinder
-
A very simple main that prints out the machine UUID to the standard output.
N
- name - Variable in class javax0.license3j.hardware.Network.Interface.Data
- name() - Method in class javax0.license3j.Feature
- network() - Method in class javax0.license3j.HardwareBinder.Ignore
-
When calculating the uuid of a machine the network interfaces are enumerated and their parameters are taken into account.
- Network - Class in javax0.license3j.hardware
- Network() - Constructor for class javax0.license3j.hardware.Network
- Network.Interface - Class in javax0.license3j.hardware
- Network.Interface.Data - Class in javax0.license3j.hardware
- Network.Interface.Selector - Class in javax0.license3j.hardware
- NumericParser - Class in javax0.license3j.parsers
-
A simple string parser that can parse decimal and hexa format numbers to be stored in byte, short, int or long.
- NumericParser() - Constructor for class javax0.license3j.parsers.NumericParser
- NumericParser.Byte - Class in javax0.license3j.parsers
- NumericParser.Int - Class in javax0.license3j.parsers
- NumericParser.Long - Class in javax0.license3j.parsers
- NumericParser.Short - Class in javax0.license3j.parsers
P
- parse(String) - Static method in class javax0.license3j.parsers.NumericParser.Byte
- parse(String) - Static method in class javax0.license3j.parsers.NumericParser.Int
- parse(String) - Static method in class javax0.license3j.parsers.NumericParser.Long
- parse(String) - Static method in class javax0.license3j.parsers.NumericParser.Short
R
- read() - Method in class javax0.license3j.io.LicenseReader
-
Read the license from the input assuming the license is binary formatted.
- read(IOFormat) - Method in class javax0.license3j.io.LicenseReader
-
Read the license from the input assuming that the format of the license on the input has the format specified by the argument.
- readPrivate() - Method in class javax0.license3j.io.KeyPairReader
- readPrivate(IOFormat) - Method in class javax0.license3j.io.KeyPairReader
- readPublic() - Method in class javax0.license3j.io.KeyPairReader
- readPublic(IOFormat) - Method in class javax0.license3j.io.KeyPairReader
- RevocableLicense - Class in javax0.license3j
-
Extended license works with a license object and provides features that are not core license functionalities.
- RevocableLicense(License) - Constructor for class javax0.license3j.RevocableLicense
S
- Selector() - Constructor for class javax0.license3j.hardware.Network.Interface.Selector
- serialized() - Method in class javax0.license3j.Feature
-
Convert a feature to byte array.
- serialized() - Method in class javax0.license3j.License
-
Get the license serialized (not standard Java serialized!!!) as a byte array.
- setExpiry(Date) - Method in class javax0.license3j.License
-
Set the expiration date of the license.
- setLicenseId() - Method in class javax0.license3j.License
-
Generates a new license id.
- setLicenseId(UUID) - Method in class javax0.license3j.License
-
Set the UUID of a license.
- setRevocationURL(String) - Method in class javax0.license3j.RevocableLicense
-
Set the revocation URL.
- setRevocationURL(URL) - Method in class javax0.license3j.RevocableLicense
-
Set the revocation URL.
- Short() - Constructor for class javax0.license3j.parsers.NumericParser.Short
- shortFeature(String, Short) - Static method in class javax0.license3j.Feature.Create
- sign(PrivateKey, String) - Method in class javax0.license3j.License
-
Sign the license.
- STRING - javax0.license3j.io.IOFormat
- stringFeature(String, String) - Static method in class javax0.license3j.Feature.Create
T
- toString() - Method in class javax0.license3j.Feature
- toString() - Method in class javax0.license3j.License
-
Converts a license to string.
U
- unsigned() - Method in class javax0.license3j.License
-
Get the license as a byte[] without the signature key.
- UUIDCalculator - Class in javax0.license3j.hardware
-
Calculate a UUID that is specific to the machne.
- UUIDCalculator(Network.Interface.Selector) - Constructor for class javax0.license3j.hardware.UUIDCalculator
- uuidFeature(String, UUID) - Static method in class javax0.license3j.Feature.Create
V
- valueOf(String) - Static method in enum javax0.license3j.io.IOFormat
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum javax0.license3j.io.IOFormat
-
Returns an array containing the constants of this enum type, in the order they are declared.
- valueString() - Method in class javax0.license3j.Feature
W
- write(LicenseKeyPair, IOFormat) - Method in class javax0.license3j.io.KeyPairWriter
-
Write the key pair into the output files.
- write(License) - Method in class javax0.license3j.io.LicenseWriter
-
Write the license to the output in binary format.
- write(License, IOFormat) - Method in class javax0.license3j.io.LicenseWriter
-
Write the license into the output.
All Classes All Packages