\hypertarget{classGpgFrontend_1_1GpgKeyImportExporter}{}\doxysection{Gpg\+Frontend\+::Gpg\+Key\+Import\+Exporter Class Reference} \label{classGpgFrontend_1_1GpgKeyImportExporter}\index{GpgFrontend::GpgKeyImportExporter@{GpgFrontend::GpgKeyImportExporter}} Inheritance diagram for Gpg\+Frontend\+::Gpg\+Key\+Import\+Exporter\+: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[height=550pt]{classGpgFrontend_1_1GpgKeyImportExporter__inherit__graph} \end{center} \end{figure} Collaboration diagram for Gpg\+Frontend\+::Gpg\+Key\+Import\+Exporter\+: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[height=550pt]{classGpgFrontend_1_1GpgKeyImportExporter__coll__graph} \end{center} \end{figure} \doxysubsection*{Public Member Functions} \begin{DoxyCompactItemize} \item \mbox{\hyperlink{classGpgFrontend_1_1GpgKeyImportExporter_a0eede7c782d17b32d6c1f30cd8496561}{Gpg\+Key\+Import\+Exporter}} (int channel=\mbox{\hyperlink{classGpgFrontend_1_1SingletonFunctionObject_ad983153cbe3a0c32c123c506e04f31fc}{Singleton\+Function\+Object\+::\+Get\+Default\+Channel}}()) \begin{DoxyCompactList}\small\item\em Construct a new Gpg Key Import Exporter object. \end{DoxyCompactList}\item auto \mbox{\hyperlink{classGpgFrontend_1_1GpgKeyImportExporter_ab613412788fe4cf120d6fdef0cb2a54c}{Import\+Key}} (const \mbox{\hyperlink{classGpgFrontend_1_1GFBuffer}{GFBuffer}} \&) -\/$>$ std\+::shared\+\_\+ptr$<$ \mbox{\hyperlink{classGpgFrontend_1_1GpgImportInformation}{Gpg\+Import\+Information}} $>$ \item auto \mbox{\hyperlink{classGpgFrontend_1_1GpgKeyImportExporter_aadede45dd33c70c4716d5276716405f5}{Export\+Key}} (const \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{Gpg\+Key}} \&key, bool secret, bool ascii, bool shortest, bool ssh\+\_\+mode=false) const -\/$>$ std\+::tuple$<$ \mbox{\hyperlink{namespaceGpgFrontend_a2470eb154743191c3454203f23d3a2f8}{Gpg\+Error}}, \mbox{\hyperlink{classGpgFrontend_1_1GFBuffer}{GFBuffer}} $>$ \item void \mbox{\hyperlink{classGpgFrontend_1_1GpgKeyImportExporter_a1e1ba98323a6494f6c07fee2d3fc40fb}{Export\+Keys}} (const Key\+Args\+List \&keys, bool secret, bool ascii, bool shortest, bool ssh\+\_\+mode, const Gpg\+Operation\+Callback \&cb) const \item void \mbox{\hyperlink{classGpgFrontend_1_1GpgKeyImportExporter_a589a888151797a556f80f541a7247036}{Export\+All\+Keys}} (const Key\+Args\+List \&keys, bool secret, bool ascii, const Gpg\+Operation\+Callback \&cb) const \end{DoxyCompactItemize} \doxysubsection*{Private Attributes} \begin{DoxyCompactItemize} \item \mbox{\Hypertarget{classGpgFrontend_1_1GpgKeyImportExporter_ade0e4de4078b6589f863dbfc76786f0e}\label{classGpgFrontend_1_1GpgKeyImportExporter_ade0e4de4078b6589f863dbfc76786f0e}} \mbox{\hyperlink{classGpgFrontend_1_1GpgContext}{Gpg\+Context}} \& {\bfseries ctx\+\_\+} \end{DoxyCompactItemize} \doxysubsection*{Additional Inherited Members} \doxysubsection{Constructor \& Destructor Documentation} \mbox{\Hypertarget{classGpgFrontend_1_1GpgKeyImportExporter_a0eede7c782d17b32d6c1f30cd8496561}\label{classGpgFrontend_1_1GpgKeyImportExporter_a0eede7c782d17b32d6c1f30cd8496561}} \index{GpgFrontend::GpgKeyImportExporter@{GpgFrontend::GpgKeyImportExporter}!GpgKeyImportExporter@{GpgKeyImportExporter}} \index{GpgKeyImportExporter@{GpgKeyImportExporter}!GpgFrontend::GpgKeyImportExporter@{GpgFrontend::GpgKeyImportExporter}} \doxysubsubsection{\texorpdfstring{GpgKeyImportExporter()}{GpgKeyImportExporter()}} {\footnotesize\ttfamily Gpg\+Frontend\+::\+Gpg\+Key\+Import\+Exporter\+::\+Gpg\+Key\+Import\+Exporter (\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 Key Import Exporter object. \begin{DoxyParams}{Parameters} {\em channel} & \\ \hline \end{DoxyParams} \doxysubsection{Member Function Documentation} \mbox{\Hypertarget{classGpgFrontend_1_1GpgKeyImportExporter_a589a888151797a556f80f541a7247036}\label{classGpgFrontend_1_1GpgKeyImportExporter_a589a888151797a556f80f541a7247036}} \index{GpgFrontend::GpgKeyImportExporter@{GpgFrontend::GpgKeyImportExporter}!ExportAllKeys@{ExportAllKeys}} \index{ExportAllKeys@{ExportAllKeys}!GpgFrontend::GpgKeyImportExporter@{GpgFrontend::GpgKeyImportExporter}} \doxysubsubsection{\texorpdfstring{ExportAllKeys()}{ExportAllKeys()}} {\footnotesize\ttfamily void Gpg\+Frontend\+::\+Gpg\+Key\+Import\+Exporter\+::\+Export\+All\+Keys (\begin{DoxyParamCaption}\item[{const Key\+Args\+List \&}]{keys, }\item[{bool}]{secret, }\item[{bool}]{ascii, }\item[{const Gpg\+Operation\+Callback \&}]{cb }\end{DoxyParamCaption}) const} \begin{DoxyParams}{Parameters} {\em keys} & \\ \hline {\em secret} & \\ \hline {\em ascii} & \\ \hline {\em cb} & Export keys \\ \hline {\em keys} & keys used \\ \hline {\em out\+Buffer} & output byte array \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} if success \end{DoxyReturn} References Gpg\+Frontend\+::\+Gpg\+Data\+::\+Read2\+GFBuffer(), and Gpg\+Frontend\+::\+Run\+Gpg\+Opera\+Async(). \mbox{\Hypertarget{classGpgFrontend_1_1GpgKeyImportExporter_aadede45dd33c70c4716d5276716405f5}\label{classGpgFrontend_1_1GpgKeyImportExporter_aadede45dd33c70c4716d5276716405f5}} \index{GpgFrontend::GpgKeyImportExporter@{GpgFrontend::GpgKeyImportExporter}!ExportKey@{ExportKey}} \index{ExportKey@{ExportKey}!GpgFrontend::GpgKeyImportExporter@{GpgFrontend::GpgKeyImportExporter}} \doxysubsubsection{\texorpdfstring{ExportKey()}{ExportKey()}} {\footnotesize\ttfamily auto Gpg\+Frontend\+::\+Gpg\+Key\+Import\+Exporter\+::\+Export\+Key (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{Gpg\+Key}} \&}]{key, }\item[{bool}]{secret, }\item[{bool}]{ascii, }\item[{bool}]{shortest, }\item[{bool}]{ssh\+\_\+mode = {\ttfamily false} }\end{DoxyParamCaption}) const -\/$>$ std\+::tuple$<$\mbox{\hyperlink{namespaceGpgFrontend_a2470eb154743191c3454203f23d3a2f8}{Gpg\+Error}}, \mbox{\hyperlink{classGpgFrontend_1_1GFBuffer}{GFBuffer}}$>$} \begin{DoxyParams}{Parameters} {\em key} & \\ \hline {\em secret} & \\ \hline {\em ascii} & \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} std\+::tuple$<$\+Gpg\+Error, GFBuffer$>$ \end{DoxyReturn} Export keys \begin{DoxyParams}{Parameters} {\em keys} & keys used \\ \hline {\em out\+Buffer} & output byte array \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} if success \end{DoxyReturn} References Gpg\+Frontend\+::\+Gpg\+Data\+::\+Read2\+GFBuffer(). \mbox{\Hypertarget{classGpgFrontend_1_1GpgKeyImportExporter_a1e1ba98323a6494f6c07fee2d3fc40fb}\label{classGpgFrontend_1_1GpgKeyImportExporter_a1e1ba98323a6494f6c07fee2d3fc40fb}} \index{GpgFrontend::GpgKeyImportExporter@{GpgFrontend::GpgKeyImportExporter}!ExportKeys@{ExportKeys}} \index{ExportKeys@{ExportKeys}!GpgFrontend::GpgKeyImportExporter@{GpgFrontend::GpgKeyImportExporter}} \doxysubsubsection{\texorpdfstring{ExportKeys()}{ExportKeys()}} {\footnotesize\ttfamily void Gpg\+Frontend\+::\+Gpg\+Key\+Import\+Exporter\+::\+Export\+Keys (\begin{DoxyParamCaption}\item[{const Key\+Args\+List \&}]{keys, }\item[{bool}]{secret, }\item[{bool}]{ascii, }\item[{bool}]{shortest, }\item[{bool}]{ssh\+\_\+mode, }\item[{const Gpg\+Operation\+Callback \&}]{cb }\end{DoxyParamCaption}) const} \begin{DoxyParams}{Parameters} {\em keys} & \\ \hline {\em out\+Buffer} & \\ \hline {\em secret} & \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} true false \end{DoxyReturn} Export keys \begin{DoxyParams}{Parameters} {\em keys} & keys used \\ \hline {\em out\+Buffer} & output byte array \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} if success \end{DoxyReturn} References Gpg\+Frontend\+::\+Gpg\+Data\+::\+Read2\+GFBuffer(), and Gpg\+Frontend\+::\+Run\+Gpg\+Opera\+Async(). \mbox{\Hypertarget{classGpgFrontend_1_1GpgKeyImportExporter_ab613412788fe4cf120d6fdef0cb2a54c}\label{classGpgFrontend_1_1GpgKeyImportExporter_ab613412788fe4cf120d6fdef0cb2a54c}} \index{GpgFrontend::GpgKeyImportExporter@{GpgFrontend::GpgKeyImportExporter}!ImportKey@{ImportKey}} \index{ImportKey@{ImportKey}!GpgFrontend::GpgKeyImportExporter@{GpgFrontend::GpgKeyImportExporter}} \doxysubsubsection{\texorpdfstring{ImportKey()}{ImportKey()}} {\footnotesize\ttfamily auto Gpg\+Frontend\+::\+Gpg\+Key\+Import\+Exporter\+::\+Import\+Key (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classGpgFrontend_1_1GFBuffer}{GFBuffer}} \&}]{in\+\_\+buffer }\end{DoxyParamCaption}) -\/$>$ std\+::shared\+\_\+ptr$<$\mbox{\hyperlink{classGpgFrontend_1_1GpgImportInformation}{Gpg\+Import\+Information}}$>$} \begin{DoxyParams}{Parameters} {\em in\+Buffer} & \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} \mbox{\hyperlink{classGpgFrontend_1_1GpgImportInformation}{Gpg\+Import\+Information}} \end{DoxyReturn} Import key pair \begin{DoxyParams}{Parameters} {\em in\+Buffer} & input byte array \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} Import information \end{DoxyReturn} References Gpg\+Frontend\+::\+Check\+Gpg\+Error(). The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} \item src/core/function/gpg/Gpg\+Key\+Import\+Exporter.\+h\item src/core/function/gpg/Gpg\+Key\+Import\+Exporter.\+cpp\end{DoxyCompactItemize}