Class TSLPointer
- java.lang.Object
-
- es.gob.afirma.tsl.parsing.impl.common.TSLPointer
-
- All Implemented Interfaces:
java.io.Serializable
public class TSLPointer extends java.lang.Object implements java.io.SerializableClass 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 Summary
Constructors Constructor Description TSLPointer(java.lang.String uriTSLLocation)Constructor method for the class TSLPointer.java.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNewServiceDigitalIdentity(ServiceDigitalIdentity sdi)Add a service digital identity to the list associated to this TLS pointer.java.util.List<ServiceDigitalIdentity>getServiceDigitalIdentities()Gets the list of service digital identities associates to this TSL pointer.java.net.URIgetTSLLocation()Gets the location URI of this TSL pointer.booleanisThereSomeServiceDigitalIdentity()Checks if there is some service digital identity associated to this TSL pointer.
-
-
-
Constructor Detail
-
TSLPointer
public TSLPointer(java.lang.String uriTSLLocation) throws TSLParsingExceptionConstructor 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:
trueif there is some service digital identity associated to this TSL pointer, otherwisefalse.
-
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.
-
-