\hypertarget{GpgKeySignature_8h_source}{}\doxysection{Gpg\+Key\+Signature.\+h}
\label{GpgKeySignature_8h_source}\index{src/core/model/GpgKeySignature.h@{src/core/model/GpgKeySignature.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{29 \textcolor{preprocessor}{\#ifndef GPGFRONTEND\_GPGKEYSIGNATURE\_H}}
\DoxyCodeLine{30 \textcolor{preprocessor}{\#define GPGFRONTEND\_GPGKEYSIGNATURE\_H}}
\DoxyCodeLine{31 }
\DoxyCodeLine{32 \textcolor{preprocessor}{\#include <boost/date\_time.hpp>}}
\DoxyCodeLine{33 \textcolor{preprocessor}{\#include <string>}}
\DoxyCodeLine{34 }
\DoxyCodeLine{35 \textcolor{preprocessor}{\#include "{}core/GpgConstants.h"{}}}
\DoxyCodeLine{36 }
\DoxyCodeLine{41 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespaceGpgFrontend}{GpgFrontend}} \{}
\DoxyCodeLine{42 }
\DoxyCodeLine{47 \textcolor{keyword}{class }GPGFRONTEND\_CORE\_EXPORT \mbox{\hyperlink{classGpgFrontend_1_1GpgKeySignature}{GpgKeySignature}} \{}
\DoxyCodeLine{48  \textcolor{keyword}{public}:}
\DoxyCodeLine{55   [[nodiscard]] \textcolor{keywordtype}{bool} IsRevoked() \textcolor{keyword}{const};}
\DoxyCodeLine{56 }
\DoxyCodeLine{63   [[nodiscard]] \textcolor{keywordtype}{bool} IsExpired() \textcolor{keyword}{const};}
\DoxyCodeLine{64 }
\DoxyCodeLine{71   [[nodiscard]] \textcolor{keywordtype}{bool} IsInvalid() \textcolor{keyword}{const};}
\DoxyCodeLine{72 }
\DoxyCodeLine{79   [[nodiscard]] \textcolor{keywordtype}{bool} IsExportable() \textcolor{keyword}{const};}
\DoxyCodeLine{80 }
\DoxyCodeLine{86   [[nodiscard]] gpgme\_error\_t GetStatus() \textcolor{keyword}{const};}
\DoxyCodeLine{87 }
\DoxyCodeLine{93   [[nodiscard]] std::string GetKeyID() \textcolor{keyword}{const};}
\DoxyCodeLine{94 }
\DoxyCodeLine{100   [[nodiscard]] std::string GetPubkeyAlgo() \textcolor{keyword}{const};}
\DoxyCodeLine{101 }
\DoxyCodeLine{107   [[nodiscard]] boost::posix\_time::ptime GetCreateTime() \textcolor{keyword}{const};}
\DoxyCodeLine{108 }
\DoxyCodeLine{114   [[nodiscard]] boost::posix\_time::ptime GetExpireTime() \textcolor{keyword}{const};}
\DoxyCodeLine{115 }
\DoxyCodeLine{121   [[nodiscard]] std::string GetUID() \textcolor{keyword}{const};}
\DoxyCodeLine{122 }
\DoxyCodeLine{128   [[nodiscard]] std::string GetName() \textcolor{keyword}{const};}
\DoxyCodeLine{129 }
\DoxyCodeLine{135   [[nodiscard]] std::string GetEmail() \textcolor{keyword}{const};}
\DoxyCodeLine{136 }
\DoxyCodeLine{142   [[nodiscard]] std::string GetComment() \textcolor{keyword}{const};}
\DoxyCodeLine{143 }
\DoxyCodeLine{148   \mbox{\hyperlink{classGpgFrontend_1_1GpgKeySignature_a8a9c792c963ef610e511b7deb6829c0b}{GpgKeySignature}}();}
\DoxyCodeLine{149 }
\DoxyCodeLine{154   \mbox{\hyperlink{classGpgFrontend_1_1GpgKeySignature_ab4d7044f4e1ddcf0ae0d28be43f0fcb3}{\string~GpgKeySignature}}();}
\DoxyCodeLine{155 }
\DoxyCodeLine{161   \textcolor{keyword}{explicit} \mbox{\hyperlink{classGpgFrontend_1_1GpgKeySignature}{GpgKeySignature}}(gpgme\_key\_sig\_t sig);}
\DoxyCodeLine{162 }
\DoxyCodeLine{167   \mbox{\hyperlink{classGpgFrontend_1_1GpgKeySignature_a9ba501d98265c9677d00e3dca3e8d903}{GpgKeySignature}}(\mbox{\hyperlink{classGpgFrontend_1_1GpgKeySignature}{GpgKeySignature}} \&\&) noexcept;}
\DoxyCodeLine{168 }
\DoxyCodeLine{173   \mbox{\hyperlink{classGpgFrontend_1_1GpgKeySignature}{GpgKeySignature}}(const \mbox{\hyperlink{classGpgFrontend_1_1GpgKeySignature}{GpgKeySignature}} \&) = delete;}
\DoxyCodeLine{174 }
\DoxyCodeLine{180   \mbox{\hyperlink{classGpgFrontend_1_1GpgKeySignature}{GpgKeySignature}} \&operator=(\mbox{\hyperlink{classGpgFrontend_1_1GpgKeySignature}{GpgKeySignature}} \&\&) noexcept;}
\DoxyCodeLine{181 }
\DoxyCodeLine{187   \mbox{\hyperlink{classGpgFrontend_1_1GpgKeySignature}{GpgKeySignature}} \&operator=(const \mbox{\hyperlink{classGpgFrontend_1_1GpgKeySignature}{GpgKeySignature}} \&) = delete;}
\DoxyCodeLine{188 }
\DoxyCodeLine{189  private:}
\DoxyCodeLine{190   using KeySignatrueRefHandler =}
\DoxyCodeLine{191       std::unique\_ptr<struct \_gpgme\_key\_sig,}
\DoxyCodeLine{192                       std::function<\textcolor{keywordtype}{void}(gpgme\_key\_sig\_t)>>;  }
\DoxyCodeLine{193 }
\DoxyCodeLine{194   KeySignatrueRefHandler signature\_ref\_ = \textcolor{keywordtype}{nullptr};  }
\DoxyCodeLine{195 \};}
\DoxyCodeLine{196 }
\DoxyCodeLine{197 \}  \textcolor{comment}{// namespace GpgFrontend}}
\DoxyCodeLine{198 }
\DoxyCodeLine{199 \textcolor{preprocessor}{\#endif  }\textcolor{comment}{// GPGFRONTEND\_GPGKEYSIGNATURE\_H}}

\end{DoxyCode}
