Enum Class SignableMessage.SignatureState

java.lang.Object
java.lang.Enum<SignableMessage.SignatureState>
org.ka2ddo.ax25.SignableMessage.SignatureState
All Implemented Interfaces:
Serializable, Comparable<SignableMessage.SignatureState>, Constable
Enclosing interface:
SignableMessage

public static enum SignableMessage.SignatureState extends Enum<SignableMessage.SignatureState>
Current state of signature validation of a SignableMessage.
Author:
Andrew Pavlin, KA2DDO
  • Enum Constant Details

    • NOT_CHECKED

      public static final SignableMessage.SignatureState NOT_CHECKED
      The message signature has not been checked yet.
    • UNSIGNED

      public static final SignableMessage.SignatureState UNSIGNED
      The message does not have a signature (even though the message type allows it). This could be because the sender and recipient do not have signing keys in common.
    • VALID_SIGNATURE

      public static final SignableMessage.SignatureState VALID_SIGNATURE
      The message signature has been tested to be valid.
    • INVALID_SIGNATURE

      public static final SignableMessage.SignatureState INVALID_SIGNATURE
      The message signature is invalid or unrecognized.
    • NEEDS_SIGNATURE

      public static final SignableMessage.SignatureState NEEDS_SIGNATURE
      This message needs signature to be computed at transmission time (for a signature algorithm that is time-based).
  • Method Details

    • values

      public static SignableMessage.SignatureState[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SignableMessage.SignatureState valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null