51 lines
3.8 KiB
TeX
51 lines
3.8 KiB
TeX
\hypertarget{GpgKeyOpera_8h_source}{}\doxysection{Gpg\+Key\+Opera.\+h}
|
|
\label{GpgKeyOpera_8h_source}\index{src/core/function/gpg/GpgKeyOpera.h@{src/core/function/gpg/GpgKeyOpera.h}}
|
|
|
|
\begin{DoxyCode}{0}
|
|
\DoxyCodeLine{1 }
|
|
\DoxyCodeLine{29 \textcolor{preprocessor}{\#ifndef \_GPGKEYOPERA\_H}}
|
|
\DoxyCodeLine{30 \textcolor{preprocessor}{\#define \_GPGKEYOPERA\_H}}
|
|
\DoxyCodeLine{31 }
|
|
\DoxyCodeLine{32 \textcolor{preprocessor}{\#include "{}core/GpgConstants.h"{}}}
|
|
\DoxyCodeLine{33 \textcolor{preprocessor}{\#include "{}core/GpgContext.h"{}}}
|
|
\DoxyCodeLine{34 \textcolor{preprocessor}{\#include "{}core/GpgModel.h"{}}}
|
|
\DoxyCodeLine{35 }
|
|
\DoxyCodeLine{36 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespaceGpgFrontend}{GpgFrontend}} \{}
|
|
\DoxyCodeLine{41 \textcolor{keyword}{class }GenKeyInfo;}
|
|
\DoxyCodeLine{42 }
|
|
\DoxyCodeLine{47 \textcolor{keyword}{class }GPGFRONTEND\_CORE\_EXPORT \mbox{\hyperlink{classGpgFrontend_1_1GpgKeyOpera}{GpgKeyOpera}}}
|
|
\DoxyCodeLine{48 : \textcolor{keyword}{public} \mbox{\hyperlink{classGpgFrontend_1_1SingletonFunctionObject}{SingletonFunctionObject}}<GpgKeyOpera> \{}
|
|
\DoxyCodeLine{49 \textcolor{keyword}{public}:}
|
|
\DoxyCodeLine{55 \textcolor{keyword}{explicit} \mbox{\hyperlink{classGpgFrontend_1_1GpgKeyOpera}{GpgKeyOpera}}(}
|
|
\DoxyCodeLine{56 \textcolor{keywordtype}{int} channel = \mbox{\hyperlink{classGpgFrontend_1_1SingletonFunctionObject_a50e2b3794d6553f4231eaec72d9d0a50}{SingletonFunctionObject::GetDefaultChannel}}());}
|
|
\DoxyCodeLine{57 }
|
|
\DoxyCodeLine{63 \textcolor{keywordtype}{void} DeleteKeys(KeyIdArgsListPtr key\_ids);}
|
|
\DoxyCodeLine{64 }
|
|
\DoxyCodeLine{70 \textcolor{keywordtype}{void} DeleteKey(\textcolor{keyword}{const} KeyId\& key\_id);}
|
|
\DoxyCodeLine{71 }
|
|
\DoxyCodeLine{80 GpgError SetExpire(\textcolor{keyword}{const} \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{GpgKey}}\& key, \textcolor{keyword}{const} SubkeyId\& subkey\_fpr,}
|
|
\DoxyCodeLine{81 std::unique\_ptr<boost::posix\_time::ptime>\& expires);}
|
|
\DoxyCodeLine{82 }
|
|
\DoxyCodeLine{89 \textcolor{keyword}{static} \textcolor{keywordtype}{void} GenerateRevokeCert(\textcolor{keyword}{const} \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{GpgKey}}\& key,}
|
|
\DoxyCodeLine{90 \textcolor{keyword}{const} std::string\& output\_file\_name);}
|
|
\DoxyCodeLine{91 }
|
|
\DoxyCodeLine{98 GpgFrontend::GpgError ModifyPassword(\textcolor{keyword}{const} \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{GpgKey}}\& key);}
|
|
\DoxyCodeLine{99 }
|
|
\DoxyCodeLine{107 GpgFrontend::GpgError ModifyTOFUPolicy(\textcolor{keyword}{const} \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{GpgKey}}\& key,}
|
|
\DoxyCodeLine{108 gpgme\_tofu\_policy\_t tofu\_policy);}
|
|
\DoxyCodeLine{116 GpgFrontend::GpgError GenerateKey(\textcolor{keyword}{const} std::unique\_ptr<GenKeyInfo>\& params,}
|
|
\DoxyCodeLine{117 GpgGenKeyResult\& result);}
|
|
\DoxyCodeLine{118 }
|
|
\DoxyCodeLine{126 GpgFrontend::GpgError GenerateSubkey(}
|
|
\DoxyCodeLine{127 \textcolor{keyword}{const} \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{GpgKey}}\& key, \textcolor{keyword}{const} std::unique\_ptr<GenKeyInfo>\& params);}
|
|
\DoxyCodeLine{128 }
|
|
\DoxyCodeLine{129 \textcolor{keyword}{private}:}
|
|
\DoxyCodeLine{130 \mbox{\hyperlink{classGpgFrontend_1_1GpgContext}{GpgContext}}\& ctx\_ =}
|
|
\DoxyCodeLine{131 \mbox{\hyperlink{classGpgFrontend_1_1SingletonFunctionObject_a8a378452876a685af879e04bfa456b6f}{GpgContext::GetInstance}}(\mbox{\hyperlink{classGpgFrontend_1_1SingletonFunctionObject_aa99440b9177f5d0c18840f08a40d64b7}{SingletonFunctionObject::GetChannel}}()); }
|
|
\DoxyCodeLine{132 \};}
|
|
\DoxyCodeLine{133 \} \textcolor{comment}{// namespace GpgFrontend}}
|
|
\DoxyCodeLine{134 }
|
|
\DoxyCodeLine{135 \textcolor{preprocessor}{\#endif }\textcolor{comment}{// \_GPGKEYOPERA\_H}}
|
|
|
|
\end{DoxyCode}
|