Package eu.europa.esig.dss.spi.tsl
Class LOTLInfo
java.lang.Object
eu.europa.esig.dss.spi.tsl.TLInfo
eu.europa.esig.dss.spi.tsl.LOTLInfo
- All Implemented Interfaces:
IdentifierBasedObject,Serializable
- Direct Known Subclasses:
PivotInfo
Computes summary for a List of Trusted Lists processing result
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLOTLInfo(DownloadInfoRecord downloadCacheInfo, ParsingInfoRecord parsingCacheInfo, ValidationInfoRecord validationCacheInfo, String url) The default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected IdentifierBuilds the identifierReturns a list ofPivotInfos summary for pivots found in the LOTLReturns a list ofTLInfos summary for TL found in the LOTLbooleanisPivot()Checks if the current entry is a pivot infovoidsetPivotInfos(List<PivotInfo> pivotInfos) Sets a list ofPivotInfos summary for pivots found in the LOTLvoidsetTlInfos(List<TLInfo> tlInfos) Sets a list ofTLInfos summary for TL found in the LOTLMethods inherited from class eu.europa.esig.dss.spi.tsl.TLInfo
getDownloadCacheInfo, getDSSId, getDSSIdAsString, getMra, getParent, getParsingCacheInfo, getUrl, getValidationCacheInfo
-
Constructor Details
-
LOTLInfo
public LOTLInfo(DownloadInfoRecord downloadCacheInfo, ParsingInfoRecord parsingCacheInfo, ValidationInfoRecord validationCacheInfo, String url) The default constructor- Parameters:
downloadCacheInfo-DownloadInfoRecorda download cache resultparsingCacheInfo-ParsingInfoRecorda parsing cache resultvalidationCacheInfo-ValidationInfoRecorda validation cache resulturl-Stringaddress used to extract the entry
-
-
Method Details
-
getTLInfos
Returns a list ofTLInfos summary for TL found in the LOTL- Returns:
- list of
TLInfos
-
setTlInfos
Sets a list ofTLInfos summary for TL found in the LOTL- Parameters:
tlInfos- list ofTLInfos
-
getPivotInfos
Returns a list ofPivotInfos summary for pivots found in the LOTL- Returns:
- list of
PivotInfos
-
setPivotInfos
Sets a list ofPivotInfos summary for pivots found in the LOTL- Parameters:
pivotInfos- list ofPivotInfos
-
isPivot
public boolean isPivot()Checks if the current entry is a pivot info- Returns:
- TRUE if it is a pivot, FALSE when it is a LOTL
-
buildIdentifier
Description copied from class:TLInfoBuilds the identifier- Overrides:
buildIdentifierin classTLInfo- Returns:
Identifier
-