Package es.gob.afirma.tsl.certValidation
Class SIResult
- java.lang.Object
-
- es.gob.afirma.tsl.certValidation.SIResult
-
- All Implemented Interfaces:
java.io.Serializable
public class SIResult extends java.lang.Object implements java.io.SerializableClass that represents information obtained from each TSPService that identifies the certificate.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.0, 25/09/2023.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SIResult()Constructor method for the class SIResult.java.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>getListTspTradeName()Gets the value of the attributelistTspTradeName.java.lang.StringgetServiceStatus()Gets the value of the attributeserviceStatus.ServiceHistoryInstancegetSiAtDateTime()Gets the value of the attributesiAtDateTime.ServiceHistoryInstancegetSiFull()Gets the value of the attributesiFull.TrustServiceProvidergetTspDetected()Gets the value of the attributetspDetected.java.lang.StringgetTspName()Gets the value of the attributetspName.java.lang.StringgetTspNameCountry()TSPServicegetTspService()Gets the value of the attributetspService.booleanisAsiForESeal()Gets the value of the attributeasiForESeal.booleanisAsiForESIG()Gets the value of the attributeasiForESIG.booleanisAsiForWSA()Gets the value of the attributeasiForWSA.booleanisError()booleanisHistoricServiceInf()Gets the value of the attributeisHistoricServiceInf.booleanisServiceTypeIsTSAQualified()Gets the value of the attributeserviceTypeIsTSAQualified.voidresetAllData()Resets all the data;voidsetAsiForESeal(boolean asiForESeal)Sets the value of the attributeasiForESeal.voidsetAsiForESIG(boolean asiForESIG)Sets the value of the attributeasiForESIG.voidsetAsiForWSA(boolean asiForWSA)Sets the value of the attributeasiForWSA.voidsetError(boolean error)voidsetHistoricServiceInf(boolean isHistoricServiceInf)Sets the value of the attributeisHistoricServiceInf.voidsetListTspTradeName(java.util.List<java.lang.String> listTspTradeName)Sets the value of the attributelistTspTradeName.voidsetServiceStatus(java.lang.String serviceStatus)Sets the value of the attributeserviceStatus.voidsetServiceTypeIsTSAQualified(boolean serviceTypeIsTSAQualified)Sets the value of the attributeserviceTypeIsTSAQualified.voidsetSiAtDateTime(ServiceHistoryInstance siAtDateTime)Sets the value of the attributesiAtDateTime.voidsetSiFull(ServiceHistoryInstance siFull)Sets the value of the attributesiFull.voidsetTspDetected(TrustServiceProvider tspDetected)Sets the value of the attributetspDetected.voidsetTspName(java.lang.String tspName)Sets the value of the attributetspName.voidsetTspNameCountry(java.lang.String tspNameCountry)voidsetTspService(TSPService tspService)Sets the value of the attributetspService.
-
-
-
Method Detail
-
getSiFull
public ServiceHistoryInstance getSiFull()
Gets the value of the attributesiFull.- Returns:
- the value of the attribute
siFull.
-
setSiFull
public void setSiFull(ServiceHistoryInstance siFull)
Sets the value of the attributesiFull.- Parameters:
siFull- The value for the attributesiFull.
-
getSiAtDateTime
public ServiceHistoryInstance getSiAtDateTime()
Gets the value of the attributesiAtDateTime.- Returns:
- the value of the attribute
siAtDateTime.
-
setSiAtDateTime
public void setSiAtDateTime(ServiceHistoryInstance siAtDateTime)
Sets the value of the attributesiAtDateTime.- Parameters:
siAtDateTime- The value for the attributesiAtDateTime.
-
getServiceStatus
public java.lang.String getServiceStatus()
Gets the value of the attributeserviceStatus.- Returns:
- the value of the attribute
serviceStatus.
-
setServiceStatus
public void setServiceStatus(java.lang.String serviceStatus)
Sets the value of the attributeserviceStatus.- Parameters:
serviceStatus- The value for the attributeserviceStatus.
-
getTspName
public java.lang.String getTspName()
Gets the value of the attributetspName.- Returns:
- the value of the attribute
tspName.
-
setTspName
public void setTspName(java.lang.String tspName)
Sets the value of the attributetspName.- Parameters:
tspName- The value for the attributetspName.
-
getListTspTradeName
public java.util.List<java.lang.String> getListTspTradeName()
Gets the value of the attributelistTspTradeName.- Returns:
- the value of the attribute
listTspTradeName.
-
setListTspTradeName
public void setListTspTradeName(java.util.List<java.lang.String> listTspTradeName)
Sets the value of the attributelistTspTradeName.- Parameters:
listTspTradeName- The list with values for the attributelistTspTradeName.
-
isAsiForESIG
public boolean isAsiForESIG()
Gets the value of the attributeasiForESIG.- Returns:
- the value of the attribute
asiForESIG.
-
setAsiForESIG
public void setAsiForESIG(boolean asiForESIG)
Sets the value of the attributeasiForESIG.- Parameters:
asiForESIG- The value for the attributeasiForESIG.
-
isAsiForESeal
public boolean isAsiForESeal()
Gets the value of the attributeasiForESeal.- Returns:
- the value of the attribute
asiForESeal.
-
setAsiForESeal
public void setAsiForESeal(boolean asiForESeal)
Sets the value of the attributeasiForESeal.- Parameters:
asiForESeal- The value for the attributeasiForESeal.
-
isAsiForWSA
public boolean isAsiForWSA()
Gets the value of the attributeasiForWSA.- Returns:
- the value of the attribute
asiForWSA.
-
setAsiForWSA
public void setAsiForWSA(boolean asiForWSA)
Sets the value of the attributeasiForWSA.- Parameters:
asiForWSA- The value for the attributeasiForWSA.
-
isHistoricServiceInf
public boolean isHistoricServiceInf()
Gets the value of the attributeisHistoricServiceInf.- Returns:
- the value of the attribute
isHistoricServiceInf.
-
setHistoricServiceInf
public void setHistoricServiceInf(boolean isHistoricServiceInf)
Sets the value of the attributeisHistoricServiceInf.- Parameters:
isHistoricServiceInf- The value for the attributeisHistoricServiceInf.
-
isServiceTypeIsTSAQualified
public boolean isServiceTypeIsTSAQualified()
Gets the value of the attributeserviceTypeIsTSAQualified.- Returns:
- the value of the attribute
serviceTypeIsTSAQualified.
-
setServiceTypeIsTSAQualified
public void setServiceTypeIsTSAQualified(boolean serviceTypeIsTSAQualified)
Sets the value of the attributeserviceTypeIsTSAQualified.- Parameters:
serviceTypeIsTSAQualified- The value for the attributeserviceTypeIsTSAQualified.
-
getTspService
public TSPService getTspService()
Gets the value of the attributetspService.- Returns:
- the value of the attribute
tspService.
-
setTspService
public void setTspService(TSPService tspService)
Sets the value of the attributetspService.- Parameters:
tspService- The value for the attributetspService.
-
getTspDetected
public TrustServiceProvider getTspDetected()
Gets the value of the attributetspDetected.- Returns:
- the value of the attribute
tspDetected.
-
setTspDetected
public void setTspDetected(TrustServiceProvider tspDetected)
Sets the value of the attributetspDetected.- Parameters:
tspDetected- The value for the attributetspDetected.
-
getTspNameCountry
public java.lang.String getTspNameCountry()
- Returns:
- the tspNameCountry
-
setTspNameCountry
public void setTspNameCountry(java.lang.String tspNameCountry)
- Parameters:
tspNameCountry- the tspNameCountry to set
-
isError
public boolean isError()
- Returns:
- the error
-
setError
public void setError(boolean error)
- Parameters:
error- the error to set
-
resetAllData
public final void resetAllData()
Resets all the data;
-
-