|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.util.SecureUtil
public class SecureUtil
Security Utility
| Field Summary | |
|---|---|
static String |
SecureFileName
Secure File name |
| Method Summary | |
|---|---|
static byte[] |
convertHexString(String hexString)
Convert Hex String to Byte Array |
static String |
convertToHexString(byte[] bytes)
Convert Byte Array to Hex String |
static boolean |
createNewKey(String compiereHome)
Create New Key and Install. |
static File |
getKeyFile(String compiereHome)
Get Key Name |
static int |
hash(String key)
Hash checksum number |
static boolean |
installKey(String compiereHome)
Install Key |
static void |
main(String[] args)
Test |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SecureFileName
| Method Detail |
|---|
public static int hash(String key)
key - key
public static String convertToHexString(byte[] bytes)
bytes - bytes
public static byte[] convertHexString(String hexString)
hexString - hex string
public static boolean createNewKey(String compiereHome)
compiereHome - compiere home directory
public static boolean installKey(String compiereHome)
compiereHome - compiere home directory
public static File getKeyFile(String compiereHome)
compiereHome - compiere home directory
public static void main(String[] args)
args -
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||