A C G I L R S V

A

addFeature(String, Object) - Method in class com.smardec.license4j.License
Adds feature to the license.
addUnsignedFeature(String, Object) - Method in class com.smardec.license4j.License
Adds unsigned feature to the license.

C

com.smardec.license4j - package com.smardec.license4j
 
createKeyPair() - Static method in class com.smardec.license4j.LicenseUtil
Creates key pair and and returns it as an array of strings.
createKeyPair(String) - Static method in class com.smardec.license4j.LicenseUtil
Creates key pair and saves it to the specified file.
createKeyPair(Writer) - Static method in class com.smardec.license4j.LicenseUtil
Creates key pair and saves it to the specified Writer.

G

getFeature(String) - Method in class com.smardec.license4j.License
Returns value of the feature with the specified feature's name.
getFeatureAsString(String) - Method in class com.smardec.license4j.License
Returns String value of the feature with the specified feature's name.
getFeatureList() - Method in class com.smardec.license4j.License
Returns list of all feature names.

I

isSerializeStrings() - Static method in class com.smardec.license4j.LicenseManager
Indicates whether String feature values will be stored in the license in the serialized form.
isValid(License) - Static method in class com.smardec.license4j.LicenseManager
Indicates whether the license is valid.

L

License - class com.smardec.license4j.License.
Class for storing license data.
License() - Constructor for class com.smardec.license4j.License
Creates License object with no features.
LicenseManager - class com.smardec.license4j.LicenseManager.
The main class for managing licenses.
LicenseNotFoundException - exception com.smardec.license4j.LicenseNotFoundException.
Thrown when the license file cannot be found ot cannot be read.
LicenseNotFoundException() - Constructor for class com.smardec.license4j.LicenseNotFoundException
Constructs a new exception with "License not found" as it's detail message.
LicenseNotFoundException(String) - Constructor for class com.smardec.license4j.LicenseNotFoundException
Constructs a new exception with the specified detail message.
LicenseUtil - class com.smardec.license4j.LicenseUtil.
Provides utility methods for generating key pair and for signing arbitrary user content.
loadLicense(InputStream) - Static method in class com.smardec.license4j.LicenseManager
Loads license from the specified InputStream.
loadLicense(String) - Static method in class com.smardec.license4j.LicenseManager
Loads license from the specified file.

R

removeFeature(String) - Method in class com.smardec.license4j.License
Removes feature with the specified name.

S

saveLicense(License, String) - Static method in class com.smardec.license4j.LicenseManager
Saves the license to the specified file.
saveLicense(License, Writer) - Static method in class com.smardec.license4j.LicenseManager
Saves the license to the specified Writer.
setPrivateKey(String) - Static method in class com.smardec.license4j.LicenseManager
Sets private key.
setPublicKey(String) - Static method in class com.smardec.license4j.LicenseManager
Sets public key.
setSerializeStrings(boolean) - Static method in class com.smardec.license4j.LicenseManager
Specifies whether String feature values will be stored in the license in the serialized form.
sign(byte[], String) - Static method in class com.smardec.license4j.LicenseUtil
The method allows to sign arbitrary content using private key.
sign(String, String) - Static method in class com.smardec.license4j.LicenseUtil
The method allows to sign arbitrary content using private key.

V

verify(byte[], String, String) - Static method in class com.smardec.license4j.LicenseUtil
The method allows to verify the signature of the specified data using public key.
verify(String, String, String) - Static method in class com.smardec.license4j.LicenseUtil
The method allows to verify the signature of the specified data using public key.

A C G I L R S V

Copyright © 2003-2005 Smardec. All Rights Reserved.