eu.id3.bioseal

## Class Lotl

- java.lang.Object
- - eu.id3.bioseal.Lotl

- All Implemented Interfaces:
    java.io.Serializable, java.lang.AutoCloseable

      public class Lotl
      extends java.lang.Object
      implements java.lang.AutoCloseable, java.io.Serializable

  Provides information about the LoTL (List of Trust List).
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Lotl()` Creates a new instance of the Lotl class.
    `Lotl(long handle)` Creates a new instance of the Lotl class.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()` Releases all resources used by this Lotl.
    `protected void` | `finalize()` Finalizer for this class.
    `long` | `getHandle()` Gets the native handle.
    `boolean` | `getIsTsl()` Gets the true if the LoTL is a TLS.
    `Log` | `getLog()` Gets the get the log.
    `java.lang.String` | `getManifestUrl(byte[] tslData)` Returns the URL to the manifest.
    `java.lang.String` | `getUrl(byte[] lotlData, java.lang.String manifestId, java.lang.String iac)` Returns the URL to the TSL or the next LoTL.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Lotl

          public Lotl()
               throws BiosealException

      Creates a new instance of the Lotl class.
      Throws:
        `BiosealException` - An error has occurred during Bioseal Library execution.

    - #### Lotl

          public Lotl(long handle)
               throws BiosealException

      Creates a new instance of the Lotl class.
      Parameters:
        `handle` - Handle to the Lotl.
      Throws:
        `BiosealException` - An error has occurred during Bioseal Library execution.

  - ### Method Detail

    - #### close

          public void close()

      Releases all resources used by this Lotl.
      Specified by:
        `close` in interface `java.lang.AutoCloseable`

    - #### finalize

          protected void finalize()

      Finalizer for this class. Finalizers are deprecated since Java 9+. This method is not guaranteed to be called. To release all memory held by this class please be sure to call the close() method.
      Overrides:
        `finalize` in class `java.lang.Object`

    - #### getHandle

          public long getHandle()

      Gets the native handle.
      Returns:
        The native handle.

    - #### getLog

          public Log getLog()
                     throws BiosealException

      Gets the get the log.
      Returns:
        Get the log.
      Throws:
        `BiosealException` - An error has occurred during Bioseal Library execution.

    - #### getIsTsl

          public boolean getIsTsl()
                           throws BiosealException

      Gets the true if the LoTL is a TLS.
      Returns:
        True if the LoTL is a TLS.
      Throws:
        `BiosealException` - An error has occurred during Bioseal Library execution.

    - #### getUrl

          public java.lang.String getUrl(byte[] lotlData,
                                         java.lang.String manifestId,
                                         java.lang.String iac)
                                  throws BiosealException

      Returns the URL to the TSL or the next LoTL.
      Parameters:
        `lotlData` - The LotL data.
        `manifestId` - The Manifest ID in ISO 22385 format (hexadecimal string).
        `iac` - The IAC (optional).
      Returns:
        The TSL url.
      Throws:
        `BiosealException` - An error has occurred during Bioseal Library execution.

    - #### getManifestUrl

          public java.lang.String getManifestUrl(byte[] tslData)
                                          throws BiosealException

      Returns the URL to the manifest.
      Parameters:
        `tslData` - The TSL data.
      Returns:
        The manifest url.
      Throws:
        `BiosealException` - An error has occurred during Bioseal Library execution.

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