Enum Class JarSignatureHolder.Validity
java.lang.Object
java.lang.Enum<JarSignatureHolder.Validity>
com.evolveum.midpoint.repo.common.subscription.JarSignatureHolder.Validity
- All Implemented Interfaces:
Serializable
,Comparable<JarSignatureHolder.Validity>
,Constable
- Enclosing class:
- JarSignatureHolder
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThere was an error while verifying the signature.The signature is either missing or not valid.The signature checking is not applicable, e.g.The overlay was detected, so the signature is not checked at all.The signature is present and valid. -
Method Summary
Modifier and TypeMethodDescriptionstatic JarSignatureHolder.Validity
Returns the enum constant of this class with the specified name.static JarSignatureHolder.Validity[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VALID
The signature is present and valid. -
INVALID
The signature is either missing or not valid. -
ERROR
There was an error while verifying the signature. -
NOT_APPLICABLE
The signature checking is not applicable, e.g. because we are not running from a JAR file. -
OVERLAY_DETECTED
The overlay was detected, so the signature is not checked at all.
-
-
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
-