.. index:: 
  !BiosealError Enumeration

.. _id3_bioseal_bioseal_error_enum:

===============================================================================
BiosealError Enumeration
===============================================================================

Namespace: :ref:`id3.Bioseal<reference_bioseal>`

Definition
----------

.. line-block::
    Enumerates the error codes.

Fields
------

.. list-table:: 
  :width: 100%
  :widths: 5 5 90
  :header-rows: 1

  * - Name
    - Value
    - Description
  * - ``success``
    - 0
    - No error.
  * - ``insufficientBuffer``
    - -1
    - The given buffer is too small.
  * - ``objectDoesNotExist``
    - -2
    - The requested object does not exist; a 'null' should be returned if possible.
  * - ``base``
    - -8000
    - Base error code for BioSeal module.
  * - ``minimum``
    - -8999
    - Minimum error code for BioSeal module.
  * - ``invalidHandle``
    - -8001
    - The handle is invalid.
  * - ``invalidParameter``
    - -8002
    - The parameter is invalid.
  * - ``exceptionInCallback``
    - -8003
    - An exception was fired in the callback.
  * - ``javaException``
    - -8004
    - An exception was fired in JNI.
  * - ``resourceNotFound``
    - -8005
    - Resource not found.
  * - ``memoryError``
    - -8006
    - An internal error has been fired.
  * - ``internalError``
    - -8007
    - An memory error has been fired.
  * - ``downloadError``
    - -8008
    - Error in the internal download process.
  * - ``invalidInputFormat``
    - -8009
    - Invalid input format.
  * - ``badInputLotl``
    - -8010
    - The LOTL is malformed.
  * - ``badInputTsl``
    - -8011
    - The TSL does not conform to ETSI TS 119 612.
  * - ``badInputManifest``
    - -8012
    - The manifest is malformed.
  * - ``unsupportedAfnorXpZ42_101Id``
    - -8013
    - An unsupported Afnor XP Z42-101 identifier was found.
  * - ``decodingFailed``
    - -8014
    - Decoding failed.
  * - ``biosealExpired``
    - -8015
    - The BioSeal as expired.
  * - ``invalidCertificationChain``
    - -8016
    - Invalid certification chain.
  * - ``invalidSignature``
    - -8017
    - Invalid signature.
  * - ``authorizedUsageFailed``
    - -8018
    - Authorized usage failed.
  * - ``signingCertificateExpired``
    - -8019
    - The signing certificate was expired when the BioSeal was generated.
  * - ``revocationInfoValidityPeriod``
    - -8020
    - Invalid revocation info validity period.
  * - ``decryptionError``
    - -8021
    - An unexpected error occurred during decryption..
  * - ``languageNotAvailable``
    - -8022
    - Language not found.
  * - ``biosealNotDecoded``
    - -8023
    - The BioSeal was not decoded.
  * - ``notSupported``
    - -8024
    - Function or request not supported.
  * - ``unableToVerifyCertificateChain``
    - -8025
    - Unable to verify the certificate chain.
  * - ``needToVerify``
    - -8026
    - Need to verify the BioSeal.
  * - ``noSignatureFound``
    - -8027
    - No signature found.
  * - ``functionNotImplemented``
    - -8028
    - This function is not implemented.
  * - ``noCertificateFound``
    - -8029
    - No certificate found.
  * - ``internalSslError``
    - -8030
    - Internal SSL error.
  * - ``urlParsingError``
    - -8031
    - Unable to parse the given URL.
  * - ``unsupportedDocumentIssuingCountry``
    - -8032
    - Document issuing country not supported.
  * - ``wrongPrefix``
    - -8033
    - Incorrect issuing agency code (IAC) in code prefix.
  * - ``duplicateManifestField``
    - -8034
    - TODO
