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
ConstructorsConstructorDescriptionPivotInfo(DownloadInfoRecord downloadCacheInfo, ParsingInfoRecord parsingCacheInfo, ValidationInfoRecord validationCacheInfo, String url, Map<CertificateToken, CertificatePivotStatus> certificates, String lotlLocation) The default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected IdentifierBuilds the identifierReturns a map of certificate tokens with a status regarding to the current pivotReturns the associated with the pivot LOTL Location urlbooleanisPivot()Checks if the current entry is a pivot infoMethods inherited from class eu.europa.esig.dss.model.tsl.LOTLInfo
getPivotInfos, getTLInfos, setPivotInfos, setTlInfosMethods 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-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
-
isPivot
-
buildIdentifier
Description copied from class:TLInfoBuilds the identifier- Overrides:
buildIdentifierin classLOTLInfo- Returns:
Identifier
-