Enum CryptoErrorId
- java.lang.Object
-
- java.lang.Enum<CryptoErrorId>
-
- org.iqtig.packer.shared.error.crypto.CryptoErrorId
-
- All Implemented Interfaces:
Serializable
,Comparable<CryptoErrorId>
,NamedError
public enum CryptoErrorId extends Enum<CryptoErrorId> implements NamedError
ErrorIds für dieCryptoError
s.- Author:
- matthias.drummer
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getText()
static CryptoErrorId
valueOf(String name)
Returns the enum constant of this type with the specified name.static CryptoErrorId[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface org.iqtig.packer.shared.error.crypto.NamedError
name
-
-
-
-
Enum Constant Detail
-
NOOP
public static final CryptoErrorId NOOP
-
COMMON_ERROR
public static final CryptoErrorId COMMON_ERROR
-
CRYPTO_ERROR
public static final CryptoErrorId CRYPTO_ERROR
-
READ_PUBLIC_KEY_ERROR
public static final CryptoErrorId READ_PUBLIC_KEY_ERROR
-
READ_PRIVATE_KEY_ERROR
public static final CryptoErrorId READ_PRIVATE_KEY_ERROR
-
INVALID_PRIVATE_KEY_ERROR
public static final CryptoErrorId INVALID_PRIVATE_KEY_ERROR
-
IO_ERROR
public static final CryptoErrorId IO_ERROR
-
CERTIFICATE_IO_ERROR
public static final CryptoErrorId CERTIFICATE_IO_ERROR
-
CERTIFICATE_ERROR
public static final CryptoErrorId CERTIFICATE_ERROR
-
NO_PROVIDER_ERROR
public static final CryptoErrorId NO_PROVIDER_ERROR
-
NO_SUCH_ALGORITHM_ERROR
public static final CryptoErrorId NO_SUCH_ALGORITHM_ERROR
-
IO_READ_KEYSTORE
public static final CryptoErrorId IO_READ_KEYSTORE
-
IO_READ_KEY
public static final CryptoErrorId IO_READ_KEY
-
CERTIFICATE_OF_KEYSTORE_COULD_NOT_BE_LOADED
public static final CryptoErrorId CERTIFICATE_OF_KEYSTORE_COULD_NOT_BE_LOADED
-
KEY_OF_KEYSTORE_NOT_FOUND
public static final CryptoErrorId KEY_OF_KEYSTORE_NOT_FOUND
-
KEYSTORE_TYPE_NOT_SUPPORTED
public static final CryptoErrorId KEYSTORE_TYPE_NOT_SUPPORTED
-
KEYSTORE_ALGORITHM_NOT_SUPPORTED
public static final CryptoErrorId KEYSTORE_ALGORITHM_NOT_SUPPORTED
-
KEYSTORE_KEY_ALGORITHM_NOT_FOUND
public static final CryptoErrorId KEYSTORE_KEY_ALGORITHM_NOT_FOUND
-
KEYSTORE_PASSWORD_WRONG
public static final CryptoErrorId KEYSTORE_PASSWORD_WRONG
-
KEYSTORE_KEY_PASSWORD_WRONG
public static final CryptoErrorId KEYSTORE_KEY_PASSWORD_WRONG
-
KEYSTORE_NOT_LOADED
public static final CryptoErrorId KEYSTORE_NOT_LOADED
-
WRONG_FILE_TYPE
public static final CryptoErrorId WRONG_FILE_TYPE
-
-
Method Detail
-
values
public static CryptoErrorId[] 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 (CryptoErrorId c : CryptoErrorId.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CryptoErrorId 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
-
getText
public String getText()
- Specified by:
getText
in interfaceNamedError
- Returns:
- detailierte Textbeschreibung des Errors
-
-