2022-05-08 19:59:26 +00:00
\hypertarget { classGpgFrontend_ 1_ 1GpgKeyGetter} { } \doxysection { Gpg\+ Frontend\+ ::Gpg\+ Key\+ Getter Class Reference}
\label { classGpgFrontend_ 1_ 1GpgKeyGetter} \index { GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} }
Inheritance diagram for Gpg\+ Frontend\+ ::Gpg\+ Key\+ Getter\+ :
2022-05-08 22:01:23 +00:00
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [height=550pt] { classGpgFrontend_ 1_ 1GpgKeyGetter_ _ inherit_ _ graph}
\end { center}
\end { figure}
2022-05-08 19:59:26 +00:00
Collaboration diagram for Gpg\+ Frontend\+ ::Gpg\+ Key\+ Getter\+ :
2022-05-08 22:01:23 +00:00
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { classGpgFrontend_ 1_ 1GpgKeyGetter_ _ coll_ _ graph}
\end { center}
\end { figure}
2022-05-08 19:59:26 +00:00
\doxysubsection * { Public Member Functions}
\begin { DoxyCompactItemize}
\item
\mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKeyGetter_ a8eeee9f6dd74dc24c24794ce63c62285} { Gpg\+ Key\+ Getter} } (int channel=\mbox { \hyperlink { classGpgFrontend_ 1_ 1SingletonFunctionObject_ a50e2b3794d6553f4231eaec72d9d0a50} { Singleton\+ Function\+ Object\+ ::\+ Get\+ Default\+ Channel} } ())
\begin { DoxyCompactList} \small \item \em Construct a new Gpg Key Getter object. \end { DoxyCompactList} \item
2022-05-13 05:54:27 +00:00
\mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKey} { Gpg\+ Key} } \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKeyGetter_ a94243d09c9418c8ebf0c7cdab4a2b7f1} { Get\+ Key} } (const std\+ ::string \& id, bool use\+ \_ \+ cache=true)
2022-05-08 19:59:26 +00:00
\begin { DoxyCompactList} \small \item \em Get the Key object. \end { DoxyCompactList} \item
Key\+ List\+ Ptr \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKeyGetter_ aa5979c21af58b874b33c203752dcc805} { Get\+ Keys} } (const Key\+ Id\+ Args\+ List\+ Ptr \& ids)
\begin { DoxyCompactList} \small \item \em Get the Keys object. \end { DoxyCompactList} \item
2022-05-13 05:54:27 +00:00
\mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKey} { Gpg\+ Key} } \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKeyGetter_ a7a8bc7c0f12a11e108051e4c824fc430} { Get\+ Pubkey} } (const std\+ ::string \& id, bool use\+ \_ \+ cache=true)
2022-05-08 19:59:26 +00:00
\begin { DoxyCompactList} \small \item \em Get the Pubkey object. \end { DoxyCompactList} \item
Key\+ Link\+ List\+ Ptr \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKeyGetter_ afe78ac470287d70e7df51aae327b9f54} { Fetch\+ Key} } ()
2022-05-09 15:32:58 +00:00
\begin { DoxyCompactList} \small \item \em Get all the keys by receiving a linked list. \end { DoxyCompactList} \item
void \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKeyGetter_ ad9a902ea54566d4583304b072c4add51} { Flush\+ Key\+ Cache} } ()
\begin { DoxyCompactList} \small \item \em flush the keys in the cache \end { DoxyCompactList} \item
Key\+ List\+ Ptr \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKeyGetter_ a7ec8d8431a771c602cbfa946d13d6c74} { Get\+ Keys\+ Copy} } (const Key\+ List\+ Ptr \& keys)
2022-05-08 19:59:26 +00:00
\begin { DoxyCompactList} \small \item \em Get the Keys Copy object. \end { DoxyCompactList} \item
2022-05-09 15:32:58 +00:00
Key\+ Link\+ List\+ Ptr \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKeyGetter_ a028fe69516a51c526bbd2ec4235053ad} { Get\+ Keys\+ Copy} } (const Key\+ Link\+ List\+ Ptr \& keys)
2022-05-08 19:59:26 +00:00
\begin { DoxyCompactList} \small \item \em Get the Keys Copy object. \end { DoxyCompactList} \end { DoxyCompactItemize}
2022-05-13 05:54:27 +00:00
\doxysubsection * { Private Member Functions}
2022-05-08 19:59:26 +00:00
\begin { DoxyCompactItemize}
\item
2022-05-13 05:54:27 +00:00
\mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKey} { Gpg\+ Key} } \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKeyGetter_ ab5196ef4ed5323fc2af70abf801ea260} { get\+ \_ \+ key\+ \_ \+ in\+ \_ \+ cache} } (const std\+ ::string \& id)
\begin { DoxyCompactList} \small \item \em Get the Key object. \end { DoxyCompactList} \end { DoxyCompactItemize}
\doxysubsection * { Private Attributes}
\begin { DoxyCompactItemize}
2022-05-09 15:32:58 +00:00
\item
2022-05-13 05:54:27 +00:00
\mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgContext} { Gpg\+ Context} } \& \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKeyGetter_ aa4aef315d82123726be879097d3df147} { ctx\+ \_ \+ } }
\begin { DoxyCompactList} \small \item \em Get the gpgme context object. \end { DoxyCompactList} \item
2022-05-09 15:32:58 +00:00
std\+ ::mutex \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKeyGetter_ a81941e1f562dc22977a71d00dd10956a} { ctx\+ \_ \+ mutex\+ \_ \+ } }
\begin { DoxyCompactList} \small \item \em shared mutex for the keys cache \end { DoxyCompactList} \item
std\+ ::map$ < $ std\+ ::string, \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKey} { Gpg\+ Key} } $ > $ \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKeyGetter_ a9567d5e08ae73c5bafcd1dc378fed066} { keys\+ \_ \+ cache\+ \_ \+ } }
2022-05-13 05:54:27 +00:00
\begin { DoxyCompactList} \small \item \em cache the keys with key id \end { DoxyCompactList} \item
2022-05-09 15:32:58 +00:00
std\+ ::mutex \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKeyGetter_ ae1d7846ad2fa17ab90c72b3186ba5335} { keys\+ \_ \+ cache\+ \_ \+ mutex\+ \_ \+ } }
\begin { DoxyCompactList} \small \item \em shared mutex for the keys cache \end { DoxyCompactList} \end { DoxyCompactItemize}
2022-05-08 19:59:26 +00:00
\doxysubsection * { Additional Inherited Members}
\doxysubsection { Constructor \& Destructor Documentation}
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgKeyGetter_ a8eeee9f6dd74dc24c24794ce63c62285} \label { classGpgFrontend_ 1_ 1GpgKeyGetter_ a8eeee9f6dd74dc24c24794ce63c62285} }
\index { GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} !GpgKeyGetter@{ GpgKeyGetter} }
\index { GpgKeyGetter@{ GpgKeyGetter} !GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} }
\doxysubsubsection { \texorpdfstring { GpgKeyGetter()} { GpgKeyGetter()} }
{ \footnotesize \ttfamily Gpg\+ Frontend\+ ::\+ Gpg\+ Key\+ Getter\+ ::\+ Gpg\+ Key\+ Getter (\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]} }
Construct a new Gpg Key Getter object.
\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_ 1GpgKeyGetter_ afe78ac470287d70e7df51aae327b9f54} \label { classGpgFrontend_ 1_ 1GpgKeyGetter_ afe78ac470287d70e7df51aae327b9f54} }
\index { GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} !FetchKey@{ FetchKey} }
\index { FetchKey@{ FetchKey} !GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} }
\doxysubsubsection { \texorpdfstring { FetchKey()} { FetchKey()} }
{ \footnotesize \ttfamily Gpg\+ Frontend\+ ::\+ Key\+ Link\+ List\+ Ptr Gpg\+ Frontend\+ ::\+ Gpg\+ Key\+ Getter\+ ::\+ Fetch\+ Key (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )}
2022-05-09 15:32:58 +00:00
Get all the keys by receiving a linked list.
2022-05-08 19:59:26 +00:00
\begin { DoxyReturn} { Returns}
Key\+ Link\+ List\+ Ptr
\end { DoxyReturn}
2022-05-09 15:32:58 +00:00
Referenced by Gpg\+ Frontend\+ ::\+ U\+ I\+ ::\+ Key\+ Table\+ ::\+ Refresh().
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgKeyGetter_ ad9a902ea54566d4583304b072c4add51} \label { classGpgFrontend_ 1_ 1GpgKeyGetter_ ad9a902ea54566d4583304b072c4add51} }
\index { GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} !FlushKeyCache@{ FlushKeyCache} }
\index { FlushKeyCache@{ FlushKeyCache} !GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} }
\doxysubsubsection { \texorpdfstring { FlushKeyCache()} { FlushKeyCache()} }
{ \footnotesize \ttfamily void Gpg\+ Frontend\+ ::\+ Gpg\+ Key\+ Getter\+ ::\+ Flush\+ Key\+ Cache (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )}
flush the keys in the cache
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
2022-05-13 17:46:04 +00:00
Referenced by Gpg\+ Frontend\+ ::\+ Thread\+ ::\+ Ctx\+ Check\+ Task\+ ::\+ Run(), and Gpg\+ Frontend\+ ::\+ U\+ I\+ ::\+ Common\+ Utils\+ ::slot\+ \_ \+ update\+ \_ \+ key\+ \_ \+ status().
2022-05-08 19:59:26 +00:00
2022-05-13 05:54:27 +00:00
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgKeyGetter_ ab5196ef4ed5323fc2af70abf801ea260} \label { classGpgFrontend_ 1_ 1GpgKeyGetter_ ab5196ef4ed5323fc2af70abf801ea260} }
\index { GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} !get\_ key\_ in\_ cache@{ get\_ key\_ in\_ cache} }
\index { get\_ key\_ in\_ cache@{ get\_ key\_ in\_ cache} !GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} }
\doxysubsubsection { \texorpdfstring { get\_ key\_ in\_ cache()} { get\_ key\_ in\_ cache()} }
{ \footnotesize \ttfamily \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKey} { Gpg\+ Frontend\+ ::\+ Gpg\+ Key} } Gpg\+ Frontend\+ ::\+ Gpg\+ Key\+ Getter\+ ::get\+ \_ \+ key\+ \_ \+ in\+ \_ \+ cache (\begin { DoxyParamCaption} \item [{const std\+::string \&}] { id } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Get the Key object.
\begin { DoxyParams} { Parameters}
{ \em id} & \\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
\mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKey} { Gpg\+ Key} }
\end { DoxyReturn}
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgKeyGetter_ a94243d09c9418c8ebf0c7cdab4a2b7f1} \label { classGpgFrontend_ 1_ 1GpgKeyGetter_ a94243d09c9418c8ebf0c7cdab4a2b7f1} }
2022-05-08 19:59:26 +00:00
\index { GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} !GetKey@{ GetKey} }
\index { GetKey@{ GetKey} !GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} }
\doxysubsubsection { \texorpdfstring { GetKey()} { GetKey()} }
2022-05-13 05:54:27 +00:00
{ \footnotesize \ttfamily \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKey} { Gpg\+ Frontend\+ ::\+ Gpg\+ Key} } Gpg\+ Frontend\+ ::\+ Gpg\+ Key\+ Getter\+ ::\+ Get\+ Key (\begin { DoxyParamCaption} \item [{const std\+::string \&}] { id, } \item [{bool}] { use\+ \_ \+ cache = { \ttfamily true} } \end { DoxyParamCaption} )}
2022-05-08 19:59:26 +00:00
Get the Key object.
\begin { DoxyParams} { Parameters}
{ \em fpr} & \\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
\mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKey} { Gpg\+ Key} }
\end { DoxyReturn}
2022-05-08 22:01:23 +00:00
Referenced by Gpg\+ Frontend\+ ::\+ U\+ I\+ ::\+ Verify\+ Key\+ Detail\+ Box\+ ::create\+ \_ \+ key\+ \_ \+ info\+ \_ \+ grid(), Gpg\+ Frontend\+ ::\+ U\+ I\+ ::\+ Key\+ Import\+ Detail\+ Dialog\+ ::create\+ \_ \+ keys\+ \_ \+ table(), Gpg\+ Frontend\+ ::\+ U\+ I\+ ::\+ Key\+ Mgmt\+ ::delete\+ \_ \+ keys\+ \_ \+ with\+ \_ \+ warning(), Gpg\+ Frontend\+ ::\+ Gpg\+ Key\+ Opera\+ ::\+ Delete\+ Keys(), Gpg\+ Frontend\+ ::\+ Gpg\+ Decrypt\+ Result\+ Analyse\+ ::print\+ \_ \+ recipient(), Gpg\+ Frontend\+ ::\+ Gpg\+ Verify\+ Result\+ Analyse\+ ::print\+ \_ \+ signer(), Gpg\+ Frontend\+ ::\+ U\+ I\+ ::\+ Main\+ Window\+ ::slot\+ \_ \+ copy\+ \_ \+ mail\+ \_ \+ address\+ \_ \+ to\+ \_ \+ clipboard(), Gpg\+ Frontend\+ ::\+ U\+ I\+ ::\+ Key\+ List\+ ::slot\+ \_ \+ double\+ \_ \+ clicked(), and Gpg\+ Frontend\+ ::\+ U\+ I\+ ::\+ Main\+ Window\+ ::slot\+ \_ \+ show\+ \_ \+ key\+ \_ \+ details().
2022-05-08 19:59:26 +00:00
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgKeyGetter_ aa5979c21af58b874b33c203752dcc805} \label { classGpgFrontend_ 1_ 1GpgKeyGetter_ aa5979c21af58b874b33c203752dcc805} }
\index { GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} !GetKeys@{ GetKeys} }
\index { GetKeys@{ GetKeys} !GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} }
\doxysubsubsection { \texorpdfstring { GetKeys()} { GetKeys()} }
{ \footnotesize \ttfamily Gpg\+ Frontend\+ ::\+ Key\+ List\+ Ptr Gpg\+ Frontend\+ ::\+ Gpg\+ Key\+ Getter\+ ::\+ Get\+ Keys (\begin { DoxyParamCaption} \item [{const Key\+Id\+Args\+List\+Ptr \&}] { ids } \end { DoxyParamCaption} )}
Get the Keys object.
\begin { DoxyParams} { Parameters}
{ \em ids} & \\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
Key\+ List\+ Ptr
\end { DoxyReturn}
2022-05-08 22:01:23 +00:00
Referenced by Gpg\+ Frontend\+ ::\+ Gpg\+ Key\+ Import\+ Exporter\+ ::\+ Export\+ Keys(), Gpg\+ Frontend\+ ::\+ U\+ I\+ ::\+ Main\+ Window\+ ::slot\+ \_ \+ encrypt(), Gpg\+ Frontend\+ ::\+ U\+ I\+ ::\+ Main\+ Window\+ ::slot\+ \_ \+ encrypt\+ \_ \+ sign(), Gpg\+ Frontend\+ ::\+ U\+ I\+ ::\+ Main\+ Window\+ ::slot\+ \_ \+ sign(), Gpg\+ Frontend\+ ::\+ U\+ I\+ ::\+ Key\+ U\+ I\+ D\+ Sign\+ Dialog\+ ::slot\+ \_ \+ sign\+ \_ \+ key(), Gpg\+ Frontend\+ ::\+ U\+ I\+ ::\+ Main\+ Window\+ ::\+ Slot\+ File\+ Encrypt(), Gpg\+ Frontend\+ ::\+ U\+ I\+ ::\+ Main\+ Window\+ ::\+ Slot\+ File\+ Encrypt\+ Sign(), and Gpg\+ Frontend\+ ::\+ U\+ I\+ ::\+ Main\+ Window\+ ::\+ Slot\+ File\+ Sign().
2022-05-08 19:59:26 +00:00
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgKeyGetter_ a028fe69516a51c526bbd2ec4235053ad} \label { classGpgFrontend_ 1_ 1GpgKeyGetter_ a028fe69516a51c526bbd2ec4235053ad} }
\index { GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} !GetKeysCopy@{ GetKeysCopy} }
\index { GetKeysCopy@{ GetKeysCopy} !GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} }
\doxysubsubsection { \texorpdfstring { GetKeysCopy()} { GetKeysCopy()} \hspace { 0.1cm} { \footnotesize \ttfamily [1/2]} }
2022-05-09 15:32:58 +00:00
{ \footnotesize \ttfamily Gpg\+ Frontend\+ ::\+ Key\+ Link\+ List\+ Ptr Gpg\+ Frontend\+ ::\+ Gpg\+ Key\+ Getter\+ ::\+ Get\+ Keys\+ Copy (\begin { DoxyParamCaption} \item [{const Key\+Link\+List\+Ptr \&}] { keys } \end { DoxyParamCaption} )}
2022-05-08 19:59:26 +00:00
Get the Keys Copy object.
\begin { DoxyParams} { Parameters}
{ \em keys} & \\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
Key\+ Link\+ List\+ Ptr
\end { DoxyReturn}
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgKeyGetter_ a7ec8d8431a771c602cbfa946d13d6c74} \label { classGpgFrontend_ 1_ 1GpgKeyGetter_ a7ec8d8431a771c602cbfa946d13d6c74} }
\index { GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} !GetKeysCopy@{ GetKeysCopy} }
\index { GetKeysCopy@{ GetKeysCopy} !GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} }
\doxysubsubsection { \texorpdfstring { GetKeysCopy()} { GetKeysCopy()} \hspace { 0.1cm} { \footnotesize \ttfamily [2/2]} }
2022-05-09 15:32:58 +00:00
{ \footnotesize \ttfamily Gpg\+ Frontend\+ ::\+ Key\+ List\+ Ptr Gpg\+ Frontend\+ ::\+ Gpg\+ Key\+ Getter\+ ::\+ Get\+ Keys\+ Copy (\begin { DoxyParamCaption} \item [{const Key\+List\+Ptr \&}] { keys } \end { DoxyParamCaption} )}
2022-05-08 19:59:26 +00:00
Get the Keys Copy object.
\begin { DoxyParams} { Parameters}
{ \em keys} & \\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
Key\+ List\+ Ptr
\end { DoxyReturn}
2022-05-13 05:54:27 +00:00
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgKeyGetter_ a7a8bc7c0f12a11e108051e4c824fc430} \label { classGpgFrontend_ 1_ 1GpgKeyGetter_ a7a8bc7c0f12a11e108051e4c824fc430} }
2022-05-08 19:59:26 +00:00
\index { GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} !GetPubkey@{ GetPubkey} }
\index { GetPubkey@{ GetPubkey} !GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} }
\doxysubsubsection { \texorpdfstring { GetPubkey()} { GetPubkey()} }
2022-05-13 05:54:27 +00:00
{ \footnotesize \ttfamily \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKey} { Gpg\+ Frontend\+ ::\+ Gpg\+ Key} } Gpg\+ Frontend\+ ::\+ Gpg\+ Key\+ Getter\+ ::\+ Get\+ Pubkey (\begin { DoxyParamCaption} \item [{const std\+::string \&}] { id, } \item [{bool}] { use\+ \_ \+ cache = { \ttfamily true} } \end { DoxyParamCaption} )}
2022-05-08 19:59:26 +00:00
Get the Pubkey object.
\begin { DoxyParams} { Parameters}
{ \em fpr} & \\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
\mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKey} { Gpg\+ Key} }
\end { DoxyReturn}
\doxysubsection { Member Data Documentation}
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgKeyGetter_ aa4aef315d82123726be879097d3df147} \label { classGpgFrontend_ 1_ 1GpgKeyGetter_ aa4aef315d82123726be879097d3df147} }
\index { GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} !ctx\_ @{ ctx\_ } }
\index { ctx\_ @{ ctx\_ } !GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} }
\doxysubsubsection { \texorpdfstring { ctx\_ } { ctx\_ } }
{ \footnotesize \ttfamily \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgContext} { Gpg\+ Context} } \& Gpg\+ Frontend\+ ::\+ Gpg\+ Key\+ Getter\+ ::ctx\+ \_ \+ \hspace { 0.3cm} { \ttfamily [private]} }
{ \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}
2022-05-13 05:54:27 +00:00
Get the gpgme context object.
2022-05-09 15:32:58 +00:00
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgKeyGetter_ a81941e1f562dc22977a71d00dd10956a} \label { classGpgFrontend_ 1_ 1GpgKeyGetter_ a81941e1f562dc22977a71d00dd10956a} }
\index { GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} !ctx\_ mutex\_ @{ ctx\_ mutex\_ } }
\index { ctx\_ mutex\_ @{ ctx\_ mutex\_ } !GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} }
\doxysubsubsection { \texorpdfstring { ctx\_ mutex\_ } { ctx\_ mutex\_ } }
{ \footnotesize \ttfamily std\+ ::mutex Gpg\+ Frontend\+ ::\+ Gpg\+ Key\+ Getter\+ ::ctx\+ \_ \+ mutex\+ \_ \+ \hspace { 0.3cm} { \ttfamily [mutable]} , { \ttfamily [private]} }
shared mutex for the keys cache
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgKeyGetter_ a9567d5e08ae73c5bafcd1dc378fed066} \label { classGpgFrontend_ 1_ 1GpgKeyGetter_ a9567d5e08ae73c5bafcd1dc378fed066} }
\index { GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} !keys\_ cache\_ @{ keys\_ cache\_ } }
\index { keys\_ cache\_ @{ keys\_ cache\_ } !GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} }
\doxysubsubsection { \texorpdfstring { keys\_ cache\_ } { keys\_ cache\_ } }
{ \footnotesize \ttfamily std\+ ::map$ < $ std\+ ::string, \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgKey} { Gpg\+ Key} } $ > $ Gpg\+ Frontend\+ ::\+ Gpg\+ Key\+ Getter\+ ::keys\+ \_ \+ cache\+ \_ \+ \hspace { 0.3cm} { \ttfamily [private]} }
2022-05-13 05:54:27 +00:00
cache the keys with key id
2022-05-09 15:32:58 +00:00
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgKeyGetter_ ae1d7846ad2fa17ab90c72b3186ba5335} \label { classGpgFrontend_ 1_ 1GpgKeyGetter_ ae1d7846ad2fa17ab90c72b3186ba5335} }
\index { GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} !keys\_ cache\_ mutex\_ @{ keys\_ cache\_ mutex\_ } }
\index { keys\_ cache\_ mutex\_ @{ keys\_ cache\_ mutex\_ } !GpgFrontend::GpgKeyGetter@{ GpgFrontend::GpgKeyGetter} }
\doxysubsubsection { \texorpdfstring { keys\_ cache\_ mutex\_ } { keys\_ cache\_ mutex\_ } }
{ \footnotesize \ttfamily std\+ ::mutex Gpg\+ Frontend\+ ::\+ Gpg\+ Key\+ Getter\+ ::keys\+ \_ \+ cache\+ \_ \+ mutex\+ \_ \+ \hspace { 0.3cm} { \ttfamily [mutable]} , { \ttfamily [private]} }
shared mutex for the keys cache
2022-05-08 19:59:26 +00:00
The documentation for this class was generated from the following files\+ :\begin { DoxyCompactItemize}
\item
src/core/function/gpg/Gpg\+ Key\+ Getter.\+ h\item
src/core/function/gpg/Gpg\+ Key\+ Getter.\+ cpp\end { DoxyCompactItemize}