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 pivotIdentifiergetIdentifier()Returns the TL idStringgetLOTLLocation()Returns the associated with the pivot LOTL Location urlbooleanisPivot()Checks if the current entry is a pivot infoMethods inherited from class eu.europa.esig.dss.spi.tsl.LOTLInfo
getPivotInfos, getTLInfos, setPivotInfos, setTlInfosMethods 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-DownloadInfoRecorda download cache resultparsingCacheInfo-ParsingInfoRecorda parsing cache resultvalidationCacheInfo-ValidationInfoRecorda validation cache resulturl-Stringaddress used to extract the entrycertificates- map betweenCertificateTokenandCertificatePivotStatusmap between certificates and their statuses in the current pivotlotlLocation-Stringthe 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
CertificateTokenandCertificatePivotStatus
-
getLOTLLocation
Returns the associated with the pivot LOTL Location url- Returns:
StringLOTL location url
-
isPivot
public boolean isPivot()Description copied from class:LOTLInfoChecks if the current entry is a pivot info -
getIdentifier
Description copied from class:TLInfoReturns the TL id- Overrides:
getIdentifierin classLOTLInfo- Returns:
Stringid
-