[C#] Check in initial auto-generated C# bindings
[ldk-java] / c_sharp / src / org / ldk / enums / Secp256k1Error.cs
1 namespace org { namespace ldk { namespace enums {/**
2  * Represents an error returned from libsecp256k1 during validation of some secp256k1 data
3  */
4 public enum Secp256k1Error {
5         /**
6          * Signature failed verification
7          */
8         LDKSecp256k1Error_IncorrectSignature,
9         /**
10          * Badly sized message ("messages" are actually fixed-sized digests; see the MESSAGE_SIZE constant)
11          */
12         LDKSecp256k1Error_InvalidMessage,
13         /**
14          * Bad public key
15          */
16         LDKSecp256k1Error_InvalidPublicKey,
17         /**
18          * Bad signature
19          */
20         LDKSecp256k1Error_InvalidSignature,
21         /**
22          * Bad secret key
23          */
24         LDKSecp256k1Error_InvalidSecretKey,
25         /**
26          * Bad shared secret.
27          */
28         LDKSecp256k1Error_InvalidSharedSecret,
29         /**
30          * Bad recovery id
31          */
32         LDKSecp256k1Error_InvalidRecoveryId,
33         /**
34          * Invalid tweak for add_assign or mul_assign
35          */
36         LDKSecp256k1Error_InvalidTweak,
37         /**
38          * Didn't pass enough memory to context creation with preallocated memory
39          */
40         LDKSecp256k1Error_NotEnoughMemory,
41         /**
42          * Bad set of public keys.
43          */
44         LDKSecp256k1Error_InvalidPublicKeySum,
45         /**
46          * The only valid parity values are 0 or 1.
47          */
48         LDKSecp256k1Error_InvalidParityValue,
49 }} } }