\hypertarget{classPlaintextAuthHandler}{
\section{PlaintextAuthHandler Class Reference}
\label{classPlaintextAuthHandler}\index{PlaintextAuthHandler@{PlaintextAuthHandler}}
}


OSPFv2 Authentication handler for plaintext scheme.  




{\ttfamily \#include $<$auth.hh$>$}

Inheritance diagram for PlaintextAuthHandler:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classPlaintextAuthHandler}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
const char $\ast$ \hyperlink{classPlaintextAuthHandler_a4b2b5ebbbaf70dfbcdb9392f90464ab0}{effective\_\-name} () const 
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} effective name of \hyperlink{protocolthe-p}{the} authentication scheme. \item\end{DoxyCompactList}\item 
\hypertarget{classPlaintextAuthHandler_a6ad5b8b4d18e849b6477804ce77c1f9c}{
void \hyperlink{classPlaintextAuthHandler_a6ad5b8b4d18e849b6477804ce77c1f9c}{reset} ()}
\label{classPlaintextAuthHandler_a6ad5b8b4d18e849b6477804ce77c1f9c}

\begin{DoxyCompactList}\small\item\em Reset \hyperlink{protocolthe-p}{the} authentication state. \item\end{DoxyCompactList}\item 
uint32\_\-t \hyperlink{classPlaintextAuthHandler_a4b56e88864f7303578a38dfdfb0afb64}{additional\_\-payload} () const 
\begin{DoxyCompactList}\small\item\em Additional bytes that will be added to \hyperlink{protocolthe-p}{the} payload. \item\end{DoxyCompactList}\item 
bool \hyperlink{classPlaintextAuthHandler_add54cc2acd24f8259f29420ccaf39039}{authenticate\_\-inbound} (const vector$<$ uint8\_\-t $>$ \&packet, const \hyperlink{classIPv4}{IPv4} \&src\_\-addr, bool new\_\-peer)
\begin{DoxyCompactList}\small\item\em Inbound authentication method. \item\end{DoxyCompactList}\item 
bool \hyperlink{classPlaintextAuthHandler_ac45ad4e9733c929f294f33b64a172531}{authenticate\_\-outbound} (vector$<$ uint8\_\-t $>$ \&packet)
\begin{DoxyCompactList}\small\item\em Outbound authentication method. \item\end{DoxyCompactList}\item 
const string \& \hyperlink{classPlaintextAuthHandler_a2c3a41f426963de8cbabe200e274a56b}{key} () const 
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} authentication key. \item\end{DoxyCompactList}\item 
void \hyperlink{classPlaintextAuthHandler_ac12ac3c8c6fe36ca7b79508bccb7607f}{set\_\-key} (const string \&plaintext\_\-key)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} authentication key. \item\end{DoxyCompactList}\item 
\hypertarget{classPlaintextAuthHandler_ac9e730c37b7993bbcf90eed33c2cae8e}{
const char $\ast$ \hyperlink{classPlaintextAuthHandler_ac9e730c37b7993bbcf90eed33c2cae8e}{effective\_\-name} () const }
\label{classPlaintextAuthHandler_ac9e730c37b7993bbcf90eed33c2cae8e}

\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} effective name of \hyperlink{protocolthe-p}{the} authentication scheme. \item\end{DoxyCompactList}\item 
\hypertarget{classPlaintextAuthHandler_a6ad5b8b4d18e849b6477804ce77c1f9c}{
void \hyperlink{classPlaintextAuthHandler_a6ad5b8b4d18e849b6477804ce77c1f9c}{reset} ()}
\label{classPlaintextAuthHandler_a6ad5b8b4d18e849b6477804ce77c1f9c}

\begin{DoxyCompactList}\small\item\em Reset \hyperlink{protocolthe-p}{the} authentication state. \item\end{DoxyCompactList}\item 
uint32\_\-t \hyperlink{classPlaintextAuthHandler_af37dc997b6f69cce4b8790ae21af5538}{head\_\-entries} () const 
\begin{DoxyCompactList}\small\item\em Get number of routing entries used by authentication scheme at \hyperlink{protocolthe-p}{the} head of \hyperlink{protocolthe-p}{the} RIP packet. \item\end{DoxyCompactList}\item 
\hypertarget{classPlaintextAuthHandler_af83bd3733a920bf2091481603d9802c0}{
uint32\_\-t \hyperlink{classPlaintextAuthHandler_af83bd3733a920bf2091481603d9802c0}{max\_\-routing\_\-entries} () const }
\label{classPlaintextAuthHandler_af83bd3733a920bf2091481603d9802c0}

\begin{DoxyCompactList}\small\item\em Get maximum number of non-\/authentication scheme use routing entries in a RIP packet. \item\end{DoxyCompactList}\item 
bool \hyperlink{classPlaintextAuthHandler_ad89fb17246de4c3d7f53202a4f46cd26}{authenticate\_\-inbound} (const uint8\_\-t $\ast$packet, size\_\-t packet\_\-bytes, const uint8\_\-t $\ast$\&entries\_\-ptr, uint32\_\-t \&n\_\-entries, const \hyperlink{classIPv4}{IPv4} \&src\_\-addr, bool new\_\-peer)
\begin{DoxyCompactList}\small\item\em Inbound authentication method. \item\end{DoxyCompactList}\item 
bool \hyperlink{classPlaintextAuthHandler_ad23ac4a80fe276136439ad5b54a2e6bd}{authenticate\_\-outbound} (\hyperlink{classRipPacket}{RipPacket}$<$ \hyperlink{classIPv4}{IPv4} $>$ \&packet, list$<$ \hyperlink{classRipPacket}{RipPacket}$<$ \hyperlink{classIPv4}{IPv4} $>$ $\ast$ $>$ \&auth\_\-packets, size\_\-t \&n\_\-routes)
\begin{DoxyCompactList}\small\item\em Outbound authentication method. \item\end{DoxyCompactList}\item 
const string \& \hyperlink{classPlaintextAuthHandler_aad5a9b81a16f81426b36589183025075}{key} () const 
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} authentication key. \item\end{DoxyCompactList}\item 
void \hyperlink{classPlaintextAuthHandler_ac12ac3c8c6fe36ca7b79508bccb7607f}{set\_\-key} (const string \&plaintext\_\-key)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} authentication key. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static const char $\ast$ \hyperlink{classPlaintextAuthHandler_aeedd42f05bca7302bbc81d7796251fe1}{auth\_\-type\_\-name} ()
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} method-\/specific name of \hyperlink{protocolthe-p}{the} authentication scheme. \item\end{DoxyCompactList}\item 
static const char $\ast$ \hyperlink{classPlaintextAuthHandler_afc96903e66505396d7d9eaa6e2c027ae}{auth\_\-type\_\-name} ()
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} method-\/specific name of \hyperlink{protocolthe-p}{the} authentication scheme. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classPlaintextAuthHandler_afba573f4b4d2cb2c247911f9ba0fe6af}{
static const \hyperlink{structOspfTypes_aa9ff5527ceed0789d66d95912c1bdf52}{OspfTypes::AuType} {\bfseries AUTH\_\-TYPE} = OspfTypes::SIMPLE\_\-PASSWORD}
\label{classPlaintextAuthHandler_afba573f4b4d2cb2c247911f9ba0fe6af}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classPlaintextAuthHandler_a7dd089fb111a44f82d33e80dd5b09150}{
string {\bfseries \_\-key}}
\label{classPlaintextAuthHandler_a7dd089fb111a44f82d33e80dd5b09150}

\item 
\hypertarget{classPlaintextAuthHandler_a214d25569701b8f0139f2263bb4317d1}{
uint8\_\-t {\bfseries \_\-key\_\-data} \mbox{[}Packet::AUTH\_\-PAYLOAD\_\-SIZE\mbox{]}}
\label{classPlaintextAuthHandler_a214d25569701b8f0139f2263bb4317d1}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
OSPFv2 Authentication handler for plaintext scheme. RIPv2 Authentication handler for plaintext scheme. 

\subsection{Member Function Documentation}
\hypertarget{classPlaintextAuthHandler_a4b56e88864f7303578a38dfdfb0afb64}{
\index{PlaintextAuthHandler@{PlaintextAuthHandler}!additional\_\-payload@{additional\_\-payload}}
\index{additional\_\-payload@{additional\_\-payload}!PlaintextAuthHandler@{PlaintextAuthHandler}}
\subsubsection[{additional\_\-payload}]{\setlength{\rightskip}{0pt plus 5cm}uint32\_\-t PlaintextAuthHandler::additional\_\-payload (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classPlaintextAuthHandler_a4b56e88864f7303578a38dfdfb0afb64}


Additional bytes that will be added to \hyperlink{protocolthe-p}{the} payload. 

\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} number of additional bytes that need to be added to \hyperlink{protocolthe-p}{the} payload. 
\end{DoxyReturn}


Implements \hyperlink{classAuthHandlerBase_a89d17f816687f2b7edb940726ed5d7dc}{AuthHandlerBase}.

\hypertarget{classPlaintextAuthHandler_aeedd42f05bca7302bbc81d7796251fe1}{
\index{PlaintextAuthHandler@{PlaintextAuthHandler}!auth\_\-type\_\-name@{auth\_\-type\_\-name}}
\index{auth\_\-type\_\-name@{auth\_\-type\_\-name}!PlaintextAuthHandler@{PlaintextAuthHandler}}
\subsubsection[{auth\_\-type\_\-name}]{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ PlaintextAuthHandler::auth\_\-type\_\-name (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classPlaintextAuthHandler_aeedd42f05bca7302bbc81d7796251fe1}


Get \hyperlink{protocolthe-p}{the} method-\/specific name of \hyperlink{protocolthe-p}{the} authentication scheme. 

\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} method-\/specific name of \hyperlink{protocolthe-p}{the} authentication scheme. 
\end{DoxyReturn}
\hypertarget{classPlaintextAuthHandler_afc96903e66505396d7d9eaa6e2c027ae}{
\index{PlaintextAuthHandler@{PlaintextAuthHandler}!auth\_\-type\_\-name@{auth\_\-type\_\-name}}
\index{auth\_\-type\_\-name@{auth\_\-type\_\-name}!PlaintextAuthHandler@{PlaintextAuthHandler}}
\subsubsection[{auth\_\-type\_\-name}]{\setlength{\rightskip}{0pt plus 5cm}static const char$\ast$ PlaintextAuthHandler::auth\_\-type\_\-name (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classPlaintextAuthHandler_afc96903e66505396d7d9eaa6e2c027ae}


Get \hyperlink{protocolthe-p}{the} method-\/specific name of \hyperlink{protocolthe-p}{the} authentication scheme. 

\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} method-\/specific name of \hyperlink{protocolthe-p}{the} authentication scheme. 
\end{DoxyReturn}
\hypertarget{classPlaintextAuthHandler_add54cc2acd24f8259f29420ccaf39039}{
\index{PlaintextAuthHandler@{PlaintextAuthHandler}!authenticate\_\-inbound@{authenticate\_\-inbound}}
\index{authenticate\_\-inbound@{authenticate\_\-inbound}!PlaintextAuthHandler@{PlaintextAuthHandler}}
\subsubsection[{authenticate\_\-inbound}]{\setlength{\rightskip}{0pt plus 5cm}bool PlaintextAuthHandler::authenticate\_\-inbound (
\begin{DoxyParamCaption}
\item[{const vector$<$ uint8\_\-t $>$ \&}]{packet, }
\item[{const {\bf IPv4} \&}]{src\_\-addr, }
\item[{bool}]{new\_\-peer}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classPlaintextAuthHandler_add54cc2acd24f8259f29420ccaf39039}


Inbound authentication method. 


\begin{DoxyParams}{Parameters}
{\em packet} & \hyperlink{protocolthe-p}{the} packet to verify. \\
\hline
{\em src\_\-addr} & \hyperlink{protocolthe-p}{the} source address of \hyperlink{protocolthe-p}{the} packet. \\
\hline
{\em new\_\-peer} & true if this is a new peer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if packet passes authentication checks, false otherwise. 
\end{DoxyReturn}


Implements \hyperlink{classAuthHandlerBase_a8f24e1dbb92fc3f224e7e825248503ed}{AuthHandlerBase}.

\hypertarget{classPlaintextAuthHandler_ad89fb17246de4c3d7f53202a4f46cd26}{
\index{PlaintextAuthHandler@{PlaintextAuthHandler}!authenticate\_\-inbound@{authenticate\_\-inbound}}
\index{authenticate\_\-inbound@{authenticate\_\-inbound}!PlaintextAuthHandler@{PlaintextAuthHandler}}
\subsubsection[{authenticate\_\-inbound}]{\setlength{\rightskip}{0pt plus 5cm}bool PlaintextAuthHandler::authenticate\_\-inbound (
\begin{DoxyParamCaption}
\item[{const uint8\_\-t $\ast$}]{packet, }
\item[{size\_\-t}]{packet\_\-bytes, }
\item[{const uint8\_\-t $\ast$\&}]{entries\_\-ptr, }
\item[{uint32\_\-t \&}]{n\_\-entries, }
\item[{const {\bf IPv4} \&}]{src\_\-addr, }
\item[{bool}]{new\_\-peer}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classPlaintextAuthHandler_ad89fb17246de4c3d7f53202a4f46cd26}


Inbound authentication method. 


\begin{DoxyParams}{Parameters}
{\em packet} & pointer to first byte of RIP packet. \\
\hline
{\em packet\_\-bytes} & number of bytes in RIP packet. \\
\hline
{\em entries\_\-ptr} & output variable set to point to first entry in packet. Set to NULL if there are no entries, or on authentication failure. \\
\hline
{\em n\_\-entries} & number of entries in \hyperlink{protocolthe-p}{the} packet. \\
\hline
{\em src\_\-addr} & \hyperlink{protocolthe-p}{the} source address of \hyperlink{protocolthe-p}{the} packet. \\
\hline
{\em new\_\-peer} & true if this is a new peer.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if packet passes authentication checks, false otherwise. 
\end{DoxyReturn}


Implements \hyperlink{classAuthHandlerBase_a5ad3b25ba886a3b239a6cf6a37b01f48}{AuthHandlerBase}.

\hypertarget{classPlaintextAuthHandler_ad23ac4a80fe276136439ad5b54a2e6bd}{
\index{PlaintextAuthHandler@{PlaintextAuthHandler}!authenticate\_\-outbound@{authenticate\_\-outbound}}
\index{authenticate\_\-outbound@{authenticate\_\-outbound}!PlaintextAuthHandler@{PlaintextAuthHandler}}
\subsubsection[{authenticate\_\-outbound}]{\setlength{\rightskip}{0pt plus 5cm}bool PlaintextAuthHandler::authenticate\_\-outbound (
\begin{DoxyParamCaption}
\item[{{\bf RipPacket}$<$ {\bf IPv4} $>$ \&}]{packet, }
\item[{list$<$ {\bf RipPacket}$<$ {\bf IPv4} $>$ $\ast$ $>$ \&}]{auth\_\-packets, }
\item[{size\_\-t \&}]{n\_\-routes}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classPlaintextAuthHandler_ad23ac4a80fe276136439ad5b54a2e6bd}


Outbound authentication method. 

Create a list of authenticated packets (one for each valid authentication key). Note that \hyperlink{protocolthe-p}{the} original packet is also modified and authenticated with \hyperlink{protocolthe-p}{the} first valid key.


\begin{DoxyParams}{Parameters}
{\em packet} & \hyperlink{protocolthe-p}{the} RIP packet to authenticate. \\
\hline
{\em auth\_\-packets} & a return-\/by-\/reference list with \hyperlink{protocolthe-p}{the} authenticated RIP packets (one for each valid authentication key). \\
\hline
{\em n\_\-routes} & \hyperlink{protocolthe-p}{the} return-\/by-\/reference number of routes in \hyperlink{protocolthe-p}{the} packet. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if packet was successfully authenticated, false when no valid keys are present. 
\end{DoxyReturn}


Implements \hyperlink{classAuthHandlerBase_a376564db371c98aa424c948d001b0616}{AuthHandlerBase}.

\hypertarget{classPlaintextAuthHandler_ac45ad4e9733c929f294f33b64a172531}{
\index{PlaintextAuthHandler@{PlaintextAuthHandler}!authenticate\_\-outbound@{authenticate\_\-outbound}}
\index{authenticate\_\-outbound@{authenticate\_\-outbound}!PlaintextAuthHandler@{PlaintextAuthHandler}}
\subsubsection[{authenticate\_\-outbound}]{\setlength{\rightskip}{0pt plus 5cm}bool PlaintextAuthHandler::authenticate\_\-outbound (
\begin{DoxyParamCaption}
\item[{vector$<$ uint8\_\-t $>$ \&}]{packet}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classPlaintextAuthHandler_ac45ad4e9733c929f294f33b64a172531}


Outbound authentication method. 


\begin{DoxyParams}{Parameters}
{\em packet} & \hyperlink{protocolthe-p}{the} packet to authenticate. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if packet was successfully authenticated, false when no valid keys are present. 
\end{DoxyReturn}


Implements \hyperlink{classAuthHandlerBase_a6ec0ffeeff1824135bd1ee0d830eb416}{AuthHandlerBase}.

\hypertarget{classPlaintextAuthHandler_a4b2b5ebbbaf70dfbcdb9392f90464ab0}{
\index{PlaintextAuthHandler@{PlaintextAuthHandler}!effective\_\-name@{effective\_\-name}}
\index{effective\_\-name@{effective\_\-name}!PlaintextAuthHandler@{PlaintextAuthHandler}}
\subsubsection[{effective\_\-name}]{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ PlaintextAuthHandler::effective\_\-name (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classPlaintextAuthHandler_a4b2b5ebbbaf70dfbcdb9392f90464ab0}


Get \hyperlink{protocolthe-p}{the} effective name of \hyperlink{protocolthe-p}{the} authentication scheme. 

\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} authentication scheme. 
\end{DoxyReturn}


Implements \hyperlink{classAuthHandlerBase_ae7de23c1ed8c11bf3a9214236777b081}{AuthHandlerBase}.

\hypertarget{classPlaintextAuthHandler_af37dc997b6f69cce4b8790ae21af5538}{
\index{PlaintextAuthHandler@{PlaintextAuthHandler}!head\_\-entries@{head\_\-entries}}
\index{head\_\-entries@{head\_\-entries}!PlaintextAuthHandler@{PlaintextAuthHandler}}
\subsubsection[{head\_\-entries}]{\setlength{\rightskip}{0pt plus 5cm}uint32\_\-t PlaintextAuthHandler::head\_\-entries (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classPlaintextAuthHandler_af37dc997b6f69cce4b8790ae21af5538}


Get number of routing entries used by authentication scheme at \hyperlink{protocolthe-p}{the} head of \hyperlink{protocolthe-p}{the} RIP packet. 

\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} number of routing entries used by \hyperlink{protocolthe-p}{the} authentication scheme at \hyperlink{protocolthe-p}{the} head of \hyperlink{protocolthe-p}{the} RIP packet: 0 for unauthenticated packets, 1 otherwise. 
\end{DoxyReturn}


Implements \hyperlink{classAuthHandlerBase_a0c5a74a5248a62e035b68f4754de6d5d}{AuthHandlerBase}.

\hypertarget{classPlaintextAuthHandler_aad5a9b81a16f81426b36589183025075}{
\index{PlaintextAuthHandler@{PlaintextAuthHandler}!key@{key}}
\index{key@{key}!PlaintextAuthHandler@{PlaintextAuthHandler}}
\subsubsection[{key}]{\setlength{\rightskip}{0pt plus 5cm}const string\& PlaintextAuthHandler::key (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}
\label{classPlaintextAuthHandler_aad5a9b81a16f81426b36589183025075}


Get \hyperlink{protocolthe-p}{the} authentication key. 

\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} authentication key. 
\end{DoxyReturn}
\hypertarget{classPlaintextAuthHandler_a2c3a41f426963de8cbabe200e274a56b}{
\index{PlaintextAuthHandler@{PlaintextAuthHandler}!key@{key}}
\index{key@{key}!PlaintextAuthHandler@{PlaintextAuthHandler}}
\subsubsection[{key}]{\setlength{\rightskip}{0pt plus 5cm}const string \& PlaintextAuthHandler::key (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}
\label{classPlaintextAuthHandler_a2c3a41f426963de8cbabe200e274a56b}


Get \hyperlink{protocolthe-p}{the} authentication key. 

\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} authentication key. 
\end{DoxyReturn}
\hypertarget{classPlaintextAuthHandler_ac12ac3c8c6fe36ca7b79508bccb7607f}{
\index{PlaintextAuthHandler@{PlaintextAuthHandler}!set\_\-key@{set\_\-key}}
\index{set\_\-key@{set\_\-key}!PlaintextAuthHandler@{PlaintextAuthHandler}}
\subsubsection[{set\_\-key}]{\setlength{\rightskip}{0pt plus 5cm}void PlaintextAuthHandler::set\_\-key (
\begin{DoxyParamCaption}
\item[{const string \&}]{plaintext\_\-key}
\end{DoxyParamCaption}
)}}
\label{classPlaintextAuthHandler_ac12ac3c8c6fe36ca7b79508bccb7607f}


Set \hyperlink{protocolthe-p}{the} authentication key. 


\begin{DoxyParams}{Parameters}
{\em plaintext\_\-key} & \hyperlink{protocolthe-p}{the} plain-\/text key. \\
\hline
\end{DoxyParams}
\hypertarget{classPlaintextAuthHandler_ac12ac3c8c6fe36ca7b79508bccb7607f}{
\index{PlaintextAuthHandler@{PlaintextAuthHandler}!set\_\-key@{set\_\-key}}
\index{set\_\-key@{set\_\-key}!PlaintextAuthHandler@{PlaintextAuthHandler}}
\subsubsection[{set\_\-key}]{\setlength{\rightskip}{0pt plus 5cm}void PlaintextAuthHandler::set\_\-key (
\begin{DoxyParamCaption}
\item[{const string \&}]{plaintext\_\-key}
\end{DoxyParamCaption}
)}}
\label{classPlaintextAuthHandler_ac12ac3c8c6fe36ca7b79508bccb7607f}


Set \hyperlink{protocolthe-p}{the} authentication key. 


\begin{DoxyParams}{Parameters}
{\em plaintext\_\-key} & \hyperlink{protocolthe-p}{the} plain-\/text key. \\
\hline
\end{DoxyParams}


The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/ospf/auth.hh\item 
/home/greearb/git/xorp.ct.github/xorp/rip/auth.hh\item 
/home/greearb/git/xorp.ct.github/xorp/ospf/auth.cc\item 
/home/greearb/git/xorp.ct.github/xorp/rip/auth.cc\end{DoxyCompactItemize}
