Class TrustServiceProvider
- java.lang.Object
-
- es.gob.afirma.tsl.parsing.impl.common.TrustServiceProvider
-
- All Implemented Interfaces:
java.io.Serializable
public class TrustServiceProvider extends java.lang.Object implements java.io.SerializableClass 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 Summary
Constructors Constructor Description TrustServiceProvider()Constructor method for the class TrustServiceProvider.java.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNewTSPService(TSPService tspService)Adds a new service to this TSP.java.util.List<TSPService>getAllTSPServices()Gets an array with the services associated to this TSP.TSPInformationgetTspInformation()Gets the value of the attributetspInformation.booleanisThereSomeTSPService()Checks if there is some service associated to this TSP.voidsetTspInformation(TSPInformation tspInf)Sets the value of the attributetspInformation.
-
-
-
Method Detail
-
getTspInformation
public final TSPInformation getTspInformation()
Gets the value of the attributetspInformation.- Returns:
- the value of the attribute
tspInformation.
-
setTspInformation
public final void setTspInformation(TSPInformation tspInf)
Sets the value of the attributetspInformation.- Parameters:
tspInf- The value for the attributetspInformation.
-
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.
nullif 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:
trueif there is, otherwisefalse.
-
-