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:
IdentifierBasedObject
,Serializable
Contains information about a pivot
- See Also:
-
Constructor Summary
ConstructorDescriptionPivotInfo
(DownloadInfoRecord downloadCacheInfo, ParsingInfoRecord parsingCacheInfo, ValidationInfoRecord validationCacheInfo, String url, Map<CertificateToken, CertificatePivotStatus> certificates, String lotlLocation) The default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected Identifier
Builds the identifierReturns a map of certificate tokens with a status regarding to the current pivotReturns 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, getDSSId, getDSSIdAsString, getMra, getParent, 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 -
buildIdentifier
Description copied from class:TLInfo
Builds the identifier- Overrides:
buildIdentifier
in classLOTLInfo
- Returns:
Identifier
-