Package eu.europa.esig.dss.spi.tsl
Class TLInfo
java.lang.Object
eu.europa.esig.dss.spi.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, MRA mra) 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 identifiergetMra()
Gets the MRA (Mutual Recognition Agreement) element when applicableReturns 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, MRA mra) 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 Listmra
-MRA
Mutual Recognition Agreement
-
-
Method Details
-
getDownloadCacheInfo
Returns Download Cache Info- Returns:
DownloadInfoRecord
-
getParsingCacheInfo
Returns Parsing Cache Info- Returns:
ParsingInfoRecord
-
getValidationCacheInfo
Returns Validation Cache Info- Returns:
ValidationInfoRecord
-
getUrl
Returns a URL that was used to download the remote file- Returns:
String
url
-
getParent
Returns theTLInfo
referencing the current Trusted List- Returns:
TLInfo
-
getMra
Gets the MRA (Mutual Recognition Agreement) element when applicable- Returns:
MRA
-
getDSSId
Returns the TL id- Specified by:
getDSSId
in interfaceIdentifierBasedObject
- Returns:
String
id
-
buildIdentifier
Builds the identifier- Returns:
Identifier
-
getDSSIdAsString
Returns the String representation of the identifier- Returns:
String
-