|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ebasetech.xi.services.EncryptionServices
public class EncryptionServices
Encryption and decryption services
Constructor Summary | |
---|---|
EncryptionServices()
|
Method Summary | |
---|---|
static java.lang.String |
decrypt(java.lang.String message)
Decrypts the string represented by message using the PBEWithMD5AndDES algorithm and with standard encryption parameters. |
static java.lang.String |
decrypt(java.lang.String message,
int count,
java.lang.String key)
Decrypts the string represented by message using the PBEWithMD5AndDES algorithm. |
static java.lang.String |
encrypt(java.lang.String message)
Encrypts the string represented by message using the PBEWithMD5AndDES algorithm and with standard encryption parameters. |
static java.lang.String |
encrypt(java.lang.String message,
int count,
java.lang.String key)
Encrypts the string represented by message using the PBEWithMD5AndDES algorithm. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EncryptionServices()
Method Detail |
---|
public static java.lang.String encrypt(java.lang.String message, int count, java.lang.String key) throws com.ebasetech.xi.exceptions.FormRuntimeException
message
using the PBEWithMD5AndDES algorithm.
message
- string to be encryptedcount
- number of times the encryption algorithm is invokedkey
- key used by the encryption algorithm; if null, the default is used (see encrypt(String)
)
com.ebasetech.xi.exceptions.FormRuntimeException
- if any error occursencrypt(String)
public static java.lang.String encrypt(java.lang.String message) throws com.ebasetech.xi.exceptions.FormRuntimeException
message
using the PBEWithMD5AndDES algorithm and with standard encryption parameters. The standard
encryption parameters are specified using the Ebase Xi Designer Tools > Maintain Security > Encryption.
message
- the string to be encrypted
com.ebasetech.xi.exceptions.FormRuntimeException
- if any error occursencrypt(String, int, String)
public static java.lang.String decrypt(java.lang.String message, int count, java.lang.String key) throws com.ebasetech.xi.exceptions.FormRuntimeException
message
using the PBEWithMD5AndDES algorithm.
message
- string to be decryptedcount
- number of times the encryption algorithm is invokedkey
- key used by the decrytion algorithm; if null, the default is used (see decrypt(String)
)
com.ebasetech.xi.exceptions.FormRuntimeException
- if any error occurs, usually the message is not in the correct encrypted formatdecrypt(String)
public static java.lang.String decrypt(java.lang.String message) throws com.ebasetech.xi.exceptions.FormRuntimeException
message
using the PBEWithMD5AndDES algorithm and with standard encryption parameters. The standard
encryption parameters are specified using the Ebase Xi Designer Tools > Maintain Security > Encryption.
message
- the string to be decrypted
com.ebasetech.xi.exceptions.FormRuntimeException
- if any error occurs, usually the message is not in the correct encrypted formatdecrypt(String, int, String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |