2022-05-08 19:59:26 +00:00
\hypertarget { classGpgFrontend_ 1_ 1GpgFileOpera} { } \doxysection { Gpg\+ Frontend\+ ::Gpg\+ File\+ Opera Class Reference}
\label { classGpgFrontend_ 1_ 1GpgFileOpera} \index { GpgFrontend::GpgFileOpera@{ GpgFrontend::GpgFileOpera} }
Inheritance diagram for Gpg\+ Frontend\+ ::Gpg\+ File\+ Opera\+ :
2022-05-08 22:01:23 +00:00
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [height=550pt] { classGpgFrontend_ 1_ 1GpgFileOpera_ _ inherit_ _ graph}
\end { center}
\end { figure}
2022-05-08 19:59:26 +00:00
Collaboration diagram for Gpg\+ Frontend\+ ::Gpg\+ File\+ Opera\+ :
2022-05-08 22:01:23 +00:00
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
2022-05-09 15:32:58 +00:00
\includegraphics [height=550pt] { classGpgFrontend_ 1_ 1GpgFileOpera_ _ coll_ _ graph}
2022-05-08 22:01:23 +00:00
\end { center}
\end { figure}
2022-05-08 19:59:26 +00:00
\doxysubsection * { Public Member Functions}
\begin { DoxyCompactItemize}
\item
\mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgFileOpera_ aa81da3d72c4fbc57e7138bfec7731152} { Gpg\+ File\+ Opera} } (int channel=\mbox { \hyperlink { classGpgFrontend_ 1_ 1SingletonFunctionObject_ a50e2b3794d6553f4231eaec72d9d0a50} { Singleton\+ Function\+ Object\+ ::\+ Get\+ Default\+ Channel} } ())
\end { DoxyCompactItemize}
\doxysubsection * { Static Public Member Functions}
\begin { DoxyCompactItemize}
\item
2022-11-26 18:19:17 +00:00
static unsigned int \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgFileOpera_ a234d939ae0b2c3f799dd01130fad9379} { Encrypt\+ File} } (Key\+ List\+ Ptr keys, const std\+ ::string \& in\+ \_ \+ path, const std\+ ::string \& out\+ \_ \+ path, Gpg\+ Encr\+ Result \& result, int \+ \_ \+ channel=GPGFRONTEND\+ \_ \+ \+ DEFAULT\+ \_ \+ \+ CHANNEL)
2022-05-08 19:59:26 +00:00
\begin { DoxyCompactList} \small \item \em Encrypted file. \end { DoxyCompactList} \item
2022-11-26 18:19:17 +00:00
static unsigned int \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgFileOpera_ a826efca057afb07157453b3b9e267b0f} { Encrypt\+ File\+ Symmetric} } (const std\+ ::string \& in\+ \_ \+ path, const std\+ ::string \& out\+ \_ \+ path, Gpg\+ Encr\+ Result \& result, int \+ \_ \+ channel=GPGFRONTEND\+ \_ \+ \+ DEFAULT\+ \_ \+ \+ CHANNEL)
2022-05-08 19:59:26 +00:00
\begin { DoxyCompactList} \small \item \em 运用对称加密算法加密文件 \end { DoxyCompactList} \item
static Gpg\+ Error \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgFileOpera_ a74eb3ba532a236d8ad284b41265b0ccd} { Decrypt\+ File} } (const std\+ ::string \& in\+ \_ \+ path, const std\+ ::string \& out\+ \_ \+ path, Gpg\+ Decr\+ Result \& result)
\item
2022-11-26 18:19:17 +00:00
static Gpg\+ Error \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgFileOpera_ a350df1c07c054625c4755a78e6ca5ca8} { Sign\+ File} } (Key\+ List\+ Ptr keys, const std\+ ::string \& in\+ \_ \+ path, const std\+ ::string \& out\+ \_ \+ path, Gpg\+ Sign\+ Result \& result, int \+ \_ \+ channel=GPGFRONTEND\+ \_ \+ \+ DEFAULT\+ \_ \+ \+ CHANNEL)
2022-05-08 19:59:26 +00:00
\item
2022-11-26 18:19:17 +00:00
static Gpg\+ Error \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgFileOpera_ a14cddfe822c9410cd9c301d08963b7e7} { Verify\+ File} } (const std\+ ::string \& data\+ \_ \+ path, const std\+ ::string \& sign\+ \_ \+ path, Gpg\+ Verify\+ Result \& result, int \+ \_ \+ channel=GPGFRONTEND\+ \_ \+ \+ DEFAULT\+ \_ \+ \+ CHANNEL)
2022-05-08 19:59:26 +00:00
\item
2022-11-26 18:19:17 +00:00
static Gpg\+ Error \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgFileOpera_ a6353e1688b113e5746aced6aa7f3876e} { Encrypt\+ Sign\+ File} } (Key\+ List\+ Ptr keys, Key\+ List\+ Ptr signer\+ \_ \+ keys, const std\+ ::string \& in\+ \_ \+ path, const std\+ ::string \& out\+ \_ \+ path, Gpg\+ Encr\+ Result \& encr\+ \_ \+ res, Gpg\+ Sign\+ Result \& sign\+ \_ \+ res, int \+ \_ \+ channel=GPGFRONTEND\+ \_ \+ \+ DEFAULT\+ \_ \+ \+ CHANNEL)
2022-05-08 19:59:26 +00:00
\item
static Gpg\+ Error \mbox { \hyperlink { classGpgFrontend_ 1_ 1GpgFileOpera_ a90949b4e9e6116784260cd0e416551db} { Decrypt\+ Verify\+ File} } (const std\+ ::string \& in\+ \_ \+ path, const std\+ ::string \& out\+ \_ \+ path, Gpg\+ Decr\+ Result \& decr\+ \_ \+ res, Gpg\+ Verify\+ Result \& verify\+ \_ \+ res)
\end { DoxyCompactItemize}
\doxysubsection * { Additional Inherited Members}
\doxysubsection { Constructor \& Destructor Documentation}
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgFileOpera_ aa81da3d72c4fbc57e7138bfec7731152} \label { classGpgFrontend_ 1_ 1GpgFileOpera_ aa81da3d72c4fbc57e7138bfec7731152} }
\index { GpgFrontend::GpgFileOpera@{ GpgFrontend::GpgFileOpera} !GpgFileOpera@{ GpgFileOpera} }
\index { GpgFileOpera@{ GpgFileOpera} !GpgFrontend::GpgFileOpera@{ GpgFrontend::GpgFileOpera} }
\doxysubsubsection { \texorpdfstring { GpgFileOpera()} { GpgFileOpera()} }
{ \footnotesize \ttfamily Gpg\+ Frontend\+ ::\+ Gpg\+ File\+ Opera\+ ::\+ Gpg\+ File\+ Opera (\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]} }
Copyright (C) 2021 Saturneric
This file is part of \mbox { \hyperlink { namespaceGpgFrontend} { Gpg\+ Frontend} } .
2022-11-26 18:19:17 +00:00
\mbox { \hyperlink { namespaceGpgFrontend} { Gpg\+ Frontend} } is free software\+ : you can redistribute it and/or modify it under the terms of the GNU 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-11-26 18:19:17 +00:00
\mbox { \hyperlink { namespaceGpgFrontend} { Gpg\+ Frontend} } is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
2022-05-08 19:59:26 +00:00
2022-11-26 18:19:17 +00:00
You should have received a copy of the GNU 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-11-26 18:19:17 +00:00
The initial version of the source code is inherited from the gpg4usb project, which is under GPL-\/ 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-11-26 18:19:17 +00:00
SPDX-\/ \+ License-\/ \+ Identifier\+ : GPL-\/ 3.\+ 0-\/ or-\/ later
2022-05-08 19:59:26 +00:00
\doxysubsection { Member Function Documentation}
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgFileOpera_ a74eb3ba532a236d8ad284b41265b0ccd} \label { classGpgFrontend_ 1_ 1GpgFileOpera_ a74eb3ba532a236d8ad284b41265b0ccd} }
\index { GpgFrontend::GpgFileOpera@{ GpgFrontend::GpgFileOpera} !DecryptFile@{ DecryptFile} }
\index { DecryptFile@{ DecryptFile} !GpgFrontend::GpgFileOpera@{ GpgFrontend::GpgFileOpera} }
\doxysubsubsection { \texorpdfstring { DecryptFile()} { DecryptFile()} }
{ \footnotesize \ttfamily Gpg\+ Frontend\+ ::\+ Gpg\+ Error Gpg\+ Frontend\+ ::\+ Gpg\+ File\+ Opera\+ ::\+ Decrypt\+ File (\begin { DoxyParamCaption} \item [{const std\+::string \&}] { in\+ \_ \+ path, } \item [{const std\+::string \&}] { out\+ \_ \+ path, } \item [{Gpg\+Decr\+Result \&}] { result } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [static]} }
\begin { DoxyParams} { Parameters}
{ \em in\+ \_ \+ path} & \\
\hline
{ \em out\+ \_ \+ path} & \\
\hline
{ \em result} & \\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
Gpg\+ Error
\end { DoxyReturn}
2022-05-08 22:01:23 +00:00
References Gpg\+ Frontend\+ ::check\+ \_ \+ gpg\+ \_ \+ error\+ \_ \+ 2\+ \_ \+ err\+ \_ \+ code(), Gpg\+ Frontend\+ ::\+ Gpg\+ Basic\+ Operator\+ ::\+ Decrypt(), Gpg\+ Frontend\+ ::\+ Singleton\+ Function\+ Object$ < $ Gpg\+ Basic\+ Operator $ > $ \+ ::\+ Get\+ Instance(), Gpg\+ Frontend\+ ::\+ File\+ Operator\+ ::\+ Read\+ File\+ Std(), and Gpg\+ Frontend\+ ::\+ File\+ Operator\+ ::\+ Write\+ File\+ Std().
2022-05-08 19:59:26 +00:00
2022-11-26 18:19:17 +00:00
Referenced by Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::\+ Slot\+ File\+ Decrypt().
2022-05-08 19:59:26 +00:00
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgFileOpera_ a90949b4e9e6116784260cd0e416551db} \label { classGpgFrontend_ 1_ 1GpgFileOpera_ a90949b4e9e6116784260cd0e416551db} }
\index { GpgFrontend::GpgFileOpera@{ GpgFrontend::GpgFileOpera} !DecryptVerifyFile@{ DecryptVerifyFile} }
\index { DecryptVerifyFile@{ DecryptVerifyFile} !GpgFrontend::GpgFileOpera@{ GpgFrontend::GpgFileOpera} }
\doxysubsubsection { \texorpdfstring { DecryptVerifyFile()} { DecryptVerifyFile()} }
{ \footnotesize \ttfamily gpg\+ \_ \+ error\+ \_ \+ t Gpg\+ Frontend\+ ::\+ Gpg\+ File\+ Opera\+ ::\+ Decrypt\+ Verify\+ File (\begin { DoxyParamCaption} \item [{const std\+::string \&}] { in\+ \_ \+ path, } \item [{const std\+::string \&}] { out\+ \_ \+ path, } \item [{Gpg\+Decr\+Result \&}] { decr\+ \_ \+ res, } \item [{Gpg\+Verify\+Result \&}] { verify\+ \_ \+ res } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [static]} }
\begin { DoxyParams} { Parameters}
{ \em in\+ \_ \+ path} & \\
\hline
{ \em out\+ \_ \+ path} & \\
\hline
{ \em decr\+ \_ \+ res} & \\
\hline
{ \em verify\+ \_ \+ res} & \\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
Gpg\+ Error
\end { DoxyReturn}
2022-05-08 22:01:23 +00:00
References Gpg\+ Frontend\+ ::check\+ \_ \+ gpg\+ \_ \+ error\+ \_ \+ 2\+ \_ \+ err\+ \_ \+ code(), Gpg\+ Frontend\+ ::\+ Gpg\+ Basic\+ Operator\+ ::\+ Decrypt\+ Verify(), Gpg\+ Frontend\+ ::\+ Singleton\+ Function\+ Object$ < $ Gpg\+ Basic\+ Operator $ > $ \+ ::\+ Get\+ Instance(), Gpg\+ Frontend\+ ::\+ File\+ Operator\+ ::\+ Read\+ File\+ Std(), and Gpg\+ Frontend\+ ::\+ File\+ Operator\+ ::\+ Write\+ File\+ Std().
2022-05-08 19:59:26 +00:00
2022-11-26 18:19:17 +00:00
Referenced by Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::\+ Slot\+ File\+ Decrypt\+ Verify().
2022-05-08 19:59:26 +00:00
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgFileOpera_ a234d939ae0b2c3f799dd01130fad9379} \label { classGpgFrontend_ 1_ 1GpgFileOpera_ a234d939ae0b2c3f799dd01130fad9379} }
\index { GpgFrontend::GpgFileOpera@{ GpgFrontend::GpgFileOpera} !EncryptFile@{ EncryptFile} }
\index { EncryptFile@{ EncryptFile} !GpgFrontend::GpgFileOpera@{ GpgFrontend::GpgFileOpera} }
\doxysubsubsection { \texorpdfstring { EncryptFile()} { EncryptFile()} }
{ \footnotesize \ttfamily Gpg\+ Frontend\+ ::\+ Gpg\+ Error Gpg\+ Frontend\+ ::\+ Gpg\+ File\+ Opera\+ ::\+ Encrypt\+ File (\begin { DoxyParamCaption} \item [{Key\+List\+Ptr}] { keys, } \item [{const std\+::string \&}] { in\+ \_ \+ path, } \item [{const std\+::string \&}] { out\+ \_ \+ path, } \item [{Gpg\+Encr\+Result \&}] { result, } \item [{int}] { \+ \_ \+ channel = { \ttfamily GPGFRONTEND\+ \_ \+ DEFAULT\+ \_ \+ CHANNEL} } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [static]} }
Encrypted file.
\begin { DoxyParams} { Parameters}
{ \em keys} & Used public key \\
\hline
{ \em in\+ \_ \+ path} & The path where the enter file is located \\
\hline
{ \em out\+ \_ \+ path} & The path where the output file is located \\
\hline
{ \em result} & Encrypted results \\
\hline
{ \em \+ \_ \+ channel} & Channel in context \\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
unsigned int error code
\end { DoxyReturn}
2022-05-08 22:01:23 +00:00
References Gpg\+ Frontend\+ ::check\+ \_ \+ gpg\+ \_ \+ error\+ \_ \+ 2\+ \_ \+ err\+ \_ \+ code(), Gpg\+ Frontend\+ ::\+ Gpg\+ Basic\+ Operator\+ ::\+ Encrypt(), Gpg\+ Frontend\+ ::\+ Singleton\+ Function\+ Object$ < $ Gpg\+ Basic\+ Operator $ > $ \+ ::\+ Get\+ Instance(), Gpg\+ Frontend\+ ::\+ File\+ Operator\+ ::\+ Read\+ File\+ Std(), and Gpg\+ Frontend\+ ::\+ File\+ Operator\+ ::\+ Write\+ File\+ Std().
2022-05-08 19:59:26 +00:00
2022-11-26 18:19:17 +00:00
Referenced by Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::\+ Slot\+ File\+ Encrypt().
2022-05-08 19:59:26 +00:00
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgFileOpera_ a826efca057afb07157453b3b9e267b0f} \label { classGpgFrontend_ 1_ 1GpgFileOpera_ a826efca057afb07157453b3b9e267b0f} }
\index { GpgFrontend::GpgFileOpera@{ GpgFrontend::GpgFileOpera} !EncryptFileSymmetric@{ EncryptFileSymmetric} }
\index { EncryptFileSymmetric@{ EncryptFileSymmetric} !GpgFrontend::GpgFileOpera@{ GpgFrontend::GpgFileOpera} }
\doxysubsubsection { \texorpdfstring { EncryptFileSymmetric()} { EncryptFileSymmetric()} }
{ \footnotesize \ttfamily unsigned int Gpg\+ Frontend\+ ::\+ Gpg\+ File\+ Opera\+ ::\+ Encrypt\+ File\+ Symmetric (\begin { DoxyParamCaption} \item [{const std\+::string \&}] { in\+ \_ \+ path, } \item [{const std\+::string \&}] { out\+ \_ \+ path, } \item [{Gpg\+Frontend\+::\+Gpg\+Encr\+Result \&}] { result, } \item [{int}] { \+ \_ \+ channel = { \ttfamily GPGFRONTEND\+ \_ \+ DEFAULT\+ \_ \+ CHANNEL} } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [static]} }
运用对称加密算法加密文件
\begin { DoxyParams} { Parameters}
{ \em in\+ \_ \+ path} & \\
\hline
{ \em out\+ \_ \+ path} & \\
\hline
{ \em result} & \\
\hline
{ \em \+ \_ \+ channel} & \\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
unsigned int
\end { DoxyReturn}
2022-05-08 22:01:23 +00:00
References Gpg\+ Frontend\+ ::check\+ \_ \+ gpg\+ \_ \+ error\+ \_ \+ 2\+ \_ \+ err\+ \_ \+ code(), Gpg\+ Frontend\+ ::\+ Gpg\+ Basic\+ Operator\+ ::\+ Encrypt\+ Symmetric(), Gpg\+ Frontend\+ ::\+ Singleton\+ Function\+ Object$ < $ Gpg\+ Basic\+ Operator $ > $ \+ ::\+ Get\+ Instance(), Gpg\+ Frontend\+ ::\+ File\+ Operator\+ ::\+ Read\+ File\+ Std(), and Gpg\+ Frontend\+ ::\+ File\+ Operator\+ ::\+ Write\+ File\+ Std().
2022-05-08 19:59:26 +00:00
2022-11-26 18:19:17 +00:00
Referenced by Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::\+ Slot\+ File\+ Encrypt().
2022-05-08 19:59:26 +00:00
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgFileOpera_ a6353e1688b113e5746aced6aa7f3876e} \label { classGpgFrontend_ 1_ 1GpgFileOpera_ a6353e1688b113e5746aced6aa7f3876e} }
\index { GpgFrontend::GpgFileOpera@{ GpgFrontend::GpgFileOpera} !EncryptSignFile@{ EncryptSignFile} }
\index { EncryptSignFile@{ EncryptSignFile} !GpgFrontend::GpgFileOpera@{ GpgFrontend::GpgFileOpera} }
\doxysubsubsection { \texorpdfstring { EncryptSignFile()} { EncryptSignFile()} }
{ \footnotesize \ttfamily gpg\+ \_ \+ error\+ \_ \+ t Gpg\+ Frontend\+ ::\+ Gpg\+ File\+ Opera\+ ::\+ Encrypt\+ Sign\+ File (\begin { DoxyParamCaption} \item [{Key\+List\+Ptr}] { keys, } \item [{Key\+List\+Ptr}] { signer\+ \_ \+ keys, } \item [{const std\+::string \&}] { in\+ \_ \+ path, } \item [{const std\+::string \&}] { out\+ \_ \+ path, } \item [{Gpg\+Encr\+Result \&}] { encr\+ \_ \+ res, } \item [{Gpg\+Sign\+Result \&}] { sign\+ \_ \+ res, } \item [{int}] { \+ \_ \+ channel = { \ttfamily GPGFRONTEND\+ \_ \+ DEFAULT\+ \_ \+ CHANNEL} } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [static]} }
\begin { DoxyParams} { Parameters}
{ \em keys} & \\
\hline
{ \em signer\+ \_ \+ keys} & \\
\hline
{ \em in\+ \_ \+ path} & \\
\hline
{ \em out\+ \_ \+ path} & \\
\hline
{ \em encr\+ \_ \+ res} & \\
\hline
{ \em sign\+ \_ \+ res} & \\
\hline
{ \em \+ \_ \+ channel} & \\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
Gpg\+ Error
\end { DoxyReturn}
2022-05-08 22:01:23 +00:00
References Gpg\+ Frontend\+ ::check\+ \_ \+ gpg\+ \_ \+ error\+ \_ \+ 2\+ \_ \+ err\+ \_ \+ code(), Gpg\+ Frontend\+ ::\+ Gpg\+ Basic\+ Operator\+ ::\+ Encrypt\+ Sign(), Gpg\+ Frontend\+ ::\+ Singleton\+ Function\+ Object$ < $ Gpg\+ Basic\+ Operator $ > $ \+ ::\+ Get\+ Instance(), Gpg\+ Frontend\+ ::\+ File\+ Operator\+ ::\+ Read\+ File\+ Std(), and Gpg\+ Frontend\+ ::\+ File\+ Operator\+ ::\+ Write\+ File\+ Std().
2022-05-08 19:59:26 +00:00
2022-11-26 18:19:17 +00:00
Referenced by Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::\+ Slot\+ File\+ Encrypt\+ Sign().
2022-05-08 19:59:26 +00:00
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgFileOpera_ a350df1c07c054625c4755a78e6ca5ca8} \label { classGpgFrontend_ 1_ 1GpgFileOpera_ a350df1c07c054625c4755a78e6ca5ca8} }
\index { GpgFrontend::GpgFileOpera@{ GpgFrontend::GpgFileOpera} !SignFile@{ SignFile} }
\index { SignFile@{ SignFile} !GpgFrontend::GpgFileOpera@{ GpgFrontend::GpgFileOpera} }
\doxysubsubsection { \texorpdfstring { SignFile()} { SignFile()} }
{ \footnotesize \ttfamily gpgme\+ \_ \+ error\+ \_ \+ t Gpg\+ Frontend\+ ::\+ Gpg\+ File\+ Opera\+ ::\+ Sign\+ File (\begin { DoxyParamCaption} \item [{Key\+List\+Ptr}] { keys, } \item [{const std\+::string \&}] { in\+ \_ \+ path, } \item [{const std\+::string \&}] { out\+ \_ \+ path, } \item [{Gpg\+Sign\+Result \&}] { result, } \item [{int}] { \+ \_ \+ channel = { \ttfamily GPGFRONTEND\+ \_ \+ DEFAULT\+ \_ \+ CHANNEL} } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [static]} }
\begin { DoxyParams} { Parameters}
{ \em keys} & \\
\hline
{ \em in\+ \_ \+ path} & \\
\hline
{ \em out\+ \_ \+ path} & \\
\hline
{ \em result} & \\
\hline
{ \em \+ \_ \+ channel} & \\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
Gpg\+ Error
\end { DoxyReturn}
2022-05-08 22:01:23 +00:00
References Gpg\+ Frontend\+ ::check\+ \_ \+ gpg\+ \_ \+ error\+ \_ \+ 2\+ \_ \+ err\+ \_ \+ code(), Gpg\+ Frontend\+ ::\+ Singleton\+ Function\+ Object$ < $ Gpg\+ Basic\+ Operator $ > $ \+ ::\+ Get\+ Instance(), Gpg\+ Frontend\+ ::\+ File\+ Operator\+ ::\+ Read\+ File\+ Std(), Gpg\+ Frontend\+ ::\+ Gpg\+ Basic\+ Operator\+ ::\+ Sign(), and Gpg\+ Frontend\+ ::\+ File\+ Operator\+ ::\+ Write\+ File\+ Std().
2022-05-08 19:59:26 +00:00
2022-11-26 18:19:17 +00:00
Referenced by Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::\+ Slot\+ File\+ Sign().
2022-05-08 19:59:26 +00:00
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1GpgFileOpera_ a14cddfe822c9410cd9c301d08963b7e7} \label { classGpgFrontend_ 1_ 1GpgFileOpera_ a14cddfe822c9410cd9c301d08963b7e7} }
\index { GpgFrontend::GpgFileOpera@{ GpgFrontend::GpgFileOpera} !VerifyFile@{ VerifyFile} }
\index { VerifyFile@{ VerifyFile} !GpgFrontend::GpgFileOpera@{ GpgFrontend::GpgFileOpera} }
\doxysubsubsection { \texorpdfstring { VerifyFile()} { VerifyFile()} }
{ \footnotesize \ttfamily gpgme\+ \_ \+ error\+ \_ \+ t Gpg\+ Frontend\+ ::\+ Gpg\+ File\+ Opera\+ ::\+ Verify\+ File (\begin { DoxyParamCaption} \item [{const std\+::string \&}] { data\+ \_ \+ path, } \item [{const std\+::string \&}] { sign\+ \_ \+ path, } \item [{Gpg\+Verify\+Result \&}] { result, } \item [{int}] { \+ \_ \+ channel = { \ttfamily GPGFRONTEND\+ \_ \+ DEFAULT\+ \_ \+ CHANNEL} } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [static]} }
\begin { DoxyParams} { Parameters}
{ \em data\+ \_ \+ path} & \\
\hline
{ \em sign\+ \_ \+ path} & \\
\hline
{ \em result} & \\
\hline
{ \em \+ \_ \+ channel} & \\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
Gpg\+ Error
\end { DoxyReturn}
2022-05-08 22:01:23 +00:00
References Gpg\+ Frontend\+ ::\+ Singleton\+ Function\+ Object$ < $ Gpg\+ Basic\+ Operator $ > $ \+ ::\+ Get\+ Instance(), Gpg\+ Frontend\+ ::\+ File\+ Operator\+ ::\+ Read\+ File\+ Std(), and Gpg\+ Frontend\+ ::\+ Gpg\+ Basic\+ Operator\+ ::\+ Verify().
2022-05-08 19:59:26 +00:00
2022-11-26 18:19:17 +00:00
Referenced by Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::\+ Slot\+ File\+ Verify().
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\+ File\+ Opera.\+ h\item
src/core/function/gpg/Gpg\+ File\+ Opera.\+ cpp\end { DoxyCompactItemize}