27 const QString& szPrefix = QString());
48 QList<TYPE> GetType()
const;
49 int SetType(QList<TYPE> type);
50 TYPE GetUsedType()
const;
51 int SetUsedType(TYPE type);
53 const QString GetUser()
const;
54 void SetUser(
const QString& szUser);
56 const QString GetPassword()
const;
57 void SetPassword(
const QString& szPassword);
59 const bool GetSavePassword()
const;
64 void SetSavePassword(
bool save);
66 bool GetUseSystemFile()
const;
67 int SetUseSystemFile(
bool use);
69 QString GetPublicKeyFile()
const;
70 int SetPublicKeyFile(
const QString szFile);
72 QString GetPrivateKeyFile()
const;
73 int SetPrivateKeyFile(
const QString szFile);
75 QString GetPassphrase()
const;
76 int SetPassphrase(
const QString passphrase);
78 bool GetSavePassphrase()
const;
79 int SetSavePassphrase(
bool bSave);
81 QString GetCAFile()
const;
82 int SetCAFile(
const QString& ca);
84 QString GetCRLFile()
const;
85 int SetCRLFile(
const QString& crl);
87 int SetTypeName(TYPE t,
const QString& szName);
88 QString ConvertTypeToName(TYPE t);
91 virtual int OnLoad(QSettings &set)
override;
92 virtual int OnSave(QSettings &set)
override;
105 QString m_szPassword;
106 bool m_bSavePassword;
109 bool m_bUseSystemFile;
110 QString m_szPublicKeyFile;
111 QString m_szPrivateKeyFile;
112 QString m_szPassphrase;
113 bool m_bSavePassphrase;
118 QMap<TYPE, QString> m_TypeName;