Package ch.swisscom.mid.client.model
Enum SignatureValidationFailureReason
- java.lang.Object
-
- java.lang.Enum<SignatureValidationFailureReason>
-
- ch.swisscom.mid.client.model.SignatureValidationFailureReason
-
- All Implemented Interfaces:
DocumentedEnum,Serializable,Comparable<SignatureValidationFailureReason>
public enum SignatureValidationFailureReason extends Enum<SignatureValidationFailureReason> implements DocumentedEnum
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATA_TO_BE_SIGNED_NOT_MATCHINGFAILED_TO_EXTRACT_SIGNING_CERTIFICATESIGNATURE_VALIDATION_FAILEDSIGNING_CERTIFICATE_NOT_VALIDSIGNING_CERTIFICATE_PATH_NOT_VALID
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()static SignatureValidationFailureReasonvalueOf(String name)Returns the enum constant of this type with the specified name.static SignatureValidationFailureReason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FAILED_TO_EXTRACT_SIGNING_CERTIFICATE
public static final SignatureValidationFailureReason FAILED_TO_EXTRACT_SIGNING_CERTIFICATE
-
SIGNING_CERTIFICATE_NOT_VALID
public static final SignatureValidationFailureReason SIGNING_CERTIFICATE_NOT_VALID
-
SIGNING_CERTIFICATE_PATH_NOT_VALID
public static final SignatureValidationFailureReason SIGNING_CERTIFICATE_PATH_NOT_VALID
-
SIGNATURE_VALIDATION_FAILED
public static final SignatureValidationFailureReason SIGNATURE_VALIDATION_FAILED
-
DATA_TO_BE_SIGNED_NOT_MATCHING
public static final SignatureValidationFailureReason DATA_TO_BE_SIGNED_NOT_MATCHING
-
-
Method Detail
-
values
public static SignatureValidationFailureReason[] 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 (SignatureValidationFailureReason c : SignatureValidationFailureReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SignatureValidationFailureReason 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 nameNullPointerException- if the argument is null
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceDocumentedEnum
-
-