Enum CertificateErrorMsgCode
- java.lang.Object
-
- java.lang.Enum<CertificateErrorMsgCode>
-
- de.adorsys.psd2.validator.certificate.CertificateErrorMsgCode
-
- All Implemented Interfaces:
Serializable,Comparable<CertificateErrorMsgCode>
public enum CertificateErrorMsgCode extends Enum<CertificateErrorMsgCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CERTIFICATE_BLOCKEDCERTIFICATE_EXPIREDCERTIFICATE_INVALIDCERTIFICATE_MISSINGCERTIFICATE_REVOKEDFORMAT_ERRORSIGNATURE_INVALIDSIGNATURE_MISSING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static CertificateErrorMsgCodevalueOf(String name)Returns the enum constant of this type with the specified name.static CertificateErrorMsgCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CERTIFICATE_INVALID
public static final CertificateErrorMsgCode CERTIFICATE_INVALID
-
CERTIFICATE_EXPIRED
public static final CertificateErrorMsgCode CERTIFICATE_EXPIRED
-
CERTIFICATE_BLOCKED
public static final CertificateErrorMsgCode CERTIFICATE_BLOCKED
-
CERTIFICATE_REVOKED
public static final CertificateErrorMsgCode CERTIFICATE_REVOKED
-
CERTIFICATE_MISSING
public static final CertificateErrorMsgCode CERTIFICATE_MISSING
-
SIGNATURE_INVALID
public static final CertificateErrorMsgCode SIGNATURE_INVALID
-
SIGNATURE_MISSING
public static final CertificateErrorMsgCode SIGNATURE_MISSING
-
FORMAT_ERROR
public static final CertificateErrorMsgCode FORMAT_ERROR
-
-
Method Detail
-
values
public static CertificateErrorMsgCode[] 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 (CertificateErrorMsgCode c : CertificateErrorMsgCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CertificateErrorMsgCode 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<CertificateErrorMsgCode>
-
-