[Java] 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 shared secret.
29          */
30         LDKSecp256k1Error_InvalidSharedSecret,
31         /**
32          * Bad recovery id
33          */
34         LDKSecp256k1Error_InvalidRecoveryId,
35         /**
36          * Invalid tweak for add_assign or mul_assign
37          */
38         LDKSecp256k1Error_InvalidTweak,
39         /**
40          * Didn't pass enough memory to context creation with preallocated memory
41          */
42         LDKSecp256k1Error_NotEnoughMemory,
43         /**
44          * Bad set of public keys.
45          */
46         LDKSecp256k1Error_InvalidPublicKeySum,
47         /**
48          * The only valid parity values are 0 or 1.
49          */
50         LDKSecp256k1Error_InvalidParityValue,
51         ; static native void init();
52         static { org.ldk.impl.bindings.run_statics(); init(); }
53 }