Enum PartnerCertManagerErrorConstants
- java.lang.Object
-
- java.lang.Enum<PartnerCertManagerErrorConstants>
-
- io.mosip.kernel.partnercertservice.constant.PartnerCertManagerErrorConstants
-
- All Implemented Interfaces:
Serializable,Comparable<PartnerCertManagerErrorConstants>
public enum PartnerCertManagerErrorConstants extends Enum<PartnerCertManagerErrorConstants>
This ENUM provides all the constant identified for PartnerCertManager errors.- Version:
- 1.2.0-SNAPSHOT
- Author:
- Mahammed Taheer
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorCode()StringgetErrorMessage()static PartnerCertManagerErrorConstantsvalueOf(String name)Returns the enum constant of this type with the specified name.static PartnerCertManagerErrorConstants[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALID_CERTIFICATE
public static final PartnerCertManagerErrorConstants INVALID_CERTIFICATE
-
CERTIFICATE_THUMBPRINT_ERROR
public static final PartnerCertManagerErrorConstants CERTIFICATE_THUMBPRINT_ERROR
-
CERTIFICATE_EXIST_ERROR
public static final PartnerCertManagerErrorConstants CERTIFICATE_EXIST_ERROR
-
CERTIFICATE_DATES_NOT_VALID
public static final PartnerCertManagerErrorConstants CERTIFICATE_DATES_NOT_VALID
-
ROOT_CA_NOT_FOUND
public static final PartnerCertManagerErrorConstants ROOT_CA_NOT_FOUND
-
ROOT_INTER_CA_NOT_FOUND
public static final PartnerCertManagerErrorConstants ROOT_INTER_CA_NOT_FOUND
-
INVALID_CERT_VERSION
public static final PartnerCertManagerErrorConstants INVALID_CERT_VERSION
-
PARTNER_ORG_NOT_MATCH
public static final PartnerCertManagerErrorConstants PARTNER_ORG_NOT_MATCH
-
NO_UNIQUE_ALIAS
public static final PartnerCertManagerErrorConstants NO_UNIQUE_ALIAS
-
INVALID_CERTIFICATE_ID
public static final PartnerCertManagerErrorConstants INVALID_CERTIFICATE_ID
-
INVALID_PARTNER_DOMAIN
public static final PartnerCertManagerErrorConstants INVALID_PARTNER_DOMAIN
-
PARTNER_CERT_ID_NOT_FOUND
public static final PartnerCertManagerErrorConstants PARTNER_CERT_ID_NOT_FOUND
-
CERT_KEY_NOT_ALLOWED
public static final PartnerCertManagerErrorConstants CERT_KEY_NOT_ALLOWED
-
CERT_SIGNATURE_ALGO_NOT_ALLOWED
public static final PartnerCertManagerErrorConstants CERT_SIGNATURE_ALGO_NOT_ALLOWED
-
-
Method Detail
-
values
public static PartnerCertManagerErrorConstants[] 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 (PartnerCertManagerErrorConstants c : PartnerCertManagerErrorConstants.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PartnerCertManagerErrorConstants 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
-
getErrorCode
public String getErrorCode()
- Returns:
- The error code.
-
getErrorMessage
public String getErrorMessage()
- Returns:
- The error message.
-
-