|
1383 | 1383 | <exception cref="T:System.ArgumentNullException">Thrown when <c>null</c> was
|
1384 | 1384 | passed to <paramref name="hex"/>.</exception>
|
1385 | 1385 | <exception cref="T:System.ArgumentException">Thrown when the given <paramref
|
1386 |
| - name="hex"/> did not lengthen 40 characters.</exception> |
| 1386 | + name="hex"/> did not lengthen 40 characters except 0x prefix.</exception> |
1387 | 1387 | <exception cref="T:System.ArgumentException">Thrown when the given <paramref
|
1388 | 1388 | name="hex"/> is mixed-case and the checksum is invalid.</exception>
|
1389 | 1389 | <exception cref="T:System.ArgumentException">Thrown when the given <paramref
|
1390 | 1390 | name="hex"/> does not consist of ASCII characters.</exception>
|
1391 |
| - <param name="hex">A 40 characters hexadecimal address string to |
1392 |
| - derive the corresponding <see cref="T:Libplanet.Address"/> from. The string |
1393 |
| - should be all lower-case or mixed-case which follows <a |
| 1391 | + <param name="hex">A 40 characters or included 0x prefix hexadecimal |
| 1392 | + address string to derive the corresponding <see cref="T:Libplanet.Address"/> from. |
| 1393 | + The string should be all lower-case or mixed-case which follows <a |
1394 | 1394 | href="https://github.com/ethereum/EIPs/blob/master/EIPS/eip-55.md"
|
1395 | 1395 | >EIP 55</a>.</param>
|
1396 | 1396 | </member>
|
|
6334 | 6334 | using <see cref="P:Libplanet.Crypto.PrivateKey.ByteArray"/> property.</remarks>
|
6335 | 6335 | <seealso cref="P:Libplanet.Crypto.PrivateKey.ByteArray"/>
|
6336 | 6336 | </member>
|
| 6337 | + <member name="M:Libplanet.Crypto.PrivateKey.#ctor(System.String)"> |
| 6338 | + <summary> |
| 6339 | + Creates a <see cref="T:Libplanet.Crypto.PrivateKey"/> instance from the given hexadecimal |
| 6340 | + <see cref="T:System.String"/> (i.e.,<paramref name="hex"/>). |
| 6341 | + </summary> |
| 6342 | + <param name="hex">A hexadecimal string of a private key's |
| 6343 | + <see cref="P:Libplanet.Crypto.PrivateKey.ByteArray"/>.</param> |
| 6344 | + <exception cref="T:System.ArgumentNullException">Thrown when the given <paramref name="hex"/> |
| 6345 | + string is <c>null</c>.</exception> |
| 6346 | + <exception cref="T:System.ArgumentOutOfRangeException">Thrown when the length of the given |
| 6347 | + <paramref name="hex"/> string is too short or too long.</exception> |
| 6348 | + <exception cref="T:System.FormatException">Thrown when the given <paramref name="hex"/> string is |
| 6349 | + not a valid hexadecimal string.</exception> |
| 6350 | + </member> |
6337 | 6351 | <member name="P:Libplanet.Crypto.PrivateKey.PublicKey">
|
6338 | 6352 | <summary>
|
6339 | 6353 | The corresponding <see cref="T:Libplanet.Crypto.PublicKey"/> of
|
|
0 commit comments