- get(int) - Method in class net.nicholaswilliams.java.licensing.immutable.ImmutableArrayList
-
- get(int) - Method in class net.nicholaswilliams.java.licensing.immutable.ImmutableLinkedHashSet
-
Retrieves the indexed element specified.
- get(E) - Method in class net.nicholaswilliams.java.licensing.immutable.ImmutableLinkedHashSet
-
Retrieves the matching element specified.
- getEncryptedPublicKeyData() - Method in class net.nicholaswilliams.java.licensing.encryption.FilePublicKeyDataProvider
-
This method returns the data from the file containing the encrypted
public key from the public/private key pair.
- getEncryptedPublicKeyData() - Method in interface net.nicholaswilliams.java.licensing.encryption.PublicKeyDataProvider
-
This method returns the data from the file containing the encrypted
public key from the public/private key pair.
- getFeatures() - Method in class net.nicholaswilliams.java.licensing.License
-
Returns an immutable (unchangeable) list of all of the features contained within this license.
- getFilePrefix() - Method in class net.nicholaswilliams.java.licensing.FileLicenseProvider
-
Gets the prefix that will be prepended to the file name before looking for it.
- getFileSuffix() - Method in class net.nicholaswilliams.java.licensing.FileLicenseProvider
-
Gets the file suffix that will be appended to the file name before looking for it.
- getFormattedDate(long) - Method in class net.nicholaswilliams.java.licensing.DefaultLicenseValidator
-
- getGoodAfterDate() - Method in class net.nicholaswilliams.java.licensing.License
-
Returns the millisecond timestamp for the date after which this license is valid (usually equal or close to the
issue date, but this is not required.)
- getGoodBeforeDate() - Method in class net.nicholaswilliams.java.licensing.License.Feature
-
Returns the feature expiration date.
- getGoodBeforeDate() - Method in class net.nicholaswilliams.java.licensing.License
-
Returns the millisecond timestamp for the date before which this license is valid (i.e., the expiration date).
- getHolder() - Method in class net.nicholaswilliams.java.licensing.License
-
Returns the holder of this license.
- getInstance() - Static method in class net.nicholaswilliams.java.licensing.LicenseManager
-
Returns the license manager instance.
- getIssueDate() - Method in class net.nicholaswilliams.java.licensing.License
-
Returns the millisecond timestamp for the issue date of this license.
- getIssuer() - Method in class net.nicholaswilliams.java.licensing.License
-
Returns the issuer of this license.
- getLicense(Object) - Method in class net.nicholaswilliams.java.licensing.DeserializingLicenseProvider
-
Gets the stored, still-encrypted license content and signature from the persistence store.
- getLicense(Object) - Method in class net.nicholaswilliams.java.licensing.LicenseManager
-
If the license has already been cached for the specified context (account, client, etc.) and the cache has not
become stale (its age has not surpassed the cache time limitation configured for this manager), this returns the
cached license.
- getLicense(Object) - Method in interface net.nicholaswilliams.java.licensing.LicenseProvider
-
Gets the stored, still-encrypted license content and signature from the persistence store.
- getLicenseContent() - Method in class net.nicholaswilliams.java.licensing.SignedLicense
-
Get the content of the actual license object.
- getLicenseData(Object) - Method in class net.nicholaswilliams.java.licensing.DeserializingLicenseProvider
-
Gets the stored, still-encrypted, still-serialized license content and signature from the persistence store.
- getLicenseData(Object) - Method in class net.nicholaswilliams.java.licensing.FileLicenseProvider
-
Gets the stored, still-encrypted, still-serialized license content and signature from the persistence store.
- getLicenseDescription(License) - Method in class net.nicholaswilliams.java.licensing.DefaultLicenseValidator
-
- getLicenseFile(Object) - Method in class net.nicholaswilliams.java.licensing.FileLicenseProvider
-
Gets the license file handle.
- getName() - Method in interface net.nicholaswilliams.java.licensing.FeatureObject
-
- getName() - Method in class net.nicholaswilliams.java.licensing.License.Feature
-
Returns the feature name or subject.
- getNumberOfLicenses() - Method in class net.nicholaswilliams.java.licensing.License
-
Returns the number of licenses/seats/users that this license is valid for.
- getPassword() - Method in interface net.nicholaswilliams.java.licensing.encryption.PasswordProvider
-
When integrating the license manager in your application, you must
implement this interface.
- getProductKey() - Method in class net.nicholaswilliams.java.licensing.License
-
Returns the product key for this license.
- getPublicKeyFile() - Method in class net.nicholaswilliams.java.licensing.encryption.FilePublicKeyDataProvider
-
Gets the file that the public key is located at.
- getSignatureContent() - Method in class net.nicholaswilliams.java.licensing.SignedLicense
-
Get the signature for the license content.
- getSubject() - Method in class net.nicholaswilliams.java.licensing.License
-
Returns the subject for this license.
- hash(String) - Static method in class net.nicholaswilliams.java.licensing.encryption.Hasher
-
Calculate the SHA-512 message digest hash of the
provided string and return it with its binary
data Base64 encoded.
- hashCode() - Method in class net.nicholaswilliams.java.licensing.immutable.ImmutableAbstractCollection
-
- hashCode() - Method in class net.nicholaswilliams.java.licensing.License.Feature
-
Generates a hash code for this feature.
- hashCode() - Method in class net.nicholaswilliams.java.licensing.License
-
Calculates a hash code for this license.
- Hasher - Class in net.nicholaswilliams.java.licensing.encryption
-
Used for creating hash keys of things that won't need to be unencrypted.
- hasLicenseForAllFeatures(String...) - Method in class net.nicholaswilliams.java.licensing.License
-
Checks if all of the features specified are licensed in this license.
- hasLicenseForAllFeatures(long, String...) - Method in class net.nicholaswilliams.java.licensing.License
-
Checks if all of the features specified are licensed in this license.
- hasLicenseForAllFeatures(FeatureObject...) - Method in class net.nicholaswilliams.java.licensing.License
-
Checks if all of the features specified are licensed in this license.
- hasLicenseForAllFeatures(long, FeatureObject...) - Method in class net.nicholaswilliams.java.licensing.License
-
Checks if all of the features specified are licensed in this license.
- hasLicenseForAllFeatures(Object, String...) - Method in class net.nicholaswilliams.java.licensing.LicenseManager
-
Checks whether the license assigned to the specified context is licensed to use all of the features specified.
- hasLicenseForAllFeatures(Object, FeatureObject...) - Method in class net.nicholaswilliams.java.licensing.LicenseManager
-
Checks whether the license assigned to the specified context is licensed to use all of the features specified.
- hasLicenseForAnyFeature(String...) - Method in class net.nicholaswilliams.java.licensing.License
-
Checks if all of the features specified are licensed in this license.
- hasLicenseForAnyFeature(long, String...) - Method in class net.nicholaswilliams.java.licensing.License
-
Checks if all of the features specified are licensed in this license.
- hasLicenseForAnyFeature(FeatureObject...) - Method in class net.nicholaswilliams.java.licensing.License
-
Checks if all of the features specified are licensed in this license.
- hasLicenseForAnyFeature(long, FeatureObject...) - Method in class net.nicholaswilliams.java.licensing.License
-
Checks if all of the features specified are licensed in this license.
- hasLicenseForAnyFeature(Object, String...) - Method in class net.nicholaswilliams.java.licensing.LicenseManager
-
Checks whether the license assigned to the specified context is licensed to use any of the features specified.
- hasLicenseForAnyFeature(Object, FeatureObject...) - Method in class net.nicholaswilliams.java.licensing.LicenseManager
-
Checks whether the license assigned to the specified context is licensed to use any of the features specified.
- hasLicenseForFeature(String) - Method in class net.nicholaswilliams.java.licensing.License
-
Checks if the feature specified is licensed.
- hasLicenseForFeature(long, String) - Method in class net.nicholaswilliams.java.licensing.License
-
Checks if the feature specified is licensed.
- hasLicenseForFeature(FeatureObject) - Method in class net.nicholaswilliams.java.licensing.License
-
Checks if the feature specified is licensed.
- hasLicenseForFeature(long, FeatureObject) - Method in class net.nicholaswilliams.java.licensing.License
-
Checks if the feature specified is licensed.
- hasLicenseForFeature(Object, String) - Method in class net.nicholaswilliams.java.licensing.LicenseManager
-
Checks whether the license assigned to the specified context is licensed to use the feature specified.
- hasLicenseForFeature(Object, FeatureObject) - Method in class net.nicholaswilliams.java.licensing.LicenseManager
-
Checks whether the license assigned to the specified context is licensed to use the feature specified.
- hasLicenseForFeatures(Object, FeatureRestriction) - Method in class net.nicholaswilliams.java.licensing.LicenseManager
-
Checks whether the license assigned to the specified context is licensed to use the feature(s) in the annotation value.
- hasLicenseForFeatures(Object, AnnotatedElement) - Method in class net.nicholaswilliams.java.licensing.LicenseManager
-
Checks whether the license assigned to the specified context is licensed to use the feature(s) in the
FeatureRestriction annotation value, if the target is annotated with that annotation.
- hasNext() - Method in class net.nicholaswilliams.java.licensing.immutable.ImmutableIterator
-
- hasNext() - Method in class net.nicholaswilliams.java.licensing.immutable.ImmutableListIterator
-
- hasPrevious() - Method in class net.nicholaswilliams.java.licensing.immutable.ImmutableListIterator
-
- serialize() - Method in class net.nicholaswilliams.java.licensing.License
-
Serialized this license into a byte array that can be shipped electronically.
- set(int, E) - Method in class net.nicholaswilliams.java.licensing.immutable.ImmutableArrayList
-
- set(E) - Method in class net.nicholaswilliams.java.licensing.immutable.ImmutableListIterator
-
- setBase64Encoded(boolean) - Method in class net.nicholaswilliams.java.licensing.FileLicenseProvider
-
Sets whether the file is Base64 encoded.
- setCacheTimeInMinutes(int) - Static method in class net.nicholaswilliams.java.licensing.LicenseManagerProperties
-
Sets the length of time in minutes to cache license information (for performance reasons, anything less than 1
minute results in a 10-second cache life; the cache cannot be disabled completely).
- setFileOnClasspath(boolean) - Method in class net.nicholaswilliams.java.licensing.FileLicenseProvider
-
Sets whether the file should be found on the file system or on the classpath via a class loader.
- setFilePrefix(String) - Method in class net.nicholaswilliams.java.licensing.FileLicenseProvider
-
Sets the prefix that will be prepended to the file name before looking for it.
- setFileSuffix(String) - Method in class net.nicholaswilliams.java.licensing.FileLicenseProvider
-
Sets the file suffix that will be appended to the file name before looking for it.
- setLicensePasswordProvider(PasswordProvider) - Static method in class net.nicholaswilliams.java.licensing.LicenseManagerProperties
-
Sets the provider of the password for the persisted license data.
- setLicenseProvider(LicenseProvider) - Static method in class net.nicholaswilliams.java.licensing.LicenseManagerProperties
-
Sets the provider of the persisted license data.
- setLicenseValidator(LicenseValidator) - Static method in class net.nicholaswilliams.java.licensing.LicenseManagerProperties
-
Sets the validator implementation that validates all licenses; if null, licenses are assumed to always be valid.
- setPublicKeyDataProvider(PublicKeyDataProvider) - Static method in class net.nicholaswilliams.java.licensing.LicenseManagerProperties
-
Sets the provider of the data for the public key companion to the private key used to sign the license
object.
- setPublicKeyPasswordProvider(PasswordProvider) - Static method in class net.nicholaswilliams.java.licensing.LicenseManagerProperties
-
Sets the provider of the password for decrypting the public key.
- signData(PrivateKey, byte[]) - Method in class net.nicholaswilliams.java.licensing.DataSignatureManager
-
- SignedLicense - Class in net.nicholaswilliams.java.licensing
-
This class contains the encrypted license content and the signature for the
encrypted license content.
- SignedLicense(byte[], byte[]) - Constructor for class net.nicholaswilliams.java.licensing.SignedLicense
-
- size() - Method in class net.nicholaswilliams.java.licensing.immutable.ImmutableAbstractCollection
-
- subList(int, int) - Method in class net.nicholaswilliams.java.licensing.immutable.ImmutableArrayList
-