mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 11:35:53 +00:00
274 lines
44 KiB
HTML
274 lines
44 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.17"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>rippled: SecretKey.h Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">rippled
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.17 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_df9c78dcf3f59a33b12284f95992a64b.html">ripple</a></li><li class="navelem"><a class="el" href="dir_1e765e6a8d5970800a535eb2615ec474.html">protocol</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">SecretKey.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//------------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">/*</span></div>
|
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> This file is part of rippled: https://github.com/ripple/rippled</span></div>
|
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> Copyright (c) 2012, 2013 Ripple Labs Inc.</span></div>
|
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> Permission to use, copy, modify, and/or distribute this software for any</span></div>
|
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> purpose with or without fee is hereby granted, provided that the above</span></div>
|
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> copyright notice and this permission notice appear in all copies.</span></div>
|
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES</span></div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF</span></div>
|
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR</span></div>
|
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES</span></div>
|
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN</span></div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF</span></div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</span></div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">*/</span></div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">//==============================================================================</span></div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#ifndef RIPPLE_PROTOCOL_SECRETKEY_H_INCLUDED</span></div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#define RIPPLE_PROTOCOL_SECRETKEY_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 <ripple/basics/Buffer.h></span></div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <ripple/basics/Slice.h></span></div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <ripple/protocol/KeyType.h></span></div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <ripple/protocol/PublicKey.h></span></div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <ripple/protocol/Seed.h></span></div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <ripple/protocol/tokens.h></span></div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/array.html">array</a>></span></div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/cstring.html">cstring</a>></span></div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</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="l00032"></a><span class="lineno"> 32</span>  </div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  </div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classripple_1_1SecretKey.html"> 36</a></span> <span class="keyword">class </span><a class="code" href="classripple_1_1SecretKey.html">SecretKey</a></div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> {</div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="keyword">private</span>:</div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classripple_1_1SecretKey.html#ae507097e2c8e87bbb2f8fd23141524e6"> 39</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a> <a class="code" href="classripple_1_1SecretKey.html#ae507097e2c8e87bbb2f8fd23141524e6">buf_</a>[32];</div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  </div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classripple_1_1SecretKey.html#a9fc00735015a152ea58fe25ef06bc9ea"> 42</a></span>  <span class="keyword">using</span> <a class="code" href="classripple_1_1SecretKey.html#a9fc00735015a152ea58fe25ef06bc9ea">const_iterator</a> = <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a> <span class="keyword">const</span>*;</div>
|
|
<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>  <a class="code" href="classripple_1_1SecretKey.html#ae5357e1ab209a7e982ce4ce8346e46e0">SecretKey</a>() = <span class="keyword">delete</span>;</div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <a class="code" href="classripple_1_1SecretKey.html#ae5357e1ab209a7e982ce4ce8346e46e0">SecretKey</a>(<a class="code" href="classripple_1_1SecretKey.html">SecretKey</a> <span class="keyword">const</span>&) = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <a class="code" href="classripple_1_1SecretKey.html">SecretKey</a>&</div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="classripple_1_1SecretKey.html#a0894ce177cb7f0963d1e30294d1886e6">operator=</a>(<a class="code" href="classripple_1_1SecretKey.html">SecretKey</a> <span class="keyword">const</span>&) = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  </div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <a class="code" href="classripple_1_1SecretKey.html#aa5a985e1abc6503c7102c7f6529b0108">~SecretKey</a>();</div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  </div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <a class="code" href="classripple_1_1SecretKey.html#ae5357e1ab209a7e982ce4ce8346e46e0">SecretKey</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array<std::uint8_t, 32></a> <span class="keyword">const</span>& <a class="code" href="classripple_1_1SecretKey.html#a6b14f25749fca94cca1c2c1bb10da6cc">data</a>);</div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <a class="code" href="classripple_1_1SecretKey.html#ae5357e1ab209a7e982ce4ce8346e46e0">SecretKey</a>(<a class="code" href="classripple_1_1Slice.html">Slice</a> <span class="keyword">const</span>& slice);</div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  </div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a> <span class="keyword">const</span>*</div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classripple_1_1SecretKey.html#a6b14f25749fca94cca1c2c1bb10da6cc"> 55</a></span>  <a class="code" href="classripple_1_1SecretKey.html#a6b14f25749fca94cca1c2c1bb10da6cc">data</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SecretKey.html#ae507097e2c8e87bbb2f8fd23141524e6">buf_</a>;</div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  }</div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  </div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a></div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="classripple_1_1SecretKey.html#ad7c79a6193e24bdba977f7929dcbe49f"> 61</a></span>  <a class="code" href="classripple_1_1SecretKey.html#ad7c79a6193e24bdba977f7929dcbe49f">size</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">return</span> <span class="keyword">sizeof</span>(<a class="code" href="classripple_1_1SecretKey.html#ae507097e2c8e87bbb2f8fd23141524e6">buf_</a>);</div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  }</div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  </div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="classripple_1_1SecretKey.html#af1b7f3319d5daefd2f94ca4c3ac8fc1c">to_string</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  </div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="classripple_1_1Dir_1_1const__iterator.html">const_iterator</a></div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classripple_1_1SecretKey.html#a372450c069107ef37692f7748bcb4cb6"> 75</a></span>  <a class="code" href="classripple_1_1SecretKey.html#a372450c069107ef37692f7748bcb4cb6">begin</a>() const noexcept</div>
|
|
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  {</div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SecretKey.html#ae507097e2c8e87bbb2f8fd23141524e6">buf_</a>;</div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  }</div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  </div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <a class="code" href="classripple_1_1Dir_1_1const__iterator.html">const_iterator</a></div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classripple_1_1SecretKey.html#ac399f5930d6a751726b4c0b23bde02c8"> 81</a></span>  <a class="code" href="classripple_1_1SecretKey.html#ac399f5930d6a751726b4c0b23bde02c8">cbegin</a>() const noexcept</div>
|
|
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  {</div>
|
|
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SecretKey.html#ae507097e2c8e87bbb2f8fd23141524e6">buf_</a>;</div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  }</div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  </div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <a class="code" href="classripple_1_1Dir_1_1const__iterator.html">const_iterator</a></div>
|
|
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classripple_1_1SecretKey.html#af364103076d5f0e5d2409b001aa1b089"> 87</a></span>  <a class="code" href="classripple_1_1SecretKey.html#af364103076d5f0e5d2409b001aa1b089">end</a>() const noexcept</div>
|
|
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  {</div>
|
|
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SecretKey.html#ae507097e2c8e87bbb2f8fd23141524e6">buf_</a> + <span class="keyword">sizeof</span>(<a class="code" href="classripple_1_1SecretKey.html#ae507097e2c8e87bbb2f8fd23141524e6">buf_</a>);</div>
|
|
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  }</div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  </div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <a class="code" href="classripple_1_1Dir_1_1const__iterator.html">const_iterator</a></div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="classripple_1_1SecretKey.html#ab42ae9ec0bce6d623a43b03ef0f6c035"> 93</a></span>  <a class="code" href="classripple_1_1SecretKey.html#ab42ae9ec0bce6d623a43b03ef0f6c035">cend</a>() const noexcept</div>
|
|
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  {</div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SecretKey.html#ae507097e2c8e87bbb2f8fd23141524e6">buf_</a> + <span class="keyword">sizeof</span>(<a class="code" href="classripple_1_1SecretKey.html#ae507097e2c8e87bbb2f8fd23141524e6">buf_</a>);</div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  }</div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> };</div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  </div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="namespaceripple.html#a1f1df65e39140bb8229755a1f3fad5cf"> 100</a></span> <a class="code" href="namespaceripple.html#a4a7f562868748b9246dbcab39091021c">operator==</a>(<a class="code" href="classripple_1_1SecretKey.html">SecretKey</a> <span class="keyword">const</span>& lhs, <a class="code" href="classripple_1_1SecretKey.html">SecretKey</a> <span class="keyword">const</span>& rhs)</div>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> {</div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordflow">return</span> lhs.<a class="code" href="classripple_1_1SecretKey.html#ad7c79a6193e24bdba977f7929dcbe49f">size</a>() == rhs.<a class="code" href="classripple_1_1SecretKey.html#ad7c79a6193e24bdba977f7929dcbe49f">size</a>() &&</div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/byte/memcmp.html">std::memcmp</a>(lhs.<a class="code" href="classripple_1_1SecretKey.html#a6b14f25749fca94cca1c2c1bb10da6cc">data</a>(), rhs.<a class="code" href="classripple_1_1SecretKey.html#a6b14f25749fca94cca1c2c1bb10da6cc">data</a>(), rhs.<a class="code" href="classripple_1_1SecretKey.html#ad7c79a6193e24bdba977f7929dcbe49f">size</a>()) == 0;</div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> }</div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  </div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="namespaceripple.html#a12430c1a35bab0d0ea2ad538af83d369"> 107</a></span> <a class="code" href="namespaceripple.html#a068a05c4d658a764ce2be1810e1779fd">operator!=</a>(<a class="code" href="classripple_1_1SecretKey.html">SecretKey</a> <span class="keyword">const</span>& lhs, <a class="code" href="classripple_1_1SecretKey.html">SecretKey</a> <span class="keyword">const</span>& rhs)</div>
|
|
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> {</div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordflow">return</span> !(lhs == rhs);</div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> }</div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  </div>
|
|
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="comment">//------------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  </div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="keyword">template</span> <></div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<SecretKey></a></div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <a class="code" href="namespaceripple.html#a6ed6129376e1d37ef607c2697f5b9d6a">parseBase58</a>(<a class="code" href="namespaceripple.html#a1bf8df553d36589191c8057c136cce03">TokenType</a> type, <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="l00118"></a><span class="lineno"> 118</span>  </div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="keyword">inline</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="namespaceripple.html#ac807d6d6129e2879fe4985417b2741a3"> 120</a></span> <a class="code" href="namespaceripple.html#a08a13b62b18272366f788632359e8793">toBase58</a>(<a class="code" href="namespaceripple.html#a1bf8df553d36589191c8057c136cce03">TokenType</a> type, <a class="code" href="classripple_1_1SecretKey.html">SecretKey</a> <span class="keyword">const</span>& sk)</div>
|
|
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> {</div>
|
|
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple.html#a4c70c1f85ccff1b830f4bda1becb21b4">encodeBase58Token</a>(type, sk.<a class="code" href="classripple_1_1SecretKey.html#a6b14f25749fca94cca1c2c1bb10da6cc">data</a>(), sk.<a class="code" href="classripple_1_1SecretKey.html#ad7c79a6193e24bdba977f7929dcbe49f">size</a>());</div>
|
|
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> }</div>
|
|
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  </div>
|
|
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> SecretKey</div>
|
|
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <a class="code" href="namespaceripple.html#a962f446a4782087cfa554c9c926681f8">randomSecretKey</a>();</div>
|
|
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  </div>
|
|
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> SecretKey</div>
|
|
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <a class="code" href="namespaceripple.html#a16bc1df1e559042ebb40c73b573de885">generateSecretKey</a>(<a class="code" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4dde">KeyType</a> type, Seed <span class="keyword">const</span>& seed);</div>
|
|
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  </div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> PublicKey</div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> <a class="code" href="namespaceripple.html#ac2e5e1557daef529932fd0a047d5c5d6">derivePublicKey</a>(<a class="code" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4dde">KeyType</a> type, SecretKey <span class="keyword">const</span>& sk);</div>
|
|
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  </div>
|
|
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair<PublicKey, SecretKey></a></div>
|
|
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <a class="code" href="namespaceripple.html#a355ec605d1063c4316b6f1480359da19">generateKeyPair</a>(<a class="code" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4dde">KeyType</a> type, Seed <span class="keyword">const</span>& seed);</div>
|
|
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  </div>
|
|
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair<PublicKey, SecretKey></a></div>
|
|
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <a class="code" href="namespaceripple.html#ac52a0a522fc11bdd47fce39bd29f97bc">randomKeyPair</a>(<a class="code" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4dde">KeyType</a> type);</div>
|
|
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  </div>
|
|
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> Buffer</div>
|
|
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <a class="code" href="namespaceripple.html#a0429dc3d934c2cebe43fb8a723cf9eb3">signDigest</a>(PublicKey <span class="keyword">const</span>& pk, SecretKey <span class="keyword">const</span>& sk, <a class="code" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> <span class="keyword">const</span>& <a class="code" href="namespaceripple.html#a91e9fe7a4e92dba79c3812fd3edcaacc">digest</a>);</div>
|
|
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  </div>
|
|
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="keyword">inline</span> Buffer</div>
|
|
<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="namespaceripple.html#a822d4e4c0496b1d001e0ad7c8df5a6a8"> 162</a></span> <a class="code" href="namespaceripple.html#a0429dc3d934c2cebe43fb8a723cf9eb3">signDigest</a>(<a class="code" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4dde">KeyType</a> type, <a class="code" href="classripple_1_1SecretKey.html">SecretKey</a> <span class="keyword">const</span>& sk, <a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& <a class="code" href="namespaceripple.html#a91e9fe7a4e92dba79c3812fd3edcaacc">digest</a>)</div>
|
|
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> {</div>
|
|
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple.html#a0429dc3d934c2cebe43fb8a723cf9eb3">signDigest</a>(<a class="code" href="namespaceripple.html#ac2e5e1557daef529932fd0a047d5c5d6">derivePublicKey</a>(type, sk), sk, <a class="code" href="namespaceripple.html#a91e9fe7a4e92dba79c3812fd3edcaacc">digest</a>);</div>
|
|
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> }</div>
|
|
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> Buffer</div>
|
|
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> <a class="code" href="namespaceripple.html#a93d957d4aa50cd0c2b37f05453a0dd68">sign</a>(PublicKey <span class="keyword">const</span>& pk, SecretKey <span class="keyword">const</span>& sk, Slice <span class="keyword">const</span>& message);</div>
|
|
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  </div>
|
|
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="keyword">inline</span> Buffer</div>
|
|
<div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="namespaceripple.html#a2c59f13666e73c45508d0f567dcbcfaa"> 177</a></span> <a class="code" href="namespaceripple.html#a93d957d4aa50cd0c2b37f05453a0dd68">sign</a>(<a class="code" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4dde">KeyType</a> type, <a class="code" href="classripple_1_1SecretKey.html">SecretKey</a> <span class="keyword">const</span>& sk, <a class="code" href="classripple_1_1Slice.html">Slice</a> <span class="keyword">const</span>& message)</div>
|
|
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> {</div>
|
|
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple.html#a93d957d4aa50cd0c2b37f05453a0dd68">sign</a>(<a class="code" href="namespaceripple.html#ac2e5e1557daef529932fd0a047d5c5d6">derivePublicKey</a>(type, sk), sk, message);</div>
|
|
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> }</div>
|
|
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span> } <span class="comment">// namespace ripple</span></div>
|
|
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  </div>
|
|
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> <span class="preprocessor">#endif</span></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<div class="ttc" id="aclassripple_1_1Dir_1_1const__iterator_html"><div class="ttname"><a href="classripple_1_1Dir_1_1const__iterator.html">ripple::Dir::const_iterator</a></div><div class="ttdef"><b>Definition:</b> <a href="Directory_8h_source.html#l00049">Directory.h:49</a></div></div>
|
|
<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="acstring_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/cstring.html">cstring</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1Slice_html"><div class="ttname"><a href="classripple_1_1Slice.html">ripple::Slice</a></div><div class="ttdoc">An immutable linear range of bytes.</div><div class="ttdef"><b>Definition:</b> <a href="Slice_8h_source.html#l00044">Slice.h:44</a></div></div>
|
|
<div class="ttc" id="apair_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SecretKey_html_ae5357e1ab209a7e982ce4ce8346e46e0"><div class="ttname"><a href="classripple_1_1SecretKey.html#ae5357e1ab209a7e982ce4ce8346e46e0">ripple::SecretKey::SecretKey</a></div><div class="ttdeci">SecretKey()=delete</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a08a13b62b18272366f788632359e8793"><div class="ttname"><a href="namespaceripple.html#a08a13b62b18272366f788632359e8793">ripple::toBase58</a></div><div class="ttdeci">std::string toBase58(AccountID const &v)</div><div class="ttdoc">Convert AccountID to base58 checked string.</div><div class="ttdef"><b>Definition:</b> <a href="AccountID_8cpp_source.html#l00104">AccountID.cpp:104</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SecretKey_html_af364103076d5f0e5d2409b001aa1b089"><div class="ttname"><a href="classripple_1_1SecretKey.html#af364103076d5f0e5d2409b001aa1b089">ripple::SecretKey::end</a></div><div class="ttdeci">const_iterator end() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="SecretKey_8h_source.html#l00087">SecretKey.h:87</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a355ec605d1063c4316b6f1480359da19"><div class="ttname"><a href="namespaceripple.html#a355ec605d1063c4316b6f1480359da19">ripple::generateKeyPair</a></div><div class="ttdeci">std::pair< PublicKey, SecretKey > generateKeyPair(KeyType type, Seed const &seed)</div><div class="ttdoc">Generate a key pair deterministically.</div><div class="ttdef"><b>Definition:</b> <a href="SecretKey_8cpp_source.html#l00351">SecretKey.cpp:351</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a4a7f562868748b9246dbcab39091021c"><div class="ttname"><a href="namespaceripple.html#a4a7f562868748b9246dbcab39091021c">ripple::operator==</a></div><div class="ttdeci">bool operator==(Manifest const &lhs, Manifest const &rhs)</div><div class="ttdef"><b>Definition:</b> <a href="Manifest_8h_source.html#l00189">Manifest.h:189</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a356c68147333a9a48a344718038576d9"><div class="ttname"><a href="namespaceripple.html#a356c68147333a9a48a344718038576d9">ripple::uint256</a></div><div class="ttdeci">base_uint< 256 > uint256</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00550">base_uint.h:550</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a91e9fe7a4e92dba79c3812fd3edcaacc"><div class="ttname"><a href="namespaceripple.html#a91e9fe7a4e92dba79c3812fd3edcaacc">ripple::digest</a></div><div class="ttdeci">static Hasher::result_type digest(void const *data, std::size_t size) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="tokens_8cpp_source.html#l00152">tokens.cpp:152</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SecretKey_html_ae507097e2c8e87bbb2f8fd23141524e6"><div class="ttname"><a href="classripple_1_1SecretKey.html#ae507097e2c8e87bbb2f8fd23141524e6">ripple::SecretKey::buf_</a></div><div class="ttdeci">std::uint8_t buf_[32]</div><div class="ttdef"><b>Definition:</b> <a href="SecretKey_8h_source.html#l00039">SecretKey.h:39</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint< 256 ></a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a1bf8df553d36589191c8057c136cce03"><div class="ttname"><a href="namespaceripple.html#a1bf8df553d36589191c8057c136cce03">ripple::TokenType</a></div><div class="ttdeci">TokenType</div><div class="ttdef"><b>Definition:</b> <a href="tokens_8h_source.html#l00038">tokens.h:38</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a0429dc3d934c2cebe43fb8a723cf9eb3"><div class="ttname"><a href="namespaceripple.html#a0429dc3d934c2cebe43fb8a723cf9eb3">ripple::signDigest</a></div><div class="ttdeci">Buffer signDigest(PublicKey const &pk, SecretKey const &sk, uint256 const &digest)</div><div class="ttdoc">Generate a signature for a message digest.</div><div class="ttdef"><b>Definition:</b> <a href="SecretKey_8cpp_source.html#l00212">SecretKey.cpp:212</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac2e5e1557daef529932fd0a047d5c5d6"><div class="ttname"><a href="namespaceripple.html#ac2e5e1557daef529932fd0a047d5c5d6">ripple::derivePublicKey</a></div><div class="ttdeci">PublicKey derivePublicKey(KeyType type, SecretKey const &sk)</div><div class="ttdoc">Derive the public key from a secret key.</div><div class="ttdef"><b>Definition:</b> <a href="SecretKey_8cpp_source.html#l00313">SecretKey.cpp:313</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a068a05c4d658a764ce2be1810e1779fd"><div class="ttname"><a href="namespaceripple.html#a068a05c4d658a764ce2be1810e1779fd">ripple::operator!=</a></div><div class="ttdeci">bool operator!=(Manifest const &lhs, Manifest const &rhs)</div><div class="ttdef"><b>Definition:</b> <a href="Manifest_8h_source.html#l00199">Manifest.h:199</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SecretKey_html_a6b14f25749fca94cca1c2c1bb10da6cc"><div class="ttname"><a href="classripple_1_1SecretKey.html#a6b14f25749fca94cca1c2c1bb10da6cc">ripple::SecretKey::data</a></div><div class="ttdeci">std::uint8_t const * data() const</div><div class="ttdef"><b>Definition:</b> <a href="SecretKey_8h_source.html#l00055">SecretKey.h:55</a></div></div>
|
|
<div class="ttc" id="aarray_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/array.html">array</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a16bc1df1e559042ebb40c73b573de885"><div class="ttname"><a href="namespaceripple.html#a16bc1df1e559042ebb40c73b573de885">ripple::generateSecretKey</a></div><div class="ttdeci">SecretKey generateSecretKey(KeyType type, Seed const &seed)</div><div class="ttdoc">Generate a new secret key deterministically.</div><div class="ttdef"><b>Definition:</b> <a href="SecretKey_8cpp_source.html#l00291">SecretKey.cpp:291</a></div></div>
|
|
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SecretKey_html"><div class="ttname"><a href="classripple_1_1SecretKey.html">ripple::SecretKey</a></div><div class="ttdoc">A secret key.</div><div class="ttdef"><b>Definition:</b> <a href="SecretKey_8h_source.html#l00036">SecretKey.h:36</a></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="aclassripple_1_1SecretKey_html_ab42ae9ec0bce6d623a43b03ef0f6c035"><div class="ttname"><a href="classripple_1_1SecretKey.html#ab42ae9ec0bce6d623a43b03ef0f6c035">ripple::SecretKey::cend</a></div><div class="ttdeci">const_iterator cend() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="SecretKey_8h_source.html#l00093">SecretKey.h:93</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac52a0a522fc11bdd47fce39bd29f97bc"><div class="ttname"><a href="namespaceripple.html#ac52a0a522fc11bdd47fce39bd29f97bc">ripple::randomKeyPair</a></div><div class="ttdeci">std::pair< PublicKey, SecretKey > randomKeyPair(KeyType type)</div><div class="ttdoc">Create a key pair using secure random numbers.</div><div class="ttdef"><b>Definition:</b> <a href="SecretKey_8cpp_source.html#l00368">SecretKey.cpp:368</a></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="anamespaceripple_html_a4c70c1f85ccff1b830f4bda1becb21b4"><div class="ttname"><a href="namespaceripple.html#a4c70c1f85ccff1b830f4bda1becb21b4">ripple::encodeBase58Token</a></div><div class="ttdeci">std::string encodeBase58Token(TokenType type, void const *token, std::size_t size)</div><div class="ttdoc">Encode data in Base58Check format using XRPL alphabet.</div><div class="ttdef"><b>Definition:</b> <a href="tokens_8cpp_source.html#l00195">tokens.cpp:195</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SecretKey_html_aa5a985e1abc6503c7102c7f6529b0108"><div class="ttname"><a href="classripple_1_1SecretKey.html#aa5a985e1abc6503c7102c7f6529b0108">ripple::SecretKey::~SecretKey</a></div><div class="ttdeci">~SecretKey()</div><div class="ttdef"><b>Definition:</b> <a href="SecretKey_8cpp_source.html#l00033">SecretKey.cpp:33</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a93d957d4aa50cd0c2b37f05453a0dd68"><div class="ttname"><a href="namespaceripple.html#a93d957d4aa50cd0c2b37f05453a0dd68">ripple::sign</a></div><div class="ttdeci">Buffer sign(PublicKey const &pk, SecretKey const &sk, Slice const &m)</div><div class="ttdoc">Generate a signature for a message.</div><div class="ttdef"><b>Definition:</b> <a href="SecretKey_8cpp_source.html#l00238">SecretKey.cpp:238</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SecretKey_html_a9fc00735015a152ea58fe25ef06bc9ea"><div class="ttname"><a href="classripple_1_1SecretKey.html#a9fc00735015a152ea58fe25ef06bc9ea">ripple::SecretKey::const_iterator</a></div><div class="ttdeci">std::uint8_t const * const_iterator</div><div class="ttdef"><b>Definition:</b> <a href="SecretKey_8h_source.html#l00042">SecretKey.h:42</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SecretKey_html_a372450c069107ef37692f7748bcb4cb6"><div class="ttname"><a href="classripple_1_1SecretKey.html#a372450c069107ef37692f7748bcb4cb6">ripple::SecretKey::begin</a></div><div class="ttdeci">const_iterator begin() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="SecretKey_8h_source.html#l00075">SecretKey.h:75</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SecretKey_html_a0894ce177cb7f0963d1e30294d1886e6"><div class="ttname"><a href="classripple_1_1SecretKey.html#a0894ce177cb7f0963d1e30294d1886e6">ripple::SecretKey::operator=</a></div><div class="ttdeci">SecretKey & operator=(SecretKey const &)=default</div></div>
|
|
<div class="ttc" id="aoptional_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a></div></div>
|
|
<div class="ttc" id="asize_t_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a></div></div>
|
|
<div class="ttc" id="amemcmp_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/byte/memcmp.html">std::memcmp</a></div><div class="ttdeci">T memcmp(T... args)</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a6ed6129376e1d37ef607c2697f5b9d6a"><div class="ttname"><a href="namespaceripple.html#a6ed6129376e1d37ef607c2697f5b9d6a">ripple::parseBase58</a></div><div class="ttdeci">std::optional< AccountID > parseBase58(std::string const &s)</div><div class="ttdoc">Parse AccountID from checked, base58 string.</div><div class="ttdef"><b>Definition:</b> <a href="AccountID_8cpp_source.html#l00114">AccountID.cpp:114</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SecretKey_html_ac399f5930d6a751726b4c0b23bde02c8"><div class="ttname"><a href="classripple_1_1SecretKey.html#ac399f5930d6a751726b4c0b23bde02c8">ripple::SecretKey::cbegin</a></div><div class="ttdeci">const_iterator cbegin() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="SecretKey_8h_source.html#l00081">SecretKey.h:81</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SecretKey_html_ad7c79a6193e24bdba977f7929dcbe49f"><div class="ttname"><a href="classripple_1_1SecretKey.html#ad7c79a6193e24bdba977f7929dcbe49f">ripple::SecretKey::size</a></div><div class="ttdeci">std::size_t size() const</div><div class="ttdef"><b>Definition:</b> <a href="SecretKey_8h_source.html#l00061">SecretKey.h:61</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a962f446a4782087cfa554c9c926681f8"><div class="ttname"><a href="namespaceripple.html#a962f446a4782087cfa554c9c926681f8">ripple::randomSecretKey</a></div><div class="ttdeci">SecretKey randomSecretKey()</div><div class="ttdoc">Create a secret key using secure random numbers.</div><div class="ttdef"><b>Definition:</b> <a href="SecretKey_8cpp_source.html#l00281">SecretKey.cpp:281</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SecretKey_html_af1b7f3319d5daefd2f94ca4c3ac8fc1c"><div class="ttname"><a href="classripple_1_1SecretKey.html#af1b7f3319d5daefd2f94ca4c3ac8fc1c">ripple::SecretKey::to_string</a></div><div class="ttdeci">std::string to_string() const</div><div class="ttdoc">Convert the secret key to a hexadecimal string.</div><div class="ttdef"><b>Definition:</b> <a href="SecretKey_8cpp_source.html#l00051">SecretKey.cpp:51</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>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|