Package org.cyclos.impl
Interface ApplicationHandler
-
- All Known Implementing Classes:
ApplicationHandlerImpl
public interface ApplicationHandlerHandler for basic configuration
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringdecrypt(byte[] input, byte[] mask)AES decryption using the license key, with a given mask.Stringdecrypt(String input, byte[] mask)AES decryption of a Base-64 encoded string using the license key, with a given mask.byte[]encrypt(String input, byte[] mask)AES encryption using the license key, with a given mask.StringencryptAsString(String input, byte[] mask)Base64-encoding of AES encryption using the license key, with a given mask.ApplicationgetApplication()Returns the Application instanceCyclosPropertiesgetCyclosProperties()Returns theCyclosPropertiesinstanceIdMaskgetIdMask()Returns theIdMaskwhich is used to mask / unmask identifiers sent to / received from clientsbooleanisInitialized()Returns whether the initialization process is completed
-
-
-
Method Detail
-
decrypt
String decrypt(byte[] input, byte[] mask)
AES decryption using the license key, with a given mask.
-
decrypt
String decrypt(String input, byte[] mask)
AES decryption of a Base-64 encoded string using the license key, with a given mask.
-
encrypt
byte[] encrypt(String input, byte[] mask)
AES encryption using the license key, with a given mask.
-
encryptAsString
String encryptAsString(String input, byte[] mask)
Base64-encoding of AES encryption using the license key, with a given mask.
-
getApplication
Application getApplication()
Returns the Application instance
-
getCyclosProperties
CyclosProperties getCyclosProperties()
Returns theCyclosPropertiesinstance
-
getIdMask
IdMask getIdMask()
Returns theIdMaskwhich is used to mask / unmask identifiers sent to / received from clients
-
isInitialized
boolean isInitialized()
Returns whether the initialization process is completed
-
-