Overview
Package
Class
Tree
Deprecated
Index
Help
WEBsina Software
PREV NEXT
FRAMES
NO FRAMES
All Classes
B
C
D
F
G
I
K
L
M
N
R
S
T
V
B
ByteHex
- class com.websina.util.
ByteHex
.
Utility class for converting byte arrays to and from a Hex string
ByteHex()
- Constructor for class com.websina.util.
ByteHex
C
com.websina.client
- package com.websina.client
com.websina.license
- package com.websina.license
com.websina.tool
- package com.websina.tool
com.websina.util
- package com.websina.util
com.websina.util.security
- package com.websina.util.security
convert(byte[])
- Static method in class com.websina.util.
ByteHex
Convert a byte array into a printable format containing a String of hexadecimal digit characters (two per byte).
convert(String)
- Static method in class com.websina.util.
ByteHex
Convert a Hex String into the corresponding byte array by encoding each two hexadecimal digits as a byte.
create()
- Method in class com.websina.license.
License
This is called by LicenseTool to create the license.
create()
- Static method in class com.websina.tool.
KeyManager
This method is used to create the private-public key pairs.
create()
- Method in class com.websina.tool.
LicenseTool
create the license
D
DateParser
- class com.websina.util.
DateParser
.
This class deals with Date related issues.
DateParser(Date)
- Constructor for class com.websina.util.
DateParser
DateParser(String)
- Constructor for class com.websina.util.
DateParser
daysLeft()
- Method in class com.websina.license.
LicenseManager
It returns how many days are left for the license.
daysLeft()
- Method in class com.websina.license.
LicenseManagerImpl
It returns how many days are left for the license.
F
FileUtil
- class com.websina.util.
FileUtil
.
This is utility class to load a file.
FileUtil(String)
- Constructor for class com.websina.util.
FileUtil
FileUtil(InputStream)
- Constructor for class com.websina.util.
FileUtil
format()
- Method in class com.websina.license.
License
The license data that is used to to create the license file and well as used for validate the license along with the signature.
G
getDayOfMonth()
- Method in class com.websina.util.
DateParser
getDayOfWeek()
- Method in class com.websina.util.
DateParser
getExpiration()
- Method in class com.websina.license.
License
This method is called by the license client (or the LicenseManager) to validate the license.
getFeature(String)
- Method in class com.websina.license.
License
This method is called by the license client (or the LicenseManager) to validate the license.
getFeature(String)
- Method in class com.websina.license.
LicenseManager
This method is called by the license client to get the feature of the license.
getFeature(String)
- Method in class com.websina.license.
LicenseManagerImpl
This method is called by the license client to get the feature of the license.
getInstance()
- Static method in class com.websina.license.
LicenseManager
getKeyPair()
- Static method in class com.websina.util.security.
KeyUtil
The method gets the key pair.
getMonth()
- Method in class com.websina.util.
DateParser
getPrivate(byte[])
- Static method in class com.websina.util.security.
KeyUtil
This method gets the private key from the encoded byte.
getPublic(byte[])
- Static method in class com.websina.util.security.
KeyUtil
The method gets the public key from the encoded byte.
getSignature()
- Method in class com.websina.license.
License
This method is called by the license client (or the LicenseManager) to validate the license.
getXXYear()
- Method in class com.websina.util.
DateParser
getYear()
- Method in class com.websina.util.
DateParser
I
isValid()
- Method in class com.websina.license.
LicenseManager
It first checks the license itself is not tampered and is valid, and then checks the license is not expired.
isValid()
- Method in class com.websina.license.
LicenseManagerImpl
It first checks the license itself is not tampered and is valid, and then checks the license is not expired.
K
KeyManager
- class com.websina.tool.
KeyManager
.
The class is used to create both the public and private keys and save them to a file for later use.
KeyManager()
- Constructor for class com.websina.tool.
KeyManager
KeyUtil
- class com.websina.util.security.
KeyUtil
.
This is a utility class encode and decode keys.
KeyUtil()
- Constructor for class com.websina.util.security.
KeyUtil
L
License
- class com.websina.license.
License
.
The class read and write to the license file.
LicenseClient
- class com.websina.client.
LicenseClient
.
Test the LicenseManager and how to use it.
LicenseClient()
- Constructor for class com.websina.client.
LicenseClient
LicenseManager
- class com.websina.license.
LicenseManager
.
The class is shipped along with the product to the consumer.
LicenseManager()
- Constructor for class com.websina.license.
LicenseManager
LicenseManagerImpl
- class com.websina.license.
LicenseManagerImpl
.
This class is shipped along with the product to the consumer.
LicenseManagerImpl()
- Constructor for class com.websina.license.
LicenseManagerImpl
LicenseNotFoundException
- exception com.websina.license.
LicenseNotFoundException
.
License Exception
LicenseNotFoundException(String)
- Constructor for class com.websina.license.
LicenseNotFoundException
LicenseNotFoundException()
- Constructor for class com.websina.license.
LicenseNotFoundException
LicenseTool
- class com.websina.tool.
LicenseTool
.
The class is used to create the signature on the data with its private key.
LicenseTool()
- Constructor for class com.websina.tool.
LicenseTool
loadLicense()
- Static method in class com.websina.license.
License
The method is used by the LicenseManager to load an existing License.
M
main(String[])
- Static method in class com.websina.client.
LicenseClient
main(String[])
- Static method in class com.websina.tool.
KeyManager
main(String[])
- Static method in class com.websina.tool.
LicenseTool
main(String[])
- Static method in class com.websina.util.
DateParser
N
NEVER
- Static variable in class com.websina.license.
License
newLicense()
- Static method in class com.websina.license.
License
This method is used by the LicenseTool to create a License.
R
read(List, Properties)
- Method in class com.websina.util.
FileUtil
The method loads the file (properties file) into a property names List object and a Properties object.
S
SignatureUtil
- class com.websina.license.
SignatureUtil
.
This is a utility class for sign and verify the signature.
setExpiration(String)
- Method in class com.websina.license.
License
This method is called by the LicenseTool before creating the license.
setFeature(String, String)
- Method in class com.websina.license.
License
This method is called by the LicenseTool to set the features for the license.
setSignature(String)
- Method in class com.websina.license.
License
This method is called by the LicenseTool before creating the license.
sign(String, byte[])
- Static method in class com.websina.license.
SignatureUtil
This method creates the signature based on the license data and the private key.
T
test()
- Method in class com.websina.client.
LicenseClient
toSqlDate(Date)
- Static method in class com.websina.util.
DateParser
toSqlDate(String)
- Static method in class com.websina.util.
DateParser
toUtilDate(String)
- Static method in class com.websina.util.
DateParser
V
verify(String, byte[], byte[])
- Static method in class com.websina.license.
SignatureUtil
This method validate license data based on the signature and the public key.
B
C
D
F
G
I
K
L
M
N
R
S
T
V
Overview
Package
Class
Tree
Deprecated
Index
Help
WEBsina Software
PREV NEXT
FRAMES
NO FRAMES
All Classes