Enum Class LicenseRefusal.Step
- All Implemented Interfaces:
Serializable, Comparable<LicenseRefusal.Step>, Constable
- Enclosing class:
LicenseRefusal
The steps of 2.5 that refuse. The fifth step, expiry, never refuses.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionStep 1: the envelope is well-formed, the certificate verifies under a pinned root and the verifier's clock is inside its validity.Step 4:licis this installation's licence UUID andikeyits public key.Step 3: the payload parses under the rules of 2.2 andvis 2.Step 2: the signature verifies over the payload bytes under the certified key, and the envelope'skidis the certificate's.Method Summary
Modifier and TypeMethodDescriptionintGets the step number of 2.5.getTitle()Gets the step's title.static LicenseRefusal.StepReturns the enum constant of this class with the specified name.static LicenseRefusal.Step[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
ENVELOPE
Step 1: the envelope is well-formed, the certificate verifies under a pinned root and the verifier's clock is inside its validity.SIGNATURE
Step 2: the signature verifies over the payload bytes under the certified key, and the envelope'skidis the certificate's.PAYLOAD
Step 3: the payload parses under the rules of 2.2 andvis 2.IDENTITY
Step 4:licis this installation's licence UUID andikeyits public key.
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
getNumber
public int getNumber()Gets the step number of 2.5.- Returns:
- 1 to 4.
getTitle