Enum CryptoErrorId

    • Enum Constant Detail

      • 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
      • 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
      • 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 name
        NullPointerException - if the argument is null
      • getText

        public String getText()
        Specified by:
        getText in interface NamedError
        Returns:
        detailierte Textbeschreibung des Errors