eu.id3.bioseal

## Enum BiosealError

- java.lang.Object
- - java.lang.Enum<BiosealError>
  - - eu.id3.bioseal.BiosealError

- All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<BiosealError>

      public enum BiosealError
      extends java.lang.Enum<BiosealError>

  Enumerates the error codes.

- - ### Enum Constant Summary

    Enum Constants
    Enum Constant and Description
    `AUTHORIZED_USAGE_FAILED` Authorized usage failed.
    `BAD_INPUT_LOTL` The LOTL is malformed.
    `BAD_INPUT_MANIFEST` The manifest is malformed.
    `BAD_INPUT_TSL` The TSL does not conform to ETSI TS 119 612.
    `BASE` Base error code for BioSeal module.
    `BIOSEAL_EXPIRED` The BioSeal as expired.
    `BIOSEAL_NOT_DECODED` The BioSeal was not decoded.
    `DECODING_FAILED` Decoding failed.
    `DECRYPTION_ERROR` An unexpected error occurred during decryption..
    `DOWNLOAD_ERROR` Error in the internal download process.
    `DUPLICATE_MANIFEST_FIELD` TODO
    `EXCEPTION_IN_CALLBACK` An exception was fired in the callback.
    `FUNCTION_NOT_IMPLEMENTED` This function is not implemented.
    `INSUFFICIENT_BUFFER` The given buffer is too small.
    `INTERNAL_ERROR` An memory error has been fired.
    `INTERNAL_SSL_ERROR` Internal SSL error.
    `INVALID_CERTIFICATION_CHAIN` Invalid certification chain.
    `INVALID_HANDLE` The handle is invalid.
    `INVALID_INPUT_FORMAT` Invalid input format.
    `INVALID_PARAMETER` The parameter is invalid.
    `INVALID_SIGNATURE` Invalid signature.
    `JAVA_EXCEPTION` An exception was fired in JNI.
    `LANGUAGE_NOT_AVAILABLE` Language not found.
    `MEMORY_ERROR` An internal error has been fired.
    `MINIMUM` Minimum error code for BioSeal module.
    `NEED_TO_VERIFY` Need to verify the BioSeal.
    `NO_CERTIFICATE_FOUND` No certificate found.
    `NO_SIGNATURE_FOUND` No signature found.
    `NOT_SUPPORTED` Function or request not supported.
    `OBJECT_DOES_NOT_EXIST` The requested object does not exist; a 'null' should be returned if possible.
    `RESOURCE_NOT_FOUND` Resource not found.
    `REVOCATION_INFO_VALIDITY_PERIOD` Invalid revocation info validity period.
    `SIGNING_CERTIFICATE_EXPIRED` The signing certificate was expired when the BioSeal was generated.
    `SUCCESS` No error.
    `UNABLE_TO_VERIFY_CERTIFICATE_CHAIN` Unable to verify the certificate chain.
    `UNSUPPORTED_AFNOR_XP_Z42_101ID` An unsupported Afnor XP Z42-101 identifier was found.
    `UNSUPPORTED_DOCUMENT_ISSUING_COUNTRY` Document issuing country not supported.
    `URL_PARSING_ERROR` Unable to parse the given URL.
    `WRONG_PREFIX` Incorrect issuing agency code (IAC) in code prefix.

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static BiosealError` | `fromValue(int value)` Creates an enumeration value from int.
    `int` | `getValue()` Gets the enumeration value as int.
    `static BiosealError` | `valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
    `static BiosealError[]` | `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 class java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### Enum Constant Detail

    - #### SUCCESS

          public static final BiosealError SUCCESS

      No error.

    - #### INSUFFICIENT_BUFFER

          public static final BiosealError INSUFFICIENT_BUFFER

      The given buffer is too small.

    - #### OBJECT_DOES_NOT_EXIST

          public static final BiosealError OBJECT_DOES_NOT_EXIST

      The requested object does not exist; a 'null' should be returned if possible.

    - #### BASE

          public static final BiosealError BASE

      Base error code for BioSeal module.

    - #### MINIMUM

          public static final BiosealError MINIMUM

      Minimum error code for BioSeal module.

    - #### INVALID_HANDLE

          public static final BiosealError INVALID_HANDLE

      The handle is invalid.

    - #### INVALID_PARAMETER

          public static final BiosealError INVALID_PARAMETER

      The parameter is invalid.

    - #### EXCEPTION_IN_CALLBACK

          public static final BiosealError EXCEPTION_IN_CALLBACK

      An exception was fired in the callback.

    - #### JAVA_EXCEPTION

          public static final BiosealError JAVA_EXCEPTION

      An exception was fired in JNI.

    - #### RESOURCE_NOT_FOUND

          public static final BiosealError RESOURCE_NOT_FOUND

      Resource not found.

    - #### MEMORY_ERROR

          public static final BiosealError MEMORY_ERROR

      An internal error has been fired.

    - #### INTERNAL_ERROR

          public static final BiosealError INTERNAL_ERROR

      An memory error has been fired.

    - #### DOWNLOAD_ERROR

          public static final BiosealError DOWNLOAD_ERROR

      Error in the internal download process.

    - #### INVALID_INPUT_FORMAT

          public static final BiosealError INVALID_INPUT_FORMAT

      Invalid input format.

    - #### BAD_INPUT_LOTL

          public static final BiosealError BAD_INPUT_LOTL

      The LOTL is malformed.

    - #### BAD_INPUT_TSL

          public static final BiosealError BAD_INPUT_TSL

      The TSL does not conform to ETSI TS 119 612.

    - #### BAD_INPUT_MANIFEST

          public static final BiosealError BAD_INPUT_MANIFEST

      The manifest is malformed.

    - #### UNSUPPORTED_AFNOR_XP_Z42_101ID

          public static final BiosealError UNSUPPORTED_AFNOR_XP_Z42_101ID

      An unsupported Afnor XP Z42-101 identifier was found.

    - #### DECODING_FAILED

          public static final BiosealError DECODING_FAILED

      Decoding failed.

    - #### BIOSEAL_EXPIRED

          public static final BiosealError BIOSEAL_EXPIRED

      The BioSeal as expired.

    - #### INVALID_CERTIFICATION_CHAIN

          public static final BiosealError INVALID_CERTIFICATION_CHAIN

      Invalid certification chain.

    - #### INVALID_SIGNATURE

          public static final BiosealError INVALID_SIGNATURE

      Invalid signature.

    - #### AUTHORIZED_USAGE_FAILED

          public static final BiosealError AUTHORIZED_USAGE_FAILED

      Authorized usage failed.

    - #### SIGNING_CERTIFICATE_EXPIRED

          public static final BiosealError SIGNING_CERTIFICATE_EXPIRED

      The signing certificate was expired when the BioSeal was generated.

    - #### REVOCATION_INFO_VALIDITY_PERIOD

          public static final BiosealError REVOCATION_INFO_VALIDITY_PERIOD

      Invalid revocation info validity period.

    - #### DECRYPTION_ERROR

          public static final BiosealError DECRYPTION_ERROR

      An unexpected error occurred during decryption..

    - #### LANGUAGE_NOT_AVAILABLE

          public static final BiosealError LANGUAGE_NOT_AVAILABLE

      Language not found.

    - #### BIOSEAL_NOT_DECODED

          public static final BiosealError BIOSEAL_NOT_DECODED

      The BioSeal was not decoded.

    - #### NOT_SUPPORTED

          public static final BiosealError NOT_SUPPORTED

      Function or request not supported.

    - #### UNABLE_TO_VERIFY_CERTIFICATE_CHAIN

          public static final BiosealError UNABLE_TO_VERIFY_CERTIFICATE_CHAIN

      Unable to verify the certificate chain.

    - #### NEED_TO_VERIFY

          public static final BiosealError NEED_TO_VERIFY

      Need to verify the BioSeal.

    - #### NO_SIGNATURE_FOUND

          public static final BiosealError NO_SIGNATURE_FOUND

      No signature found.

    - #### FUNCTION_NOT_IMPLEMENTED

          public static final BiosealError FUNCTION_NOT_IMPLEMENTED

      This function is not implemented.

    - #### NO_CERTIFICATE_FOUND

          public static final BiosealError NO_CERTIFICATE_FOUND

      No certificate found.

    - #### INTERNAL_SSL_ERROR

          public static final BiosealError INTERNAL_SSL_ERROR

      Internal SSL error.

    - #### URL_PARSING_ERROR

          public static final BiosealError URL_PARSING_ERROR

      Unable to parse the given URL.

    - #### UNSUPPORTED_DOCUMENT_ISSUING_COUNTRY

          public static final BiosealError UNSUPPORTED_DOCUMENT_ISSUING_COUNTRY

      Document issuing country not supported.

    - #### WRONG_PREFIX

          public static final BiosealError WRONG_PREFIX

      Incorrect issuing agency code (IAC) in code prefix.

    - #### DUPLICATE_MANIFEST_FIELD

          public static final BiosealError DUPLICATE_MANIFEST_FIELD

      TODO

  - ### Method Detail

    - #### values

          public static BiosealError[] 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 (BiosealError c : BiosealError.values())
              System.out.println(c);

      Returns:
        an array containing the constants of this enum type, in the order they are declared

    - #### valueOf

          public static BiosealError valueOf(java.lang.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:
        `java.lang.IllegalArgumentException` - if this enum type has no constant with the specified name
        `java.lang.NullPointerException` - if the argument is null

    - #### getValue

          public int getValue()

      Gets the enumeration value as int.
      Returns:
        The value.

    - #### fromValue

          public static BiosealError fromValue(int value)

      Creates an enumeration value from int.
      Parameters:
        `value` - The int value.
      Returns:
        The created BiosealError.

Copyright © 2020-2030, id3 Technologies. All rights reserved. eu.id3.bioseal