Class responsible for handling messages comming to Bank
![]() | Majordomo::ComputeMAC (MsgField *oAuth) Computes MAC |
![]() | Majordomo::CreateCipheredData () Creates ciphered data |
![]() | Majordomo::CreateSimpleFileToStor (GMessage *certificate) Creates simple message with a file for storage |
![]() | Majordomo::CreateSimpleReqForFile (GMessage *pubKey) Creates REQ_FOR_FILE |
![]() | Majordomo::GenerateACID (ACID *acid) Generates ID of certificate |
![]() | Majordomo::GenerateACKeys (ACID *acid, GMessage **acPubKey) Generates certificate key pair |
![]() | Majordomo::GenerateAsymetricKey () Generates public and private keys |
![]() | Majordomo::GenerateThisSixAC (MsgField *onion, GMessage **generatedAC) Generates this Six AC |
![]() | Majordomo::SwitchDataReceivedCommand (const Char *command, const MsgField *dataFld, const ACID acid) Switches data_received command |
![]() | Majordomo::SwitchDataReceivedCommand (const Char *command, const MsgField *dataFld, const ACID acid) Chooses a method to handle the command with |
![]() | Majordomo::SwitchMixCommand (MsgField *commandFld, MsgField *dataFld) Chooses serving method for Mix command |
![]() | Majordomo::UnsealSAuth (const ACID myACID, const MsgField *sealSA) Unseals sAuth |
![]() | methods
|
![]() | methods
|
attributes
Class responsible for handling messages comming to Bank. This descendant of SixMajordomo takes main functionality from its ancestor extending it with functionality typical from Bank in Eternity Service.
virtual MsgField* DecryptByACPriv(const ACID acid, const MsgField *dData)
virtual Err SwitchDataReceivedCommand(const Char *command, const MsgField *dataFld, const ACID acid)
virtual ACManager* GetPtrToACManager(Char *type)
Err Initialize()
ESTime* GetTime()
MsgField* UnsealSAuth(const ACID acid, const MsgField *sealSA)
Err Majordomo::CreateCipheredData()
The result looks like this:
GM_PUBLIC_KEY:
GM_DATA: (encrypted with Private Key)
GM_RANDOM: (random string)
GM_FILE: (decrypted file)
GMessage* Majordomo::CreateSimpleFileToStor(GMessage *certificate)
GMessage* Majordomo::CreateSimpleReqForFile(GMessage *pubKey)
Err Majordomo::GenerateACID(ACID *acid)
Err Majordomo::GenerateACKeys(ACID *acid, GMessage **acPubKey)
acPubKey - Public key of generated key pair
Err Majordomo::GenerateAsymetricKey()
Err Majordomo::GenerateThisSixAC(MsgField *onion, GMessage **generatedAC)
generatedAC - AC that was generated.
Err Majordomo::SwitchDataReceivedCommand(const Char *command, const MsgField *dataFld, const ACID acid)
dataFld - data field comming along with command
acid - ID of this Eso access certificate which was used as delivery address
Err Majordomo::SwitchDataReceivedCommand(const Char *command, const MsgField *dataFld, const ACID acid)
dataFld - Data in the incoming message.
acid - ID of the certificate to which the data was sent.
Err Majordomo::SwitchMixCommand(MsgField *commandFld, MsgField *dataFld)
dataFld - data comming along with command
MsgField* Majordomo::UnsealSAuth(const ACID myACID, const MsgField *sealSA)
sealSA - Sealed sAuth
alphabetic index hierarchy of classes
generated by doc++