Update auto-generated bindings
[ldk-java] / src / main / java / org / ldk / enums / Secp256k1Error.java
1 package org.ldk.enums;
2
3 /**
4  * Represents an error returned from libsecp256k1 during validation of some secp256k1 data
5  */
6 public enum Secp256k1Error {
7         /**
8          * Signature failed verification
9          */
10         LDKSecp256k1Error_IncorrectSignature,
11         /**
12          * Badly sized message ("messages" are actually fixed-sized digests; see the MESSAGE_SIZE constant)
13          */
14         LDKSecp256k1Error_InvalidMessage,
15         /**
16          * Bad public key
17          */
18         LDKSecp256k1Error_InvalidPublicKey,
19         /**
20          * Bad signature
21          */
22         LDKSecp256k1Error_InvalidSignature,
23         /**
24          * Bad secret key
25          */
26         LDKSecp256k1Error_InvalidSecretKey,
27         /**
28          * Bad recovery id
29          */
30         LDKSecp256k1Error_InvalidRecoveryId,
31         /**
32          * Invalid tweak for add_assign or mul_assign
33          */
34         LDKSecp256k1Error_InvalidTweak,
35         /**
36          * tweak_add_check failed on an xonly public key
37          */
38         LDKSecp256k1Error_TweakCheckFailed,
39         /**
40          * Didn't pass enough memory to context creation with preallocated memory
41          */
42         LDKSecp256k1Error_NotEnoughMemory,
43         ; static native void init();
44         static { init(); }
45 }