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:
Serializable
- Direct Known Subclasses:
PivotInfo
public class LOTLInfo extends TLInfo
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description LOTLInfo(DownloadInfoRecord downloadCacheInfo, ParsingInfoRecord parsingCacheInfo, ValidationInfoRecord validationCacheInfo, String url)The default constructor -
Method Summary
Modifier and Type Method Description IdentifiergetIdentifier()Returns the TL idList<PivotInfo>getPivotInfos()Returns a list ofPivotInfos summary for pivots found in the LOTLList<TLInfo>getTLInfos()Returns 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, 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
-
getIdentifier
Description copied from class:TLInfoReturns the TL id- Overrides:
getIdentifierin classTLInfo- Returns:
Stringid
-