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
ConstructorsConstructorDescriptionTLInfo(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 IdentifierBuilds the identifierReturns Download Cache InfogetDSSId()Returns the TL idReturns the String representation of the identifiergetMra()Gets the MRA (Mutual Recognition Agreement) element when applicableReturns theTLInforeferencing 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-DownloadInfoRecorda download cache resultparsingCacheInfo-ParsingInfoRecorda parsing cache resultvalidationCacheInfo-ValidationInfoRecorda validation cache resulturl-Stringaddress 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-DownloadInfoRecorda download cache resultparsingCacheInfo-ParsingInfoRecorda parsing cache resultvalidationCacheInfo-ValidationInfoRecorda validation cache resulturl-Stringaddress used to extract the entryparent-TLInforeferencing 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-DownloadInfoRecorda download cache resultparsingCacheInfo-ParsingInfoRecorda parsing cache resultvalidationCacheInfo-ValidationInfoRecorda validation cache resulturl-Stringaddress used to extract the entryparent-TLInforeferencing the current Trusted Listmra-MRAMutual 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:
Stringurl
-
getParent
Returns theTLInforeferencing 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:
getDSSIdin interfaceIdentifierBasedObject- Returns:
Stringid
-
buildIdentifier
Builds the identifier- Returns:
Identifier
-
getDSSIdAsString
Returns the String representation of the identifier- Returns:
String
-