mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 14:35:52 +00:00
deploy: 9d89d4c188
This commit is contained in:
@@ -91,7 +91,7 @@ $(function() {
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#ifndef RIPPLE_PROTOCOL_KEYTYPE_H_INCLUDED</span></div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#define RIPPLE_PROTOCOL_KEYTYPE_H_INCLUDED</span></div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <boost/optional.hpp></span></div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/optional.html">optional</a>></span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/string.html">string</a>></span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  </div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
|
||||
@@ -101,8 +101,8 @@ $(function() {
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <a class="code" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4ddea8183aa2c95dc1385c8f58bf1917fcb0b">ed25519</a> = 1,</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> };</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  </div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">inline</span> boost::optional<KeyType></div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="namespaceripple.html#ab29dd72d84c2833dfad712c0460a0eca"> 34</a></span> <a class="code" href="namespaceripple.html#ab29dd72d84c2833dfad712c0460a0eca">keyTypeFromString</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& s)</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">inline</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<KeyType></a></div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="namespaceripple.html#a74041120f00ad8558dd67fd3a0150a88"> 34</a></span> <a class="code" href="namespaceripple.html#a74041120f00ad8558dd67fd3a0150a88">keyTypeFromString</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& s)</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> {</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keywordflow">if</span> (s == <span class="stringliteral">"secp256k1"</span>)</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4ddea82c2b7829b8129e5a2d53665ba4b4757">KeyType::secp256k1</a>;</div>
|
||||
@@ -114,7 +114,7 @@ $(function() {
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> }</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  </div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">inline</span> <span class="keywordtype">char</span> <span class="keyword">const</span>*</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="namespaceripple.html#a1d935ac8726a909bda40ba26918012a7"> 46</a></span> <a class="code" href="namespaceripple.html#a96888695e8d79474e080c334f149e30a">to_string</a>(<a class="code" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4dde">KeyType</a> type)</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="namespaceripple.html#a1d935ac8726a909bda40ba26918012a7"> 46</a></span> <a class="code" href="namespaceripple.html#af9776f187d3686a7fba4c2d2fbeebdf4">to_string</a>(<a class="code" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4dde">KeyType</a> type)</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> {</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordflow">if</span> (type == <a class="code" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4ddea82c2b7829b8129e5a2d53665ba4b4757">KeyType::secp256k1</a>)</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keywordflow">return</span> <span class="stringliteral">"secp256k1"</span>;</div>
|
||||
@@ -129,7 +129,7 @@ $(function() {
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="keyword">inline</span> Stream&</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="namespaceripple.html#ab6ac17b36e055a0b9e2f8e3baff7e6fe"> 59</a></span> <a class="code" href="namespaceripple.html#ad2cbc273400d06e5ff80501de15410e3">operator<<</a>(Stream& s, <a class="code" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4dde">KeyType</a> type)</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> {</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordflow">return</span> s << <a class="code" href="namespaceripple.html#a96888695e8d79474e080c334f149e30a">to_string</a>(type);</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordflow">return</span> s << <a class="code" href="namespaceripple.html#af9776f187d3686a7fba4c2d2fbeebdf4">to_string</a>(type);</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> }</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  </div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> } <span class="comment">// namespace ripple</span></div>
|
||||
@@ -137,13 +137,14 @@ $(function() {
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div><div class="ttdoc">STL class.</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a96888695e8d79474e080c334f149e30a"><div class="ttname"><a href="namespaceripple.html#a96888695e8d79474e080c334f149e30a">ripple::to_string</a></div><div class="ttdeci">std::string to_string(ListDisposition disposition)</div><div class="ttdef"><b>Definition:</b> <a href="ValidatorList_8cpp_source.html#l00045">ValidatorList.cpp:45</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a74041120f00ad8558dd67fd3a0150a88"><div class="ttname"><a href="namespaceripple.html#a74041120f00ad8558dd67fd3a0150a88">ripple::keyTypeFromString</a></div><div class="ttdeci">std::optional< KeyType > keyTypeFromString(std::string const &s)</div><div class="ttdef"><b>Definition:</b> <a href="KeyType_8h_source.html#l00034">KeyType.h:34</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ad2cbc273400d06e5ff80501de15410e3"><div class="ttname"><a href="namespaceripple.html#ad2cbc273400d06e5ff80501de15410e3">ripple::operator<<</a></div><div class="ttdeci">std::ostream & operator<<(std::ostream &os, TOffer< TIn, TOut > const &offer)</div><div class="ttdef"><b>Definition:</b> <a href="Offer_8h_source.html#l00242">Offer.h:242</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ab29dd72d84c2833dfad712c0460a0eca"><div class="ttname"><a href="namespaceripple.html#ab29dd72d84c2833dfad712c0460a0eca">ripple::keyTypeFromString</a></div><div class="ttdeci">boost::optional< KeyType > keyTypeFromString(std::string const &s)</div><div class="ttdef"><b>Definition:</b> <a href="KeyType_8h_source.html#l00034">KeyType.h:34</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a9de744cfdefe1132969eb982e57e4ddea8183aa2c95dc1385c8f58bf1917fcb0b"><div class="ttname"><a href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4ddea8183aa2c95dc1385c8f58bf1917fcb0b">ripple::KeyType::ed25519</a></div><div class="ttdeci">@ ed25519</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a9de744cfdefe1132969eb982e57e4dde"><div class="ttname"><a href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4dde">ripple::KeyType</a></div><div class="ttdeci">KeyType</div><div class="ttdef"><b>Definition:</b> <a href="KeyType_8h_source.html#l00028">KeyType.h:28</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a9de744cfdefe1132969eb982e57e4ddea82c2b7829b8129e5a2d53665ba4b4757"><div class="ttname"><a href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4ddea82c2b7829b8129e5a2d53665ba4b4757">ripple::KeyType::secp256k1</a></div><div class="ttdeci">@ secp256k1</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div>
|
||||
<div class="ttc" id="aoptional_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/optional.html">optional</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_af9776f187d3686a7fba4c2d2fbeebdf4"><div class="ttname"><a href="namespaceripple.html#af9776f187d3686a7fba4c2d2fbeebdf4">ripple::to_string</a></div><div class="ttdeci">std::string to_string(Manifest const &m)</div><div class="ttdoc">Format the specified manifest to a string for debugging purposes.</div><div class="ttdef"><b>Definition:</b> <a href="app_2misc_2impl_2Manifest_8cpp_source.html#l00038">app/misc/impl/Manifest.cpp:38</a></div></div>
|
||||
<div class="ttc" id="astring_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/string.html">string</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
|
||||
Reference in New Issue
Block a user