\hypertarget{classGpgFrontend_1_1GpgData}{}\doxysection{Gpg\+Frontend\+::Gpg\+Data Class Reference}
\label{classGpgFrontend_1_1GpgData}\index{GpgFrontend::GpgData@{GpgFrontend::GpgData}}


Collaboration diagram for Gpg\+Frontend\+::Gpg\+Data\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=279pt]{classGpgFrontend_1_1GpgData__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structGpgFrontend_1_1GpgData_1_1__data__ref__deleter}{\+\_\+data\+\_\+ref\+\_\+deleter}}
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classGpgFrontend_1_1GpgData_ac3661a9365ad72b0883a2f62ef4647da}{Gpg\+Data}} ()
\begin{DoxyCompactList}\small\item\em Construct a new Gpg Data object. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classGpgFrontend_1_1GpgData_a5e607c3bb69f998aaac761f400dd6440}{Gpg\+Data}} (void $\ast$buffer, size\+\_\+t size, bool copy=true)
\begin{DoxyCompactList}\small\item\em Construct a new Gpg Data object. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classGpgFrontend_1_1GpgData_afca7a03bd71436c8b3c4f6e8c2acd700}{operator gpgme\+\_\+data\+\_\+t}} ()
\item 
Byte\+Array\+Ptr \mbox{\hyperlink{classGpgFrontend_1_1GpgData_ae382a34ec551561315deca84c71c19c1}{Read2\+Buffer}} ()
\end{DoxyCompactItemize}
\doxysubsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
std\+::unique\+\_\+ptr$<$ struct gpgme\+\_\+data, \mbox{\hyperlink{structGpgFrontend_1_1GpgData_1_1__data__ref__deleter}{\+\_\+data\+\_\+ref\+\_\+deleter}} $>$ {\bfseries data\+\_\+ref\+\_\+}
\end{DoxyCompactItemize}


\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classGpgFrontend_1_1GpgData_ac3661a9365ad72b0883a2f62ef4647da}\label{classGpgFrontend_1_1GpgData_ac3661a9365ad72b0883a2f62ef4647da}} 
\index{GpgFrontend::GpgData@{GpgFrontend::GpgData}!GpgData@{GpgData}}
\index{GpgData@{GpgData}!GpgFrontend::GpgData@{GpgFrontend::GpgData}}
\doxysubsubsection{\texorpdfstring{GpgData()}{GpgData()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily Gpg\+Frontend\+::\+Gpg\+Data\+::\+Gpg\+Data (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Construct a new Gpg Data object. 

Copyright (C) 2021 Saturneric

This file is part of \mbox{\hyperlink{namespaceGpgFrontend}{Gpg\+Frontend}}.

\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.

\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.

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/}}.

The initial version of the source code is inherited from the gpg4usb project, which is under G\+P\+L-\/3.\+0-\/or-\/later.

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.

S\+P\+D\+X-\/\+License-\/\+Identifier\+: G\+P\+L-\/3.\+0-\/or-\/later \mbox{\Hypertarget{classGpgFrontend_1_1GpgData_a5e607c3bb69f998aaac761f400dd6440}\label{classGpgFrontend_1_1GpgData_a5e607c3bb69f998aaac761f400dd6440}} 
\index{GpgFrontend::GpgData@{GpgFrontend::GpgData}!GpgData@{GpgData}}
\index{GpgData@{GpgData}!GpgFrontend::GpgData@{GpgFrontend::GpgData}}
\doxysubsubsection{\texorpdfstring{GpgData()}{GpgData()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily Gpg\+Frontend\+::\+Gpg\+Data\+::\+Gpg\+Data (\begin{DoxyParamCaption}\item[{void $\ast$}]{buffer,  }\item[{size\+\_\+t}]{size,  }\item[{bool}]{copy = {\ttfamily true} }\end{DoxyParamCaption})}



Construct a new Gpg Data object. 


\begin{DoxyParams}{Parameters}
{\em buffer} & \\
\hline
{\em size} & \\
\hline
{\em copy} & \\
\hline
\end{DoxyParams}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classGpgFrontend_1_1GpgData_afca7a03bd71436c8b3c4f6e8c2acd700}\label{classGpgFrontend_1_1GpgData_afca7a03bd71436c8b3c4f6e8c2acd700}} 
\index{GpgFrontend::GpgData@{GpgFrontend::GpgData}!operator gpgme\_data\_t@{operator gpgme\_data\_t}}
\index{operator gpgme\_data\_t@{operator gpgme\_data\_t}!GpgFrontend::GpgData@{GpgFrontend::GpgData}}
\doxysubsubsection{\texorpdfstring{operator gpgme\_data\_t()}{operator gpgme\_data\_t()}}
{\footnotesize\ttfamily Gpg\+Frontend\+::\+Gpg\+Data\+::operator gpgme\+\_\+data\+\_\+t (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

\begin{DoxyReturn}{Returns}
gpgme\+\_\+data\+\_\+t 
\end{DoxyReturn}
\mbox{\Hypertarget{classGpgFrontend_1_1GpgData_ae382a34ec551561315deca84c71c19c1}\label{classGpgFrontend_1_1GpgData_ae382a34ec551561315deca84c71c19c1}} 
\index{GpgFrontend::GpgData@{GpgFrontend::GpgData}!Read2Buffer@{Read2Buffer}}
\index{Read2Buffer@{Read2Buffer}!GpgFrontend::GpgData@{GpgFrontend::GpgData}}
\doxysubsubsection{\texorpdfstring{Read2Buffer()}{Read2Buffer()}}
{\footnotesize\ttfamily Gpg\+Frontend\+::\+Byte\+Array\+Ptr Gpg\+Frontend\+::\+Gpg\+Data\+::\+Read2\+Buffer (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

\begin{DoxyReturn}{Returns}
Byte\+Array\+Ptr 
\end{DoxyReturn}


Referenced by Gpg\+Frontend\+::\+Gpg\+Basic\+Operator\+::\+Decrypt(), Gpg\+Frontend\+::\+Gpg\+Basic\+Operator\+::\+Decrypt\+Verify(), Gpg\+Frontend\+::\+Gpg\+Basic\+Operator\+::\+Encrypt(), Gpg\+Frontend\+::\+Gpg\+Basic\+Operator\+::\+Encrypt\+Sign(), Gpg\+Frontend\+::\+Gpg\+Basic\+Operator\+::\+Encrypt\+Symmetric(), Gpg\+Frontend\+::\+Gpg\+Key\+Import\+Exporter\+::\+Export\+Key(), Gpg\+Frontend\+::\+Gpg\+Key\+Import\+Exporter\+::\+Export\+Key\+Open\+S\+S\+H(), Gpg\+Frontend\+::\+Gpg\+Key\+Import\+Exporter\+::\+Export\+Keys(), Gpg\+Frontend\+::\+Gpg\+Key\+Import\+Exporter\+::\+Export\+Secret\+Key(), Gpg\+Frontend\+::\+Gpg\+Key\+Import\+Exporter\+::\+Export\+Secret\+Key\+Shortest(), and Gpg\+Frontend\+::\+Gpg\+Basic\+Operator\+::\+Sign().



\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{classGpgFrontend_1_1GpgData_a20e2c42db476247b544012ebe677a8e2}\label{classGpgFrontend_1_1GpgData_a20e2c42db476247b544012ebe677a8e2}} 
\index{GpgFrontend::GpgData@{GpgFrontend::GpgData}!data\_ref\_@{data\_ref\_}}
\index{data\_ref\_@{data\_ref\_}!GpgFrontend::GpgData@{GpgFrontend::GpgData}}
\doxysubsubsection{\texorpdfstring{data\_ref\_}{data\_ref\_}}
{\footnotesize\ttfamily std\+::unique\+\_\+ptr$<$struct gpgme\+\_\+data, \mbox{\hyperlink{structGpgFrontend_1_1GpgData_1_1__data__ref__deleter}{\+\_\+data\+\_\+ref\+\_\+deleter}}$>$ Gpg\+Frontend\+::\+Gpg\+Data\+::data\+\_\+ref\+\_\+\hspace{0.3cm}{\ttfamily [private]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{=}
\DoxyCodeLine{      \textcolor{keyword}{nullptr}}

\end{DoxyCode}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
src/core/model/Gpg\+Data.\+h\item 
src/core/model/Gpg\+Data.\+cpp\end{DoxyCompactItemize}
