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
ConstructorDescriptionLOTLInfo
(DownloadInfoRecord downloadCacheInfo, ParsingInfoRecord parsingCacheInfo, ValidationInfoRecord validationCacheInfo, String url) The default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected Identifier
Builds the identifierReturns a list ofPivotInfo
s summary for pivots found in the LOTLReturns a list ofTLInfo
s summary for TL found in the LOTLboolean
isPivot()
Checks if the current entry is a pivot infovoid
setPivotInfos
(List<PivotInfo> pivotInfos) Sets a list ofPivotInfo
s summary for pivots found in the LOTLvoid
setTlInfos
(List<TLInfo> tlInfos) Sets a list ofTLInfo
s 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
-DownloadInfoRecord
a download cache resultparsingCacheInfo
-ParsingInfoRecord
a parsing cache resultvalidationCacheInfo
-ValidationInfoRecord
a validation cache resulturl
-String
address used to extract the entry
-
-
Method Details
-
getTLInfos
Returns a list ofTLInfo
s summary for TL found in the LOTL- Returns:
- list of
TLInfo
s
-
setTlInfos
Sets a list ofTLInfo
s summary for TL found in the LOTL- Parameters:
tlInfos
- list ofTLInfo
s
-
getPivotInfos
Returns a list ofPivotInfo
s summary for pivots found in the LOTL- Returns:
- list of
PivotInfo
s
-
setPivotInfos
Sets a list ofPivotInfo
s summary for pivots found in the LOTL- Parameters:
pivotInfos
- list ofPivotInfo
s
-
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:TLInfo
Builds the identifier- Overrides:
buildIdentifier
in classTLInfo
- Returns:
Identifier
-