Interface ApplicationHandler


  • public interface ApplicationHandler
    Handler for basic configuration
    • 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.
      • finishArchiving

        void finishArchiving​(int retry)
        Finishes the archiving process. Also notifies the external application to start archiving data.
      • getApplication

        Application getApplication()
        Returns the Application instance
      • getIdMask

        IdMask getIdMask()
        Returns the IdMask which is used to mask / unmask identifiers sent to / received from clients
      • isArchivingEnabled

        boolean isArchivingEnabled()
        Indicates whether data archiving is enabled
      • isInitialized

        boolean isInitialized()
        Returns whether the initialization process is completed
      • isShuttingDown

        boolean isShuttingDown()
        Returns whether the application is in the shutdown process