2022-05-08 19:59:26 +00:00
|
|
|
\hypertarget{classGpgFrontend_1_1PassphraseGenerator}{}\doxysection{Gpg\+Frontend\+::Passphrase\+Generator Class Reference}
|
|
|
|
\label{classGpgFrontend_1_1PassphraseGenerator}\index{GpgFrontend::PassphraseGenerator@{GpgFrontend::PassphraseGenerator}}
|
|
|
|
|
|
|
|
|
|
|
|
The \mbox{\hyperlink{classGpgFrontend_1_1PassphraseGenerator}{Passphrase\+Generator}} class.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{\ttfamily \#include $<$Passphrase\+Generator.\+h$>$}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inheritance diagram for Gpg\+Frontend\+::Passphrase\+Generator\+:
|
2022-05-08 22:01:23 +00:00
|
|
|
\nopagebreak
|
|
|
|
\begin{figure}[H]
|
|
|
|
\begin{center}
|
|
|
|
\leavevmode
|
|
|
|
\includegraphics[height=550pt]{classGpgFrontend_1_1PassphraseGenerator__inherit__graph}
|
|
|
|
\end{center}
|
|
|
|
\end{figure}
|
2022-05-08 19:59:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
Collaboration diagram for Gpg\+Frontend\+::Passphrase\+Generator\+:
|
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_1PassphraseGenerator__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
|
2024-01-23 07:22:33 +00:00
|
|
|
\mbox{\hyperlink{classGpgFrontend_1_1PassphraseGenerator_ac82ef545a54468ad02253a61cc62e3cf}{Passphrase\+Generator}} (int channel=\mbox{\hyperlink{classGpgFrontend_1_1SingletonFunctionObject_ad983153cbe3a0c32c123c506e04f31fc}{Singleton\+Function\+Object\+::\+Get\+Default\+Channel}}())
|
2022-05-08 19:59:26 +00:00
|
|
|
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{classGpgFrontend_1_1PassphraseGenerator}{Passphrase\+Generator}} constructor. \end{DoxyCompactList}\item
|
2024-01-23 07:22:33 +00:00
|
|
|
auto \mbox{\hyperlink{classGpgFrontend_1_1PassphraseGenerator_ae53436e5b7dc44e96afe014ccd544998}{Generate}} (int len) -\/$>$ QString
|
2022-05-08 19:59:26 +00:00
|
|
|
\begin{DoxyCompactList}\small\item\em generate passphrase \end{DoxyCompactList}\end{DoxyCompactItemize}
|
2024-01-23 07:22:33 +00:00
|
|
|
\doxysubsection*{Private Attributes}
|
2022-05-08 19:59:26 +00:00
|
|
|
\begin{DoxyCompactItemize}
|
|
|
|
\item
|
|
|
|
\mbox{\Hypertarget{classGpgFrontend_1_1PassphraseGenerator_a12ee6f9b7fff4883074321c7e0de3dfa}\label{classGpgFrontend_1_1PassphraseGenerator_a12ee6f9b7fff4883074321c7e0de3dfa}}
|
2022-05-08 22:01:23 +00:00
|
|
|
std\+::random\+\_\+device \mbox{\hyperlink{classGpgFrontend_1_1PassphraseGenerator_a12ee6f9b7fff4883074321c7e0de3dfa}{rd\+\_\+}}
|
2022-05-08 19:59:26 +00:00
|
|
|
\begin{DoxyCompactList}\small\item\em Random device. \end{DoxyCompactList}\item
|
|
|
|
\mbox{\Hypertarget{classGpgFrontend_1_1PassphraseGenerator_a19ac4999bbd5fb7e6c42a4aef9606892}\label{classGpgFrontend_1_1PassphraseGenerator_a19ac4999bbd5fb7e6c42a4aef9606892}}
|
2022-05-08 22:01:23 +00:00
|
|
|
std\+::mt19937 \mbox{\hyperlink{classGpgFrontend_1_1PassphraseGenerator_a19ac4999bbd5fb7e6c42a4aef9606892}{mt\+\_\+}} = std\+::mt19937(\mbox{\hyperlink{classGpgFrontend_1_1PassphraseGenerator_a12ee6f9b7fff4883074321c7e0de3dfa}{rd\+\_\+}}())
|
2022-05-08 19:59:26 +00:00
|
|
|
\begin{DoxyCompactList}\small\item\em Mersenne twister. \end{DoxyCompactList}\end{DoxyCompactItemize}
|
|
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
|
|
The \mbox{\hyperlink{classGpgFrontend_1_1PassphraseGenerator}{Passphrase\+Generator}} class.
|
|
|
|
|
|
|
|
This class is used to generate a passphrase.
|
|
|
|
|
|
|
|
\doxysubsection{Constructor \& Destructor Documentation}
|
|
|
|
\mbox{\Hypertarget{classGpgFrontend_1_1PassphraseGenerator_ac82ef545a54468ad02253a61cc62e3cf}\label{classGpgFrontend_1_1PassphraseGenerator_ac82ef545a54468ad02253a61cc62e3cf}}
|
|
|
|
\index{GpgFrontend::PassphraseGenerator@{GpgFrontend::PassphraseGenerator}!PassphraseGenerator@{PassphraseGenerator}}
|
|
|
|
\index{PassphraseGenerator@{PassphraseGenerator}!GpgFrontend::PassphraseGenerator@{GpgFrontend::PassphraseGenerator}}
|
|
|
|
\doxysubsubsection{\texorpdfstring{PassphraseGenerator()}{PassphraseGenerator()}}
|
2024-01-23 07:22:33 +00:00
|
|
|
{\footnotesize\ttfamily Gpg\+Frontend\+::\+Passphrase\+Generator\+::\+Passphrase\+Generator (\begin{DoxyParamCaption}\item[{int}]{channel = {\ttfamily \mbox{\hyperlink{classGpgFrontend_1_1SingletonFunctionObject_ad983153cbe3a0c32c123c506e04f31fc}{Singleton\+Function\+Object\+::\+Get\+Default\+Channel}}()} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}
|
2022-05-08 19:59:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\mbox{\hyperlink{classGpgFrontend_1_1PassphraseGenerator}{Passphrase\+Generator}} constructor.
|
|
|
|
|
|
|
|
|
|
|
|
\begin{DoxyParams}{Parameters}
|
|
|
|
{\em channel} & The channel to use \\
|
|
|
|
\hline
|
|
|
|
\end{DoxyParams}
|
|
|
|
|
|
|
|
|
|
|
|
\doxysubsection{Member Function Documentation}
|
2024-01-23 07:22:33 +00:00
|
|
|
\mbox{\Hypertarget{classGpgFrontend_1_1PassphraseGenerator_ae53436e5b7dc44e96afe014ccd544998}\label{classGpgFrontend_1_1PassphraseGenerator_ae53436e5b7dc44e96afe014ccd544998}}
|
2022-05-08 19:59:26 +00:00
|
|
|
\index{GpgFrontend::PassphraseGenerator@{GpgFrontend::PassphraseGenerator}!Generate@{Generate}}
|
|
|
|
\index{Generate@{Generate}!GpgFrontend::PassphraseGenerator@{GpgFrontend::PassphraseGenerator}}
|
|
|
|
\doxysubsubsection{\texorpdfstring{Generate()}{Generate()}}
|
2024-01-23 07:22:33 +00:00
|
|
|
{\footnotesize\ttfamily auto Gpg\+Frontend\+::\+Passphrase\+Generator\+::\+Generate (\begin{DoxyParamCaption}\item[{int}]{len }\end{DoxyParamCaption}) -\/$>$ QString}
|
2022-05-08 19:59:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
generate passphrase
|
|
|
|
|
|
|
|
|
|
|
|
\begin{DoxyParams}{Parameters}
|
|
|
|
{\em len} & length of the passphrase \\
|
|
|
|
\hline
|
|
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyReturn}{Returns}
|
2024-01-23 07:22:33 +00:00
|
|
|
QString passphrase
|
2022-05-08 19:59:26 +00:00
|
|
|
\end{DoxyReturn}
|
|
|
|
|
|
|
|
|
2024-01-23 07:22:33 +00:00
|
|
|
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
|
2022-05-08 19:59:26 +00:00
|
|
|
\item
|
2024-01-23 07:22:33 +00:00
|
|
|
src/core/function/Passphrase\+Generator.\+h\item
|
|
|
|
src/core/function/Passphrase\+Generator.\+cpp\end{DoxyCompactItemize}
|