DeploymentStageLogic.h 718 B

1234567891011121314151617181920212223242526
  1. //
  2. // Created by miti on 2019-12-24.
  3. //
  4. #ifndef VERIFIER_DEPLOYMENTSTAGELOGIC_H
  5. #define VERIFIER_DEPLOYMENTSTAGELOGIC_H
  6. class DeploymentStageLogic {
  7. LAInitiator_Protobuf laInitiator;
  8. PostLAMessaging postLaMessaging;
  9. uint8_t target_hash[32];
  10. public:
  11. // hash = {0x54,0x24,0x5d,0x63,0x5c,0x8f,0xec,0xcf,0x37,0xb9,0xcf,0x9e,0xb8,0xd3,0x22,0x04,0x57,0x5b,0xb2,0xfc,0xa6,0xd3,0x11,0xfb,0x87,0xb7,0x01,0x06,0x2f,0x18,0x25,0xc1};
  12. // return_status=generate_rsa_keypair_hash(hash);
  13. // if(return_status!=0)
  14. // return return_status;
  15. uint32_t set_target_hash(uint8_t* given_hash);
  16. int set_up_socket_connect(int port);
  17. int main_logic();
  18. };
  19. #endif //VERIFIER_DEPLOYMENTSTAGELOGIC_H