|
@@ -0,0 +1,21 @@
|
|
|
|
+//
|
|
|
|
+// Created by miti on 2019-12-28.
|
|
|
|
+//
|
|
|
|
+
|
|
|
|
+#ifndef APACHE_PHP_EXTENSION_MAINLOGIC_H
|
|
|
|
+#define APACHE_PHP_EXTENSION_MAINLOGIC_H
|
|
|
|
+#include <LA.h>
|
|
|
|
+#include <PostLAMessaging.h>
|
|
|
|
+#include <string>
|
|
|
|
+#include <vector>
|
|
|
|
+class MainLogic {
|
|
|
|
+ LA laInitiator;
|
|
|
|
+ PostLAMessaging postLaMessaging;
|
|
|
|
+public:
|
|
|
|
+ int deployment_stage();
|
|
|
|
+ int get_mitigator_header(std::string header_value, int* value_length);
|
|
|
|
+ int decrypt_values(std::vector<std::string>& base64_fields, std::vector<std::string>& plaintext_fields);
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+#endif //APACHE_PHP_EXTENSION_MAINLOGIC_H
|