44 class Security :
public TQObject
48 static Security*
const ref()
50 static Security *m_ref;
51 if (!m_ref) m_ref =
new Security();
62 void checkValidity(
const TQString &fileName);
70 void signFile(
const TQString &fileName);
77 KeyStruct signatureKey() {
return m_signatureKey;}
85 SIGNED_BAD_CLEAR = 27,
93 void readSecretKeys();
96 void slotCheckValidity();
113 KeyStruct m_signatureKey;
118 TQMap<TQString, KeyStruct> m_keys;
120 TQString m_secretKey;
123 void slotProcessExited(TDEProcess *process);
124 void slotDataArrived(KProcIO *process);
131 void validityResult(
int result);
136 void fileSigned(
int result);
Handles security releated issues, like signing, verifying.