\hypertarget{GpgUID_8h_source}{}\doxysection{Gpg\+UID.\+h}
\label{GpgUID_8h_source}\index{src/core/model/GpgUID.h@{src/core/model/GpgUID.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{29 \textcolor{preprocessor}{\#ifndef GPGFRONTEND\_GPGUID\_H}}
\DoxyCodeLine{30 \textcolor{preprocessor}{\#define GPGFRONTEND\_GPGUID\_H}}
\DoxyCodeLine{31 }
\DoxyCodeLine{32 \textcolor{preprocessor}{\#include "{}GpgKeySignature.h"{}}}
\DoxyCodeLine{33 \textcolor{preprocessor}{\#include "{}GpgTOFUInfo.h"{}}}
\DoxyCodeLine{34 }
\DoxyCodeLine{35 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespaceGpgFrontend}{GpgFrontend}} \{}
\DoxyCodeLine{40 \textcolor{keyword}{class }GPGFRONTEND\_CORE\_EXPORT \mbox{\hyperlink{classGpgFrontend_1_1GpgUID}{GpgUID}} \{}
\DoxyCodeLine{41  \textcolor{keyword}{public}:}
\DoxyCodeLine{47   [[nodiscard]] std::string GetName() \textcolor{keyword}{const};}
\DoxyCodeLine{48 }
\DoxyCodeLine{54   [[nodiscard]] std::string GetEmail() \textcolor{keyword}{const};}
\DoxyCodeLine{55 }
\DoxyCodeLine{61   [[nodiscard]] std::string GetComment() \textcolor{keyword}{const};}
\DoxyCodeLine{62 }
\DoxyCodeLine{68   [[nodiscard]] std::string GetUID() \textcolor{keyword}{const};}
\DoxyCodeLine{69 }
\DoxyCodeLine{76   [[nodiscard]] \textcolor{keywordtype}{bool} GetRevoked() \textcolor{keyword}{const};}
\DoxyCodeLine{77 }
\DoxyCodeLine{84   [[nodiscard]] \textcolor{keywordtype}{bool} GetInvalid() \textcolor{keyword}{const};}
\DoxyCodeLine{85 }
\DoxyCodeLine{91   [[nodiscard]] std::unique\_ptr<std::vector<GpgTOFUInfo>> GetTofuInfos() \textcolor{keyword}{const};}
\DoxyCodeLine{92 }
\DoxyCodeLine{98   [[nodiscard]] std::unique\_ptr<std::vector<GpgKeySignature>> GetSignatures()}
\DoxyCodeLine{99       \textcolor{keyword}{const};}
\DoxyCodeLine{100 }
\DoxyCodeLine{105   \mbox{\hyperlink{classGpgFrontend_1_1GpgUID_a35fdcef4ecf2598461bdc596ffc7957c}{GpgUID}}();}
\DoxyCodeLine{106 }
\DoxyCodeLine{112   \textcolor{keyword}{explicit} \mbox{\hyperlink{classGpgFrontend_1_1GpgUID}{GpgUID}}(gpgme\_user\_id\_t uid);}
\DoxyCodeLine{113 }
\DoxyCodeLine{119   \mbox{\hyperlink{classGpgFrontend_1_1GpgUID}{GpgUID}}(\mbox{\hyperlink{classGpgFrontend_1_1GpgUID}{GpgUID}} \&\&o) \textcolor{keyword}{noexcept};}
\DoxyCodeLine{120 }
\DoxyCodeLine{125   \mbox{\hyperlink{classGpgFrontend_1_1GpgUID_a58ed67984063f0b87e35bc1782a1cc0a}{GpgUID}}(\textcolor{keyword}{const} \mbox{\hyperlink{classGpgFrontend_1_1GpgUID}{GpgUID}} \&) = \textcolor{keyword}{delete};}
\DoxyCodeLine{126 }
\DoxyCodeLine{133   \mbox{\hyperlink{classGpgFrontend_1_1GpgUID}{GpgUID}} \&\mbox{\hyperlink{classGpgFrontend_1_1GpgUID_aa7551e06dde8966d4b379def59918a2d}{operator=}}(\mbox{\hyperlink{classGpgFrontend_1_1GpgUID}{GpgUID}} \&\&o) \textcolor{keyword}{noexcept};}
\DoxyCodeLine{134 }
\DoxyCodeLine{140   \mbox{\hyperlink{classGpgFrontend_1_1GpgUID}{GpgUID}} \&\mbox{\hyperlink{classGpgFrontend_1_1GpgUID_af656ec19c9944c5e46118f56513bfb7a}{operator=}}(\textcolor{keyword}{const} \mbox{\hyperlink{classGpgFrontend_1_1GpgUID}{GpgUID}} \&) = \textcolor{keyword}{delete};}
\DoxyCodeLine{141 }
\DoxyCodeLine{142  \textcolor{keyword}{private}:}
\DoxyCodeLine{143   \textcolor{keyword}{using} UidRefHandler =}
\DoxyCodeLine{144       std::unique\_ptr<\textcolor{keyword}{struct }\_gpgme\_user\_id,}
\DoxyCodeLine{145                       std::function<void(gpgme\_user\_id\_t)>>;  }
\DoxyCodeLine{146 }
\DoxyCodeLine{147   UidRefHandler uid\_ref\_ = nullptr;  }
\DoxyCodeLine{148 \};}
\DoxyCodeLine{149 }
\DoxyCodeLine{150 \}  \textcolor{comment}{// namespace GpgFrontend}}
\DoxyCodeLine{151 }
\DoxyCodeLine{152 \textcolor{preprocessor}{\#endif  }\textcolor{comment}{// GPGFRONTEND\_GPGUID\_H}}

\end{DoxyCode}
