Now, the API document of Libplanet, doesn't have enough documents. The example, where I felt the needs of this issue, was Libplanet.Crypto.PrivateKey. The constructor of the class, actually check the sanity and can raise ArgumentException when got invalid byte array as the argument, from the getter, Libplanet.Crypto.PrivateKey.PublicKey used Org.BouncyCastle.Crypto.Parameters.ECDomainParameters. But there is no document to know what exceptions can be thrown and why they can occur. Then, it may confuse to write code and to debug, with Libplanet.
Now, the API document of Libplanet, doesn't have enough documents. The example, where I felt the needs of this issue, was
Libplanet.Crypto.PrivateKey
. The constructor of the class, actually check the sanity and can raiseArgumentException
when got invalid byte array as the argument, from the getter,Libplanet.Crypto.PrivateKey.PublicKey
usedOrg.BouncyCastle.Crypto.Parameters.ECDomainParameters
. But there is no document to know what exceptions can be thrown and why they can occur. Then, it may confuse to write code and to debug, with Libplanet.