Package eu.europa.esig.dss.model.tsl
Class PivotInfo
java.lang.Object
eu.europa.esig.dss.model.tsl.TLInfo
eu.europa.esig.dss.model.tsl.LOTLInfo
eu.europa.esig.dss.model.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.model.tsl.LOTLInfo
getPivotInfos, getTLInfos, setPivotInfos, setTlInfos
Methods inherited from class eu.europa.esig.dss.model.tsl.TLInfo
getDownloadCacheInfo, getDSSId, getDSSIdAsString, getOtherTSLPointer, 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
-
isPivot
-
buildIdentifier
Description copied from class:TLInfo
Builds the identifier- Overrides:
buildIdentifier
in classLOTLInfo
- Returns:
Identifier
-