mirror of
https://github.com/Valeh2012/PersonalVotingMachine
synced 2024-11-29 12:20:59 +02:00
22 lines
524 B
C++
22 lines
524 B
C++
/**
|
|
* @file EncryptionModel.cpp
|
|
* @brief EncryptionModel implementation file
|
|
* */
|
|
|
|
#include "model.h"
|
|
|
|
EncryptionModel::EncryptionModel(char* ballot, char* ssid, char * authToken, const uint8_t keypem[], int keypem_length){
|
|
|
|
this->ballot = ballot;
|
|
this->ballotASN = NULL;
|
|
this->ballotHash = NULL;
|
|
this->ballotFileName = NULL;
|
|
this->ballotLength = 0;
|
|
this->rndBase64 = NULL;
|
|
this->authToken = authToken;
|
|
this->ssid = ssid;
|
|
this->keypem = keypem;
|
|
this->keypem_length = keypem_length;
|
|
this->election_id = NULL;
|
|
}
|