164 lines
8.2 KiB
TeX
164 lines
8.2 KiB
TeX
\hypertarget{classGpgFrontend_1_1GpgUIDOperator}{}\doxysection{Gpg\+Frontend\+::Gpg\+UIDOperator Class Reference}
|
|
\label{classGpgFrontend_1_1GpgUIDOperator}\index{GpgFrontend::GpgUIDOperator@{GpgFrontend::GpgUIDOperator}}
|
|
|
|
|
|
Inheritance diagram for Gpg\+Frontend\+::Gpg\+UIDOperator\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[height=550pt]{classGpgFrontend_1_1GpgUIDOperator__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for Gpg\+Frontend\+::Gpg\+UIDOperator\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[height=550pt]{classGpgFrontend_1_1GpgUIDOperator__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{classGpgFrontend_1_1GpgUIDOperator_ab74a830c858ab9ff135375743393a7c7}{Gpg\+UIDOperator}} (int channel=\mbox{\hyperlink{classGpgFrontend_1_1SingletonFunctionObject_ad983153cbe3a0c32c123c506e04f31fc}{Singleton\+Function\+Object\+::\+Get\+Default\+Channel}}())
|
|
\begin{DoxyCompactList}\small\item\em Construct a new Gpg UID Opera object. \end{DoxyCompactList}\item
|
|
auto \mbox{\hyperlink{classGpgFrontend_1_1GpgUIDOperator_ac2983b9e56569500911da72cad07fcda}{Add\+UID}} (const \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{Gpg\+Key}} \&key, const QString \&uid) -\/$>$ bool
|
|
\item
|
|
auto \mbox{\hyperlink{classGpgFrontend_1_1GpgUIDOperator_ad85cb5988f90d395bb6b8f1810b14510}{Add\+UID}} (const \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{Gpg\+Key}} \&key, const QString \&name, const QString \&comment, const QString \&email) -\/$>$ bool
|
|
\item
|
|
auto \mbox{\hyperlink{classGpgFrontend_1_1GpgUIDOperator_a9b34da410125ab866e40b047298a9caa}{Rev\+UID}} (const \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{Gpg\+Key}} \&key, const QString \&uid) -\/$>$ bool
|
|
\item
|
|
auto \mbox{\hyperlink{classGpgFrontend_1_1GpgUIDOperator_a5a591f82d024b0383c1445acad99d8ee}{Set\+Primary\+UID}} (const \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{Gpg\+Key}} \&key, const QString \&uid) -\/$>$ bool
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Private Attributes}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{classGpgFrontend_1_1GpgContext}{Gpg\+Context}} \& {\bfseries ctx\+\_\+}
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Constructor \& Destructor Documentation}
|
|
\mbox{\Hypertarget{classGpgFrontend_1_1GpgUIDOperator_ab74a830c858ab9ff135375743393a7c7}\label{classGpgFrontend_1_1GpgUIDOperator_ab74a830c858ab9ff135375743393a7c7}}
|
|
\index{GpgFrontend::GpgUIDOperator@{GpgFrontend::GpgUIDOperator}!GpgUIDOperator@{GpgUIDOperator}}
|
|
\index{GpgUIDOperator@{GpgUIDOperator}!GpgFrontend::GpgUIDOperator@{GpgFrontend::GpgUIDOperator}}
|
|
\doxysubsubsection{\texorpdfstring{GpgUIDOperator()}{GpgUIDOperator()}}
|
|
{\footnotesize\ttfamily Gpg\+Frontend\+::\+Gpg\+UIDOperator\+::\+Gpg\+UIDOperator (\begin{DoxyParamCaption}\item[{int}]{channel = {\ttfamily \mbox{\hyperlink{classGpgFrontend_1_1SingletonFunctionObject_ad983153cbe3a0c32c123c506e04f31fc}{Singleton\+Function\+Object\+::\+Get\+Default\+Channel}}()} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [explicit]}}
|
|
|
|
|
|
|
|
Construct a new Gpg UID Opera object.
|
|
|
|
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em channel} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classGpgFrontend_1_1GpgUIDOperator_ad85cb5988f90d395bb6b8f1810b14510}\label{classGpgFrontend_1_1GpgUIDOperator_ad85cb5988f90d395bb6b8f1810b14510}}
|
|
\index{GpgFrontend::GpgUIDOperator@{GpgFrontend::GpgUIDOperator}!AddUID@{AddUID}}
|
|
\index{AddUID@{AddUID}!GpgFrontend::GpgUIDOperator@{GpgFrontend::GpgUIDOperator}}
|
|
\doxysubsubsection{\texorpdfstring{AddUID()}{AddUID()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily auto Gpg\+Frontend\+::\+Gpg\+UIDOperator\+::\+Add\+UID (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{Gpg\+Key}} \&}]{key, }\item[{const QString \&}]{name, }\item[{const QString \&}]{comment, }\item[{const QString \&}]{email }\end{DoxyParamCaption}) -\/$>$ bool}
|
|
|
|
create a new uid in certain key pair
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em key} & target key pair \\
|
|
\hline
|
|
{\em name} & \\
|
|
\hline
|
|
{\em comment} & \\
|
|
\hline
|
|
{\em email} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{Returns}
|
|
|
|
\end{DoxyReturn}
|
|
\mbox{\Hypertarget{classGpgFrontend_1_1GpgUIDOperator_ac2983b9e56569500911da72cad07fcda}\label{classGpgFrontend_1_1GpgUIDOperator_ac2983b9e56569500911da72cad07fcda}}
|
|
\index{GpgFrontend::GpgUIDOperator@{GpgFrontend::GpgUIDOperator}!AddUID@{AddUID}}
|
|
\index{AddUID@{AddUID}!GpgFrontend::GpgUIDOperator@{GpgFrontend::GpgUIDOperator}}
|
|
\doxysubsubsection{\texorpdfstring{AddUID()}{AddUID()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily auto Gpg\+Frontend\+::\+Gpg\+UIDOperator\+::\+Add\+UID (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{Gpg\+Key}} \&}]{key, }\item[{const QString \&}]{uid }\end{DoxyParamCaption}) -\/$>$ bool}
|
|
|
|
create a new uid in certain key pair
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em key} & target key pair \\
|
|
\hline
|
|
{\em uid} & uid args(combine name\&comment\&email) \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{Returns}
|
|
if successful
|
|
\end{DoxyReturn}
|
|
|
|
|
|
References Gpg\+Frontend\+::\+Check\+Gpg\+Error().
|
|
|
|
\mbox{\Hypertarget{classGpgFrontend_1_1GpgUIDOperator_a9b34da410125ab866e40b047298a9caa}\label{classGpgFrontend_1_1GpgUIDOperator_a9b34da410125ab866e40b047298a9caa}}
|
|
\index{GpgFrontend::GpgUIDOperator@{GpgFrontend::GpgUIDOperator}!RevUID@{RevUID}}
|
|
\index{RevUID@{RevUID}!GpgFrontend::GpgUIDOperator@{GpgFrontend::GpgUIDOperator}}
|
|
\doxysubsubsection{\texorpdfstring{RevUID()}{RevUID()}}
|
|
{\footnotesize\ttfamily auto Gpg\+Frontend\+::\+Gpg\+UIDOperator\+::\+Rev\+UID (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{Gpg\+Key}} \&}]{key, }\item[{const QString \&}]{uid }\end{DoxyParamCaption}) -\/$>$ bool}
|
|
|
|
Revoke(\+Delete) UID from certain key pair
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em key} & target key pair \\
|
|
\hline
|
|
{\em uid} & target uid \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{Returns}
|
|
if successful
|
|
\end{DoxyReturn}
|
|
|
|
|
|
References Gpg\+Frontend\+::\+Check\+Gpg\+Error().
|
|
|
|
\mbox{\Hypertarget{classGpgFrontend_1_1GpgUIDOperator_a5a591f82d024b0383c1445acad99d8ee}\label{classGpgFrontend_1_1GpgUIDOperator_a5a591f82d024b0383c1445acad99d8ee}}
|
|
\index{GpgFrontend::GpgUIDOperator@{GpgFrontend::GpgUIDOperator}!SetPrimaryUID@{SetPrimaryUID}}
|
|
\index{SetPrimaryUID@{SetPrimaryUID}!GpgFrontend::GpgUIDOperator@{GpgFrontend::GpgUIDOperator}}
|
|
\doxysubsubsection{\texorpdfstring{SetPrimaryUID()}{SetPrimaryUID()}}
|
|
{\footnotesize\ttfamily auto Gpg\+Frontend\+::\+Gpg\+UIDOperator\+::\+Set\+Primary\+UID (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{Gpg\+Key}} \&}]{key, }\item[{const QString \&}]{uid }\end{DoxyParamCaption}) -\/$>$ bool}
|
|
|
|
Set one of a uid of a key pair as primary
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em key} & target key pair \\
|
|
\hline
|
|
{\em uid} & target uid \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{Returns}
|
|
if successful
|
|
\end{DoxyReturn}
|
|
|
|
|
|
References Gpg\+Frontend\+::\+Check\+Gpg\+Error().
|
|
|
|
|
|
|
|
\doxysubsection{Member Data Documentation}
|
|
\mbox{\Hypertarget{classGpgFrontend_1_1GpgUIDOperator_aee04c70b7802699eae70d7b26255f7ec}\label{classGpgFrontend_1_1GpgUIDOperator_aee04c70b7802699eae70d7b26255f7ec}}
|
|
\index{GpgFrontend::GpgUIDOperator@{GpgFrontend::GpgUIDOperator}!ctx\_@{ctx\_}}
|
|
\index{ctx\_@{ctx\_}!GpgFrontend::GpgUIDOperator@{GpgFrontend::GpgUIDOperator}}
|
|
\doxysubsubsection{\texorpdfstring{ctx\_}{ctx\_}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{classGpgFrontend_1_1GpgContext}{Gpg\+Context}}\& Gpg\+Frontend\+::\+Gpg\+UIDOperator\+::ctx\+\_\+\hspace{0.3cm}{\ttfamily [private]}}
|
|
|
|
{\bfseries Initial value\+:}
|
|
\begin{DoxyCode}{0}
|
|
\DoxyCodeLine{=}
|
|
\DoxyCodeLine{ \mbox{\hyperlink{classGpgFrontend_1_1SingletonFunctionObject_ac963fee992753970bfb5c81608d4070f}{GpgContext::GetInstance}}(\mbox{\hyperlink{classGpgFrontend_1_1SingletonFunctionObject_a94ee1e1251023610590e675ae3de8bd5}{SingletonFunctionObject::GetChannel}}())}
|
|
|
|
\end{DoxyCode}
|
|
|
|
|
|
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
src/core/function/gpg/Gpg\+UIDOperator.\+h\item
|
|
src/core/function/gpg/Gpg\+UIDOperator.\+cpp\end{DoxyCompactItemize}
|