\hypertarget{structwickr__ctx}{}\doxysection{wickr\+\_\+ctx Struct Reference}
\label{structwickr__ctx}\index{wickr\_ctx@{wickr\_ctx}}


Wickr encryption context for high level management of sending / receiving packets using the Wickr protocol.  




{\ttfamily \#include $<$wickr\+\_\+ctx.\+h$>$}

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{structwickr__crypto__engine}{wickr\+\_\+crypto\+\_\+engine\+\_\+t}} \mbox{\hyperlink{structwickr__ctx_a244c238ad74f2dbcddc280822d1fb93f}{engine}}
\item 
\mbox{\hyperlink{structwickr__dev__info}{wickr\+\_\+dev\+\_\+info\+\_\+t}} $\ast$ \mbox{\hyperlink{structwickr__ctx_a043ea3b027c4d27909f77bb195550b11}{dev\+\_\+info}}
\item 
\mbox{\hyperlink{structwickr__identity__chain}{wickr\+\_\+identity\+\_\+chain\+\_\+t}} $\ast$ \mbox{\hyperlink{structwickr__ctx_a044a292ab5cbba50fd3ec2f5bf7a00ef}{id\+\_\+chain}}
\item 
\mbox{\hyperlink{structwickr__storage__keys}{wickr\+\_\+storage\+\_\+keys\+\_\+t}} $\ast$ \mbox{\hyperlink{structwickr__ctx_ab6d3ad69a6a16c0f582186b9d8461b66}{storage\+\_\+keys}}
\item 
\mbox{\hyperlink{structwickr__cipher__key}{wickr\+\_\+cipher\+\_\+key\+\_\+t}} $\ast$ \mbox{\hyperlink{structwickr__ctx_a86da8359c914b1fec0d60e1c64fcf048}{packet\+\_\+header\+\_\+key}}
\item 
uint8\+\_\+t \mbox{\hyperlink{structwickr__ctx_ad43117fbe3f70681f0ab982b06c6cd75}{pkt\+\_\+enc\+\_\+version}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Wickr encryption context for high level management of sending / receiving packets using the Wickr protocol. 

\doxysubsection{Field Documentation}
\mbox{\Hypertarget{structwickr__ctx_a043ea3b027c4d27909f77bb195550b11}\label{structwickr__ctx_a043ea3b027c4d27909f77bb195550b11}} 
\index{wickr\_ctx@{wickr\_ctx}!dev\_info@{dev\_info}}
\index{dev\_info@{dev\_info}!wickr\_ctx@{wickr\_ctx}}
\doxysubsubsection{\texorpdfstring{dev\_info}{dev\_info}}
{\footnotesize\ttfamily wickr\+\_\+ctx\+::dev\+\_\+info}

set of device identifiers to use for messaging and server communication, storage keys and message key exchanges are bound to the dev\+\_\+info identifiers \mbox{\Hypertarget{structwickr__ctx_a244c238ad74f2dbcddc280822d1fb93f}\label{structwickr__ctx_a244c238ad74f2dbcddc280822d1fb93f}} 
\index{wickr\_ctx@{wickr\_ctx}!engine@{engine}}
\index{engine@{engine}!wickr\_ctx@{wickr\_ctx}}
\doxysubsubsection{\texorpdfstring{engine}{engine}}
{\footnotesize\ttfamily wickr\+\_\+ctx\+::engine}

crypto engine to use by default for all cryptographic operations required by the Wickr protocol \mbox{\Hypertarget{structwickr__ctx_a044a292ab5cbba50fd3ec2f5bf7a00ef}\label{structwickr__ctx_a044a292ab5cbba50fd3ec2f5bf7a00ef}} 
\index{wickr\_ctx@{wickr\_ctx}!id\_chain@{id\_chain}}
\index{id\_chain@{id\_chain}!wickr\_ctx@{wickr\_ctx}}
\doxysubsubsection{\texorpdfstring{id\_chain}{id\_chain}}
{\footnotesize\ttfamily wickr\+\_\+ctx\+::id\+\_\+chain}

the identity chain for this context, it contains the node and root level signature chains \mbox{\Hypertarget{structwickr__ctx_a86da8359c914b1fec0d60e1c64fcf048}\label{structwickr__ctx_a86da8359c914b1fec0d60e1c64fcf048}} 
\index{wickr\_ctx@{wickr\_ctx}!packet\_header\_key@{packet\_header\_key}}
\index{packet\_header\_key@{packet\_header\_key}!wickr\_ctx@{wickr\_ctx}}
\doxysubsubsection{\texorpdfstring{packet\_header\_key}{packet\_header\_key}}
{\footnotesize\ttfamily wickr\+\_\+ctx\+::packet\+\_\+header\+\_\+key}

the active header key to use on all outbound packets \mbox{\Hypertarget{structwickr__ctx_ad43117fbe3f70681f0ab982b06c6cd75}\label{structwickr__ctx_ad43117fbe3f70681f0ab982b06c6cd75}} 
\index{wickr\_ctx@{wickr\_ctx}!pkt\_enc\_version@{pkt\_enc\_version}}
\index{pkt\_enc\_version@{pkt\_enc\_version}!wickr\_ctx@{wickr\_ctx}}
\doxysubsubsection{\texorpdfstring{pkt\_enc\_version}{pkt\_enc\_version}}
{\footnotesize\ttfamily wickr\+\_\+ctx\+::pkt\+\_\+enc\+\_\+version}

the packet version to use for encoding, this is useful for supporting older clients \mbox{\Hypertarget{structwickr__ctx_ab6d3ad69a6a16c0f582186b9d8461b66}\label{structwickr__ctx_ab6d3ad69a6a16c0f582186b9d8461b66}} 
\index{wickr\_ctx@{wickr\_ctx}!storage\_keys@{storage\_keys}}
\index{storage\_keys@{storage\_keys}!wickr\_ctx@{wickr\_ctx}}
\doxysubsubsection{\texorpdfstring{storage\_keys}{storage\_keys}}
{\footnotesize\ttfamily wickr\+\_\+ctx\+::storage\+\_\+keys}

active remote and local storage keys for this context 

The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
src/wickrcrypto/include/wickrcrypto/wickr\+\_\+ctx.\+h\end{DoxyCompactItemize}
