public interface ApplicationHandler
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
decrypt(byte[] input,
byte[] mask)
AES decryption using the license key, with a given mask.
|
java.lang.String |
decrypt(java.lang.String input,
byte[] mask)
AES decryption of a Base-64 encoded string using the license key, with a given mask.
|
byte[] |
encrypt(java.lang.String input,
byte[] mask)
AES encryption using the license key, with a given mask.
|
java.lang.String |
encryptAsString(java.lang.String input,
byte[] mask)
Base64-encoding of AES encryption using the license key, with a given mask.
|
Application |
getApplication()
Returns the Application instance
|
org.cyclos.server.utils.CyclosProperties |
getCyclosProperties()
Returns the
CyclosProperties instance |
org.cyclos.impl.utils.IdMask |
getIdMask()
Returns the
IdMask which is used to mask / unmask identifiers sent to / received from clients |
boolean |
isInitialized()
Returns whether the initialization process is completed
|
java.lang.String decrypt(byte[] input,
byte[] mask)
java.lang.String decrypt(java.lang.String input,
byte[] mask)
byte[] encrypt(java.lang.String input,
byte[] mask)
java.lang.String encryptAsString(java.lang.String input,
byte[] mask)
Application getApplication()
org.cyclos.server.utils.CyclosProperties getCyclosProperties()
CyclosProperties instanceorg.cyclos.impl.utils.IdMask getIdMask()
IdMask which is used to mask / unmask identifiers sent to / received from clientsboolean isInitialized()