Package eu.europa.esig.dss.spi.tsl
Class PivotInfo
java.lang.Object
eu.europa.esig.dss.spi.tsl.TLInfo
eu.europa.esig.dss.spi.tsl.LOTLInfo
eu.europa.esig.dss.spi.tsl.PivotInfo
- All Implemented Interfaces:
Serializable
public class PivotInfo extends LOTLInfo
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PivotInfo(DownloadInfoRecord downloadCacheInfo, ParsingInfoRecord parsingCacheInfo, ValidationInfoRecord validationCacheInfo, String url, Map<CertificateToken,CertificatePivotStatus> certificates, String lotlLocation)
The default constructor -
Method Summary
Modifier and Type Method Description Map<CertificateToken,CertificatePivotStatus>
getCertificateStatusMap()
Returns a map of certificate tokens with a status regarding to the current pivotIdentifier
getIdentifier()
Returns the TL idString
getLOTLLocation()
Returns the associated with the pivot LOTL Location urlboolean
isPivot()
Checks if the current entry is a pivot infoMethods inherited from class eu.europa.esig.dss.spi.tsl.LOTLInfo
getPivotInfos, getTLInfos, setPivotInfos, setTlInfos
Methods inherited from class eu.europa.esig.dss.spi.tsl.TLInfo
getDownloadCacheInfo, getParsingCacheInfo, getUrl, getValidationCacheInfo
-
Constructor Details
-
PivotInfo
public PivotInfo(DownloadInfoRecord downloadCacheInfo, ParsingInfoRecord parsingCacheInfo, ValidationInfoRecord validationCacheInfo, String url, Map<CertificateToken,CertificatePivotStatus> certificates, String lotlLocation)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 entrycertificates
- map betweenCertificateToken
andCertificatePivotStatus
map between certificates and their statuses in the current pivotlotlLocation
-String
the associated with the pivot LOTL location
-
-
Method Details
-
getCertificateStatusMap
Returns a map of certificate tokens with a status regarding to the current pivot- Returns:
- map between
CertificateToken
andCertificatePivotStatus
-
getLOTLLocation
Returns the associated with the pivot LOTL Location url- Returns:
String
LOTL location url
-
isPivot
public boolean isPivot()Description copied from class:LOTLInfo
Checks if the current entry is a pivot info -
getIdentifier
Description copied from class:TLInfo
Returns the TL id- Overrides:
getIdentifier
in classLOTLInfo
- Returns:
String
id
-