Class TrustServiceProvider

  • All Implemented Interfaces:
    java.io.Serializable

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

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

    Project:

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

    Version:
    1.0, 10/11/2020.
    See Also:
    Serialized Form
    • Constructor Detail

      • TrustServiceProvider

        public TrustServiceProvider()
        Constructor method for the class TrustServiceProvider.java.
    • Method Detail

      • getAllTSPServices

        public final java.util.List<TSPService> getAllTSPServices()
        Gets an array with the services associated to this TSP.
        Returns:
        list with the services associated to this TSP. null if there is not.
      • addNewTSPService

        public final void addNewTSPService​(TSPService tspService)
        Adds a new service to this TSP.
        Parameters:
        tspService - Service to add.
      • isThereSomeTSPService

        public final boolean isThereSomeTSPService()
        Checks if there is some service associated to this TSP.
        Returns:
        true if there is, otherwise false.