Class TSLPointer

  • All Implemented Interfaces:
    java.io.Serializable

    public class TSLPointer
    extends java.lang.Object
    implements java.io.Serializable

    Class that defines a TSL pointer with all its information not dependent of the specification or version.

    Project:

    Library for the integration with the services of @Firma, eVisor and TS@.

    Version:
    1.1, 15/06/2021.
    See Also:
    Serialized Form
    • Constructor Detail

      • TSLPointer

        public TSLPointer​(java.lang.String uriTSLLocation)
                   throws TSLParsingException
        Constructor method for the class TSLPointer.java.
        Parameters:
        uriTSLLocation - URI string for the TSL location.
        Throws:
        TSLParsingException - In case of some error parsing the URI of the TSL location.
    • Method Detail

      • getTSLLocation

        public final java.net.URI getTSLLocation()
        Gets the location URI of this TSL pointer.
        Returns:
        location URI of this TSL pointer.
      • isThereSomeServiceDigitalIdentity

        public final boolean isThereSomeServiceDigitalIdentity()
        Checks if there is some service digital identity associated to this TSL pointer.
        Returns:
        true if there is some service digital identity associated to this TSL pointer, otherwise false.
      • getServiceDigitalIdentities

        public final java.util.List<ServiceDigitalIdentity> getServiceDigitalIdentities()
        Gets the list of service digital identities associates to this TSL pointer.
        Returns:
        the list of service digital identities associates to this TSL pointer.
      • addNewServiceDigitalIdentity

        public final void addNewServiceDigitalIdentity​(ServiceDigitalIdentity sdi)
        Add a service digital identity to the list associated to this TLS pointer. Not is added if the input parameter is null.
        Parameters:
        sdi - Service digital identity to add.