Package org.ka2ddo.ax25
Enum Class SignableMessage.SignatureState
- All Implemented Interfaces:
Serializable
,Comparable<SignableMessage.SignatureState>
,Constable
- Enclosing interface:
- SignableMessage
Current state of signature validation of a
SignableMessage
.- Author:
- Andrew Pavlin, KA2DDO
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe message signature is invalid or unrecognized.This message needs signature to be computed at transmission time (for a signature algorithm that is time-based).The message signature has not been checked yet.The message does not have a signature (even though the message type allows it).The message signature has been tested to be valid. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static SignableMessage.SignatureState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_CHECKED
The message signature has not been checked yet. -
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
The message signature has been tested to be valid. -
INVALID_SIGNATURE
The message signature is invalid or unrecognized. -
NEEDS_SIGNATURE
This message needs signature to be computed at transmission time (for a signature algorithm that is time-based).
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-