Package org.ldk.enums

Enum Secp256k1Error

    • Enum Constant Detail

      • LDKSecp256k1Error_IncorrectSignature

        public static final Secp256k1Error LDKSecp256k1Error_IncorrectSignature
      • LDKSecp256k1Error_InvalidMessage

        public static final Secp256k1Error LDKSecp256k1Error_InvalidMessage
      • LDKSecp256k1Error_InvalidPublicKey

        public static final Secp256k1Error LDKSecp256k1Error_InvalidPublicKey
      • LDKSecp256k1Error_InvalidSignature

        public static final Secp256k1Error LDKSecp256k1Error_InvalidSignature
      • LDKSecp256k1Error_InvalidSecretKey

        public static final Secp256k1Error LDKSecp256k1Error_InvalidSecretKey
      • LDKSecp256k1Error_InvalidRecoveryId

        public static final Secp256k1Error LDKSecp256k1Error_InvalidRecoveryId
      • LDKSecp256k1Error_InvalidTweak

        public static final Secp256k1Error LDKSecp256k1Error_InvalidTweak
      • LDKSecp256k1Error_TweakCheckFailed

        public static final Secp256k1Error LDKSecp256k1Error_TweakCheckFailed
      • LDKSecp256k1Error_NotEnoughMemory

        public static final Secp256k1Error LDKSecp256k1Error_NotEnoughMemory
    • Method Detail

      • values

        public static Secp256k1Error[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Secp256k1Error c : Secp256k1Error.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Secp256k1Error valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null