2022-05-08 22:01:23 +00:00
\hypertarget { classGpgFrontend_ 1_ 1GpgUIDOperator} { } \doxysection { Gpg\+ Frontend\+ ::Gpg\+ U\+ I\+ D\+ Operator Class Reference}
2022-05-08 19:59:26 +00:00
\label { classGpgFrontend_ 1_ 1GpgUIDOperator} \index { GpgFrontend::GpgUIDOperator@{ GpgFrontend::GpgUIDOperator} }
2022-05-08 22:01:23 +00:00
Inheritance diagram for Gpg\+ Frontend\+ ::Gpg\+ U\+ I\+ D\+ Operator\+ :
\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\+ U\+ I\+ D\+ Operator\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { classGpgFrontend_ 1_ 1GpgUIDOperator_ _ coll_ _ graph}
\end { center}
\end { figure}
2022-05-08 19:59:26 +00:00
\doxysubsection * { Public Member Functions}
\begin { DoxyCompactItemize}
\item
2022-05-08 22:01:23 +00:00
\mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgUIDOperator_ ab74a830c858ab9ff135375743393a7c7} { Gpg\+ U\+ I\+ D\+ Operator} } (int channel=\mbox { \hyperlink { classGpgFrontend_ 1_ 1SingletonFunctionObject_ a50e2b3794d6553f4231eaec72d9d0a50} { Singleton\+ Function\+ Object\+ ::\+ Get\+ Default\+ Channel} } ())
\begin { DoxyCompactList} \small \item \em Construct a new Gpg U\+ ID Opera object. \end { DoxyCompactList} \item
bool \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgUIDOperator_ a7c0de570de59d4ebc6c0bed681119bf7} { Add\+ U\+ ID} } (const \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKey} { Gpg\+ Key} } \& key, const std\+ ::string \& uid)
2022-05-08 19:59:26 +00:00
\item
2022-05-08 22:01:23 +00:00
bool \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgUIDOperator_ a672bbf74abac9140233c4e1c7864d15d} { Add\+ U\+ ID} } (const \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKey} { Gpg\+ Key} } \& key, const std\+ ::string \& name, const std\+ ::string \& comment, const std\+ ::string \& email)
2022-05-08 19:59:26 +00:00
\item
2022-05-08 22:01:23 +00:00
bool \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgUIDOperator_ a47f762666afbc806365877ff70947841} { Rev\+ U\+ ID} } (const \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKey} { Gpg\+ Key} } \& key, const std\+ ::string \& uid)
2022-05-08 19:59:26 +00:00
\item
2022-05-08 22:01:23 +00:00
bool \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgUIDOperator_ acbdabec97df508382b0c9b1fffbf1dd5} { Set\+ Primary\+ U\+ ID} } (const \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKey} { Gpg\+ Key} } \& key, const std\+ ::string \& uid)
2022-05-08 19:59:26 +00:00
\end { DoxyCompactItemize}
\doxysubsection * { Private Attributes}
\begin { DoxyCompactItemize}
\item
2022-05-08 22:01:23 +00:00
\mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgContext} { Gpg\+ Context} } \& { \bfseries ctx\+ \_ \+ }
2022-05-08 19:59:26 +00:00
\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()} }
2022-05-08 22:01:23 +00:00
{ \footnotesize \ttfamily Gpg\+ Frontend\+ ::\+ Gpg\+ U\+ I\+ D\+ Operator\+ ::\+ Gpg\+ U\+ I\+ D\+ Operator (\begin { DoxyParamCaption} \item [{int}] { channel = { \ttfamily \mbox { \hyperlink { classGpgFrontend_ 1_ 1SingletonFunctionObject_ a50e2b3794d6553f4231eaec72d9d0a50} { Singleton\+ Function\+ Object\+ ::\+ Get\+ Default\+ Channel} } ()} } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [explicit]} }
2022-05-08 19:59:26 +00:00
2022-05-08 22:01:23 +00:00
Construct a new Gpg U\+ ID Opera object.
2022-05-08 19:59:26 +00:00
\begin { DoxyParams} { Parameters}
2022-05-08 22:01:23 +00:00
{ \em channel} & Copyright (C) 2021 Saturneric\\
2022-05-08 19:59:26 +00:00
\hline
\end { DoxyParams}
This file is part of \mbox { \hyperlink { namespaceGpgFrontend} { Gpg\+ Frontend} } .
2022-05-08 22:01:23 +00:00
\mbox { \hyperlink { namespaceGpgFrontend} { Gpg\+ Frontend} } is free software\+ : you can redistribute it and/or modify it under the terms of the G\+ NU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
2022-05-08 19:59:26 +00:00
2022-05-08 22:01:23 +00:00
\mbox { \hyperlink { namespaceGpgFrontend} { Gpg\+ Frontend} } is distributed in the hope that it will be useful, but W\+ I\+ T\+ H\+ O\+ UT A\+ NY W\+ A\+ R\+ R\+ A\+ N\+ TY; without even the implied warranty of M\+ E\+ R\+ C\+ H\+ A\+ N\+ T\+ A\+ B\+ I\+ L\+ I\+ TY or F\+ I\+ T\+ N\+ E\+ SS F\+ OR A P\+ A\+ R\+ T\+ I\+ C\+ U\+ L\+ AR P\+ U\+ R\+ P\+ O\+ SE. See the G\+ NU General Public License for more details.
2022-05-08 19:59:26 +00:00
2022-05-08 22:01:23 +00:00
You should have received a copy of the G\+ NU General Public License along with \mbox { \hyperlink { namespaceGpgFrontend} { Gpg\+ Frontend} } . If not, see \href { https://www.gnu.org/licenses/} { \texttt { https\+ ://www.\+ gnu.\+ org/licenses/} } .
2022-05-08 19:59:26 +00:00
2022-05-08 22:01:23 +00:00
The initial version of the source code is inherited from the gpg4usb project, which is under G\+ P\+ L-\/ 3.\+ 0-\/ or-\/ later.
2022-05-08 19:59:26 +00:00
All the source code of \mbox { \hyperlink { namespaceGpgFrontend} { Gpg\+ Frontend} } was modified and released by Saturneric\href { mailto:eric@bktus.com} { \texttt { eric@bktus.\+ com} } starting on May 12, 2021.
2022-05-08 22:01:23 +00:00
S\+ P\+ D\+ X-\/ \+ License-\/ \+ Identifier\+ : G\+ P\+ L-\/ 3.\+ 0-\/ or-\/ later
2022-05-08 19:59:26 +00:00
\doxysubsection { Member Function Documentation}
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgUIDOperator_ a672bbf74abac9140233c4e1c7864d15d} \label { classGpgFrontend_ 1_ 1GpgUIDOperator_ a672bbf74abac9140233c4e1c7864d15d} }
\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]} }
2022-05-08 22:01:23 +00:00
{ \footnotesize \ttfamily bool Gpg\+ Frontend\+ ::\+ Gpg\+ U\+ I\+ D\+ Operator\+ ::\+ Add\+ U\+ ID (\begin { DoxyParamCaption} \item [{const \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{Gpg\+Key}} \&}] { key, } \item [{const std\+::string \&}] { name, } \item [{const std\+::string \&}] { comment, } \item [{const std\+::string \&}] { email } \end { DoxyParamCaption} )}
2022-05-08 19:59:26 +00:00
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_ a7c0de570de59d4ebc6c0bed681119bf7} \label { classGpgFrontend_ 1_ 1GpgUIDOperator_ a7c0de570de59d4ebc6c0bed681119bf7} }
\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]} }
2022-05-08 22:01:23 +00:00
{ \footnotesize \ttfamily bool Gpg\+ Frontend\+ ::\+ Gpg\+ U\+ I\+ D\+ Operator\+ ::\+ Add\+ U\+ ID (\begin { DoxyParamCaption} \item [{const \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{Gpg\+Key}} \&}] { key, } \item [{const std\+::string \&}] { uid } \end { DoxyParamCaption} )}
2022-05-08 19:59:26 +00:00
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}
2022-05-08 22:01:23 +00:00
References Gpg\+ Frontend\+ ::check\+ \_ \+ gpg\+ \_ \+ error\+ \_ \+ 2\+ \_ \+ err\+ \_ \+ code().
2022-05-08 19:59:26 +00:00
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgUIDOperator_ a47f762666afbc806365877ff70947841} \label { classGpgFrontend_ 1_ 1GpgUIDOperator_ a47f762666afbc806365877ff70947841} }
\index { GpgFrontend::GpgUIDOperator@{ GpgFrontend::GpgUIDOperator} !RevUID@{ RevUID} }
\index { RevUID@{ RevUID} !GpgFrontend::GpgUIDOperator@{ GpgFrontend::GpgUIDOperator} }
\doxysubsubsection { \texorpdfstring { RevUID()} { RevUID()} }
2022-05-08 22:01:23 +00:00
{ \footnotesize \ttfamily bool Gpg\+ Frontend\+ ::\+ Gpg\+ U\+ I\+ D\+ Operator\+ ::\+ Rev\+ U\+ ID (\begin { DoxyParamCaption} \item [{const \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{Gpg\+Key}} \&}] { key, } \item [{const std\+::string \&}] { uid } \end { DoxyParamCaption} )}
2022-05-08 19:59:26 +00:00
2022-05-08 22:01:23 +00:00
Revoke(\+ Delete) U\+ ID from certain key pair
2022-05-08 19:59:26 +00:00
\begin { DoxyParams} { Parameters}
{ \em key} & target key pair \\
\hline
{ \em uid} & target uid \\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
if successful
\end { DoxyReturn}
2022-05-08 22:01:23 +00:00
References Gpg\+ Frontend\+ ::check\+ \_ \+ gpg\+ \_ \+ error(), and Gpg\+ Frontend\+ ::check\+ \_ \+ gpg\+ \_ \+ error\+ \_ \+ 2\+ \_ \+ err\+ \_ \+ code().
2022-05-08 19:59:26 +00:00
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgUIDOperator_ acbdabec97df508382b0c9b1fffbf1dd5} \label { classGpgFrontend_ 1_ 1GpgUIDOperator_ acbdabec97df508382b0c9b1fffbf1dd5} }
\index { GpgFrontend::GpgUIDOperator@{ GpgFrontend::GpgUIDOperator} !SetPrimaryUID@{ SetPrimaryUID} }
\index { SetPrimaryUID@{ SetPrimaryUID} !GpgFrontend::GpgUIDOperator@{ GpgFrontend::GpgUIDOperator} }
\doxysubsubsection { \texorpdfstring { SetPrimaryUID()} { SetPrimaryUID()} }
2022-05-08 22:01:23 +00:00
{ \footnotesize \ttfamily bool Gpg\+ Frontend\+ ::\+ Gpg\+ U\+ I\+ D\+ Operator\+ ::\+ Set\+ Primary\+ U\+ ID (\begin { DoxyParamCaption} \item [{const \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{Gpg\+Key}} \&}] { key, } \item [{const std\+::string \&}] { uid } \end { DoxyParamCaption} )}
2022-05-08 19:59:26 +00:00
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}
2022-05-08 22:01:23 +00:00
References Gpg\+ Frontend\+ ::check\+ \_ \+ gpg\+ \_ \+ error(), and Gpg\+ Frontend\+ ::check\+ \_ \+ gpg\+ \_ \+ error\+ \_ \+ 2\+ \_ \+ err\+ \_ \+ code().
2022-05-08 19:59:26 +00:00
\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\_ } }
2022-05-08 22:01:23 +00:00
{ \footnotesize \ttfamily \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgContext} { Gpg\+ Context} } \& Gpg\+ Frontend\+ ::\+ Gpg\+ U\+ I\+ D\+ Operator\+ ::ctx\+ \_ \+ \hspace { 0.3cm} { \ttfamily [private]} }
2022-05-08 19:59:26 +00:00
{ \bfseries Initial value\+ :}
\begin { DoxyCode} { 0}
\DoxyCodeLine { =}
2022-05-08 22:01:23 +00:00
\DoxyCodeLine { \mbox { \hyperlink { classGpgFrontend_ 1_ 1SingletonFunctionObject_ a70484d7cfe9f9dcbcd5f8bb749250f36} { GpgContext::GetInstance} } (\mbox { \hyperlink { classGpgFrontend_ 1_ 1SingletonFunctionObject_ aa99440b9177f5d0c18840f08a40d64b7} { SingletonFunctionObject::GetChannel} } ())}
2022-05-08 19:59:26 +00:00
\end { DoxyCode}
The documentation for this class was generated from the following files\+ :\begin { DoxyCompactItemize}
\item
2022-05-08 22:01:23 +00:00
src/core/function/gpg/Gpg\+ U\+ I\+ D\+ Operator.\+ h\item
src/core/function/gpg/Gpg\+ U\+ I\+ D\+ Operator.\+ cpp\end { DoxyCompactItemize}