Package eu.europa.esig.dss.model.tsl
Class TLInfo
java.lang.Object
eu.europa.esig.dss.model.tsl.TLInfo
- All Implemented Interfaces:
IdentifierBasedObject
,Serializable
- Direct Known Subclasses:
LOTLInfo
Computes summary for a single Trusted List processing result
- See Also:
-
Constructor Summary
ConstructorDescriptionTLInfo
(DownloadInfoRecord downloadCacheInfo, ParsingInfoRecord parsingCacheInfo, ValidationInfoRecord validationCacheInfo, String url) The default constructorTLInfo
(DownloadInfoRecord downloadCacheInfo, ParsingInfoRecord parsingCacheInfo, ValidationInfoRecord validationCacheInfo, String url, TLInfo parent) The default constructor with parent TLInfoTLInfo
(DownloadInfoRecord downloadCacheInfo, ParsingInfoRecord parsingCacheInfo, ValidationInfoRecord validationCacheInfo, String url, TLInfo parent, OtherTSLPointer otherTSLPointer) The constructor with parent LOTLInfo and Mutual Recognition Agreement -
Method Summary
Modifier and TypeMethodDescriptionprotected Identifier
Builds the identifierReturns Download Cache InfogetDSSId()
Returns the TL idReturns the String representation of the identifierGets the OtherTSLPointer element to referencing the current TL from the pointing TL/LOTLReturns theTLInfo
referencing the current Trusted ListReturns Parsing Cache InfogetUrl()
Returns a URL that was used to download the remote fileReturns Validation Cache Info
-
Constructor Details
-
TLInfo
public TLInfo(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
-
TLInfo
public TLInfo(DownloadInfoRecord downloadCacheInfo, ParsingInfoRecord parsingCacheInfo, ValidationInfoRecord validationCacheInfo, String url, TLInfo parent) The default constructor with parent TLInfo- Parameters:
downloadCacheInfo
-DownloadInfoRecord
a download cache resultparsingCacheInfo
-ParsingInfoRecord
a parsing cache resultvalidationCacheInfo
-ValidationInfoRecord
a validation cache resulturl
-String
address used to extract the entryparent
-TLInfo
referencing the current Trusted List
-
TLInfo
public TLInfo(DownloadInfoRecord downloadCacheInfo, ParsingInfoRecord parsingCacheInfo, ValidationInfoRecord validationCacheInfo, String url, TLInfo parent, OtherTSLPointer otherTSLPointer) The constructor with parent LOTLInfo and Mutual Recognition Agreement- Parameters:
downloadCacheInfo
-DownloadInfoRecord
a download cache resultparsingCacheInfo
-ParsingInfoRecord
a parsing cache resultvalidationCacheInfo
-ValidationInfoRecord
a validation cache resulturl
-String
address used to extract the entryparent
-TLInfo
referencing the current Trusted ListotherTSLPointer
-OtherTSLPointer
element from the pointing TL/LOTL
-
-
Method Details
-
getDownloadCacheInfo
Returns Download Cache Info- Returns:
DownloadInfoRecord
-
getParsingCacheInfo
Returns Parsing Cache Info- Returns:
ParsingInfoRecord
-
getValidationCacheInfo
Returns Validation Cache Info- Returns:
ValidationInfoRecord
-
getUrl
-
getParent
-
getOtherTSLPointer
Gets the OtherTSLPointer element to referencing the current TL from the pointing TL/LOTL- Returns:
OtherTSLPointer
-
getDSSId
Returns the TL id- Specified by:
getDSSId
in interfaceIdentifierBasedObject
- Returns:
String
id
-
buildIdentifier
-
getDSSIdAsString
-