2022-05-08 19:59:26 +00:00
\hypertarget { classGpgFrontend_ 1_ 1GpgContext} { } \doxysection { Gpg\+ Frontend\+ ::Gpg\+ Context Class Reference}
\label { classGpgFrontend_ 1_ 1GpgContext} \index { GpgFrontend::GpgContext@{ GpgFrontend::GpgContext} }
Inheritance diagram for Gpg\+ Frontend\+ ::Gpg\+ Context\+ :
2022-05-08 22:01:23 +00:00
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [height=550pt] { classGpgFrontend_ 1_ 1GpgContext_ _ inherit_ _ graph}
\end { center}
\end { figure}
2022-05-08 19:59:26 +00:00
Collaboration diagram for Gpg\+ Frontend\+ ::Gpg\+ Context\+ :
2022-05-08 22:01:23 +00:00
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { classGpgFrontend_ 1_ 1GpgContext_ _ coll_ _ graph}
\end { center}
\end { figure}
2022-05-08 19:59:26 +00:00
\doxysubsection * { Classes}
\begin { DoxyCompactItemize}
\item
struct \mbox { \hyperlink { structGpgFrontend_ 1_ 1GpgContext_ 1_ 1_ _ ctx_ _ ref_ _ deleter} { \+ \_ \+ ctx\+ \_ \+ ref\+ \_ \+ deleter} }
\end { DoxyCompactItemize}
\doxysubsection * { Public Member Functions}
\begin { DoxyCompactItemize}
\item
\mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgContext_ a39882b323569987592231f722a2ef147} { Gpg\+ Context} } (const \mbox { \hyperlink { structGpgFrontend_ 1_ 1GpgContextInitArgs} { Gpg\+ Context\+ Init\+ Args} } \& args=\{ \} )
\begin { DoxyCompactList} \small \item \em Construct a new Gpg Context object. \end { DoxyCompactList} \item
\mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgContext_ a2429d3f9daa189b4d5d8624c9f4d528b} { Gpg\+ Context} } (int channel)
\begin { DoxyCompactList} \small \item \em Construct a new Gpg Context object. \end { DoxyCompactList} \item
2022-11-26 18:19:17 +00:00
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgContext_ ae89dee551354c1541337881898832725} \label { classGpgFrontend_ 1_ 1GpgContext_ ae89dee551354c1541337881898832725} }
2022-05-08 22:01:23 +00:00
\mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgContext_ ae89dee551354c1541337881898832725} { $ \sim $ \+ Gpg\+ Context} } () override=default
2022-05-08 19:59:26 +00:00
\begin { DoxyCompactList} \small \item \em Destroy the Gpg Context object. \end { DoxyCompactList} \item
bool \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgContext_ a73c505a2f3d39d1638dc4d9a3e13a913} { good} } () const
\item
2022-05-08 22:01:23 +00:00
const \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgInfo} { Gpg\+ Info} } \& \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgContext_ ad9af3461de36f74ee85be2523f6038e2} { Get\+ Info} } () const
2022-05-08 19:59:26 +00:00
\begin { DoxyCompactList} \small \item \em Get the Info object. \end { DoxyCompactList} \item
\mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgContext_ a5b419175bd9927f3d449637db8ba6524} { operator gpgme\+ \_ \+ ctx\+ \_ \+ t} } () const
\item
void \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgContext_ a3399fc60086ff5010a089bff48bbc63c} { Set\+ Passphrase\+ Cb} } (gpgme\+ \_ \+ passphrase\+ \_ \+ cb\+ \_ \+ t func) const
\begin { DoxyCompactList} \small \item \em Set the Passphrase Cb object. \end { DoxyCompactList} \end { DoxyCompactItemize}
\doxysubsection * { Static Public Member Functions}
\begin { DoxyCompactItemize}
\item
static gpgme\+ \_ \+ error\+ \_ \+ t \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgContext_ acc4234054002065dfbc5d5261a4950d4} { test\+ \_ \+ passphrase\+ \_ \+ cb} } (void $ \ast $ opaque, const char $ \ast $ uid\+ \_ \+ hint, const char $ \ast $ passphrase\+ \_ \+ info, int last\+ \_ \+ was\+ \_ \+ bad, int fd)
\item
static gpgme\+ \_ \+ error\+ \_ \+ t \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgContext_ a3844cd0966134939e5c4be9a725e5271} { test\+ \_ \+ status\+ \_ \+ cb} } (void $ \ast $ hook, const char $ \ast $ keyword, const char $ \ast $ args)
\end { DoxyCompactItemize}
\doxysubsection * { Private Types}
\begin { DoxyCompactItemize}
\item
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgContext_ aeafe3f6d1d97d63aeefa428cce23bc59} \label { classGpgFrontend_ 1_ 1GpgContext_ aeafe3f6d1d97d63aeefa428cce23bc59} }
using { \bfseries Ctx\+ Ref\+ Handler} = std\+ ::unique\+ \_ \+ ptr$ < $ struct gpgme\+ \_ \+ context, \mbox { \hyperlink { structGpgFrontend_ 1_ 1GpgContext_ 1_ 1_ _ ctx_ _ ref_ _ deleter} { \+ \_ \+ ctx\+ \_ \+ ref\+ \_ \+ deleter} } $ > $
\end { DoxyCompactItemize}
\doxysubsection * { Private Member Functions}
\begin { DoxyCompactItemize}
\item
void \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgContext_ a3377fd6a325aafc18c119431f602db9b} { init\+ \_ \+ ctx} } ()
\end { DoxyCompactItemize}
\doxysubsection * { Private Attributes}
\begin { DoxyCompactItemize}
\item
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgContext_ a838e2ec5571dc810af7c075c28d630db} \label { classGpgFrontend_ 1_ 1GpgContext_ a838e2ec5571dc810af7c075c28d630db} }
\mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgInfo} { Gpg\+ Info} } { \bfseries info\+ \_ \+ }
\item
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgContext_ a4765cccf9f994a9c7b3d962a24bed77e} \label { classGpgFrontend_ 1_ 1GpgContext_ a4765cccf9f994a9c7b3d962a24bed77e} }
\mbox { \hyperlink { structGpgFrontend_ 1_ 1GpgContextInitArgs} { Gpg\+ Context\+ Init\+ Args} } { \bfseries args\+ \_ \+ }
\item
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgContext_ aaf3f5b4528b35bf0dc7a50163224a9a3} \label { classGpgFrontend_ 1_ 1GpgContext_ aaf3f5b4528b35bf0dc7a50163224a9a3} }
Ctx\+ Ref\+ Handler { \bfseries \+ \_ \+ ctx\+ \_ \+ ref} = nullptr
\item
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgContext_ a01e46d0718b61a224a52028b9da90468} \label { classGpgFrontend_ 1_ 1GpgContext_ a01e46d0718b61a224a52028b9da90468} }
bool { \bfseries good\+ \_ \+ } = true
\end { DoxyCompactItemize}
\doxysubsection * { Additional Inherited Members}
\doxysubsection { Constructor \& Destructor Documentation}
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgContext_ a39882b323569987592231f722a2ef147} \label { classGpgFrontend_ 1_ 1GpgContext_ a39882b323569987592231f722a2ef147} }
\index { GpgFrontend::GpgContext@{ GpgFrontend::GpgContext} !GpgContext@{ GpgContext} }
\index { GpgContext@{ GpgContext} !GpgFrontend::GpgContext@{ GpgFrontend::GpgContext} }
\doxysubsubsection { \texorpdfstring { GpgContext()} { GpgContext()} \hspace { 0.1cm} { \footnotesize \ttfamily [1/2]} }
{ \footnotesize \ttfamily Gpg\+ Frontend\+ ::\+ Gpg\+ Context\+ ::\+ Gpg\+ Context (\begin { DoxyParamCaption} \item [{const \mbox{\hyperlink{structGpgFrontend_1_1GpgContextInitArgs}{Gpg\+Context\+Init\+Args}} \&}] { args = { \ttfamily \{ \} } } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [explicit]} }
Construct a new Gpg Context object.
\begin { DoxyParams} { Parameters}
2022-05-08 22:01:23 +00:00
{ \em args} & Constructor Set up gpgme-\/ context, set paths to app-\/ run path \\
2022-05-08 19:59:26 +00:00
\hline
\end { DoxyParams}
2022-05-08 22:01:23 +00:00
References Gpg\+ Frontend\+ ::\+ Gpg\+ Info\+ ::\+ App\+ Path, Gpg\+ Frontend\+ ::check\+ \_ \+ gpg\+ \_ \+ error(), Gpg\+ Frontend\+ ::check\+ \_ \+ gpg\+ \_ \+ error\+ \_ \+ 2\+ \_ \+ err\+ \_ \+ code(), and init\+ \_ \+ ctx().
2022-05-08 19:59:26 +00:00
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgContext_ a2429d3f9daa189b4d5d8624c9f4d528b} \label { classGpgFrontend_ 1_ 1GpgContext_ a2429d3f9daa189b4d5d8624c9f4d528b} }
\index { GpgFrontend::GpgContext@{ GpgFrontend::GpgContext} !GpgContext@{ GpgContext} }
\index { GpgContext@{ GpgContext} !GpgFrontend::GpgContext@{ GpgFrontend::GpgContext} }
\doxysubsubsection { \texorpdfstring { GpgContext()} { GpgContext()} \hspace { 0.1cm} { \footnotesize \ttfamily [2/2]} }
{ \footnotesize \ttfamily Gpg\+ Frontend\+ ::\+ Gpg\+ Context\+ ::\+ Gpg\+ Context (\begin { DoxyParamCaption} \item [{int}] { channel } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [explicit]} }
Construct a new Gpg Context object.
\begin { DoxyParams} { Parameters}
{ \em channel} & \\
\hline
\end { DoxyParams}
\doxysubsection { Member Function Documentation}
2022-05-08 22:01:23 +00:00
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgContext_ ad9af3461de36f74ee85be2523f6038e2} \label { classGpgFrontend_ 1_ 1GpgContext_ ad9af3461de36f74ee85be2523f6038e2} }
2022-05-08 19:59:26 +00:00
\index { GpgFrontend::GpgContext@{ GpgFrontend::GpgContext} !GetInfo@{ GetInfo} }
\index { GetInfo@{ GetInfo} !GpgFrontend::GpgContext@{ GpgFrontend::GpgContext} }
\doxysubsubsection { \texorpdfstring { GetInfo()} { GetInfo()} }
2022-05-08 22:01:23 +00:00
{ \footnotesize \ttfamily const \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgInfo} { Gpg\+ Info} } \& Gpg\+ Frontend\+ ::\+ Gpg\+ Context\+ ::\+ Get\+ Info (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} ) const\hspace { 0.3cm} { \ttfamily [inline]} }
2022-05-08 19:59:26 +00:00
Get the Info object.
\begin { DoxyReturn} { Returns}
const \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgInfo} { Gpg\+ Info} } \&
\end { DoxyReturn}
2022-11-26 18:19:17 +00:00
Referenced by Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Gnupg\+ Tab\+ ::\+ Gnupg\+ Tab(), and Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Common\+ Utils\+ ::\+ Slot\+ Execute\+ Gpg\+ Command().
2022-05-08 19:59:26 +00:00
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgContext_ a73c505a2f3d39d1638dc4d9a3e13a913} \label { classGpgFrontend_ 1_ 1GpgContext_ a73c505a2f3d39d1638dc4d9a3e13a913} }
\index { GpgFrontend::GpgContext@{ GpgFrontend::GpgContext} !good@{ good} }
\index { good@{ good} !GpgFrontend::GpgContext@{ GpgFrontend::GpgContext} }
\doxysubsubsection { \texorpdfstring { good()} { good()} }
{ \footnotesize \ttfamily bool Gpg\+ Frontend\+ ::\+ Gpg\+ Context\+ ::good (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} ) const}
\begin { DoxyReturn} { Returns}
true
false
\end { DoxyReturn}
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgContext_ a3377fd6a325aafc18c119431f602db9b} \label { classGpgFrontend_ 1_ 1GpgContext_ a3377fd6a325aafc18c119431f602db9b} }
\index { GpgFrontend::GpgContext@{ GpgFrontend::GpgContext} !init\_ ctx@{ init\_ ctx} }
\index { init\_ ctx@{ init\_ ctx} !GpgFrontend::GpgContext@{ GpgFrontend::GpgContext} }
\doxysubsubsection { \texorpdfstring { init\_ ctx()} { init\_ ctx()} }
{ \footnotesize \ttfamily void Gpg\+ Frontend\+ ::\+ Gpg\+ Context\+ ::init\+ \_ \+ ctx (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Setting the output type must be done at the beginning
2022-05-08 22:01:23 +00:00
think this means ascii-\/ armor -\/ -\/ $ > $ ?
2022-05-08 19:59:26 +00:00
Setting the output type must be done at the beginning
2022-05-08 22:01:23 +00:00
think this means ascii-\/ armor -\/ -\/ $ > $ ?
2022-05-08 19:59:26 +00:00
2022-05-08 22:01:23 +00:00
References Gpg\+ Frontend\+ ::\+ Gpg\+ Info\+ ::\+ App\+ Path, Gpg\+ Frontend\+ ::check\+ \_ \+ gpg\+ \_ \+ error(), Gpg\+ Frontend\+ ::check\+ \_ \+ gpg\+ \_ \+ error\+ \_ \+ 2\+ \_ \+ err\+ \_ \+ code(), Set\+ Passphrase\+ Cb(), test\+ \_ \+ passphrase\+ \_ \+ cb(), and test\+ \_ \+ status\+ \_ \+ cb().
2022-05-08 19:59:26 +00:00
2022-05-08 22:01:23 +00:00
Referenced by Gpg\+ Context().
2022-05-08 19:59:26 +00:00
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgContext_ a5b419175bd9927f3d449637db8ba6524} \label { classGpgFrontend_ 1_ 1GpgContext_ a5b419175bd9927f3d449637db8ba6524} }
\index { GpgFrontend::GpgContext@{ GpgFrontend::GpgContext} !operator gpgme\_ ctx\_ t@{ operator gpgme\_ ctx\_ t} }
\index { operator gpgme\_ ctx\_ t@{ operator gpgme\_ ctx\_ t} !GpgFrontend::GpgContext@{ GpgFrontend::GpgContext} }
\doxysubsubsection { \texorpdfstring { operator gpgme\_ ctx\_ t()} { operator gpgme\_ ctx\_ t()} }
{ \footnotesize \ttfamily Gpg\+ Frontend\+ ::\+ Gpg\+ Context\+ ::operator gpgme\+ \_ \+ ctx\+ \_ \+ t (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} ) const\hspace { 0.3cm} { \ttfamily [inline]} }
\begin { DoxyReturn} { Returns}
gpgme\+ \_ \+ ctx\+ \_ \+ t
\end { DoxyReturn}
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgContext_ a3399fc60086ff5010a089bff48bbc63c} \label { classGpgFrontend_ 1_ 1GpgContext_ a3399fc60086ff5010a089bff48bbc63c} }
\index { GpgFrontend::GpgContext@{ GpgFrontend::GpgContext} !SetPassphraseCb@{ SetPassphraseCb} }
\index { SetPassphraseCb@{ SetPassphraseCb} !GpgFrontend::GpgContext@{ GpgFrontend::GpgContext} }
\doxysubsubsection { \texorpdfstring { SetPassphraseCb()} { SetPassphraseCb()} }
{ \footnotesize \ttfamily void Gpg\+ Frontend\+ ::\+ Gpg\+ Context\+ ::\+ Set\+ Passphrase\+ Cb (\begin { DoxyParamCaption} \item [{gpgme\+\_\+passphrase\+\_\+cb\+\_\+t}] { func } \end { DoxyParamCaption} ) const}
Set the Passphrase Cb object.
\begin { DoxyParams} { Parameters}
{ \em func} & \\
\hline
\end { DoxyParams}
2022-05-08 22:01:23 +00:00
Referenced by init\+ \_ \+ ctx().
2022-05-08 19:59:26 +00:00
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgContext_ acc4234054002065dfbc5d5261a4950d4} \label { classGpgFrontend_ 1_ 1GpgContext_ acc4234054002065dfbc5d5261a4950d4} }
\index { GpgFrontend::GpgContext@{ GpgFrontend::GpgContext} !test\_ passphrase\_ cb@{ test\_ passphrase\_ cb} }
\index { test\_ passphrase\_ cb@{ test\_ passphrase\_ cb} !GpgFrontend::GpgContext@{ GpgFrontend::GpgContext} }
\doxysubsubsection { \texorpdfstring { test\_ passphrase\_ cb()} { test\_ passphrase\_ cb()} }
{ \footnotesize \ttfamily gpgme\+ \_ \+ error\+ \_ \+ t Gpg\+ Frontend\+ ::\+ Gpg\+ Context\+ ::test\+ \_ \+ passphrase\+ \_ \+ cb (\begin { DoxyParamCaption} \item [{void $\ast$}] { opaque, } \item [{const char $\ast$}] { uid\+ \_ \+ hint, } \item [{const char $\ast$}] { passphrase\+ \_ \+ info, } \item [{int}] { last\+ \_ \+ was\+ \_ \+ bad, } \item [{int}] { fd } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [static]} }
\begin { DoxyParams} { Parameters}
{ \em opaque} & \\
\hline
{ \em uid\+ \_ \+ hint} & \\
\hline
{ \em passphrase\+ \_ \+ info} & \\
\hline
{ \em last\+ \_ \+ was\+ \_ \+ bad} & \\
\hline
{ \em fd} & \\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
gpgme\+ \_ \+ error\+ \_ \+ t
\end { DoxyReturn}
2022-05-08 22:01:23 +00:00
Referenced by init\+ \_ \+ ctx().
2022-05-08 19:59:26 +00:00
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgContext_ a3844cd0966134939e5c4be9a725e5271} \label { classGpgFrontend_ 1_ 1GpgContext_ a3844cd0966134939e5c4be9a725e5271} }
\index { GpgFrontend::GpgContext@{ GpgFrontend::GpgContext} !test\_ status\_ cb@{ test\_ status\_ cb} }
\index { test\_ status\_ cb@{ test\_ status\_ cb} !GpgFrontend::GpgContext@{ GpgFrontend::GpgContext} }
\doxysubsubsection { \texorpdfstring { test\_ status\_ cb()} { test\_ status\_ cb()} }
{ \footnotesize \ttfamily gpgme\+ \_ \+ error\+ \_ \+ t Gpg\+ Frontend\+ ::\+ Gpg\+ Context\+ ::test\+ \_ \+ status\+ \_ \+ cb (\begin { DoxyParamCaption} \item [{void $\ast$}] { hook, } \item [{const char $\ast$}] { keyword, } \item [{const char $\ast$}] { args } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [static]} }
\begin { DoxyParams} { Parameters}
{ \em hook} & \\
\hline
{ \em keyword} & \\
\hline
{ \em args} & \\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
gpgme\+ \_ \+ error\+ \_ \+ t
\end { DoxyReturn}
2022-05-08 22:01:23 +00:00
Referenced by init\+ \_ \+ ctx().
2022-05-08 19:59:26 +00:00
The documentation for this class was generated from the following files\+ :\begin { DoxyCompactItemize}
\item
src/core/Gpg\+ Context.\+ h\item
src/core/Gpg\+ Context.\+ cpp\end { DoxyCompactItemize}