Package eu.europa.esig.dss.tsl.dto
Class ParsingCacheDTO
java.lang.Object
eu.europa.esig.dss.tsl.dto.AbstractCacheDTO
eu.europa.esig.dss.tsl.dto.ParsingCacheDTO
- All Implemented Interfaces:
InfoRecord,ParsingInfoRecord,Serializable
The parsing record DTO
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorParsingCacheDTO(AbstractCacheDTO cacheDTO) Copies the cache DTO -
Method Summary
Modifier and TypeMethodDescriptionintReturns a number of allCertificateTokens present in the TLGets distribution pointsGets issuing dateGets LOTL other TSL pointersGets next update dateGets pivot URLsGets the LOTL/TL sequence numberGets signing certificate announcement URLGets the LOTL/TL territory (country)Gets TL other TSL pointersGets trust service providersGets the LOTL/TL TSLTypeintReturns a number of allTrustServices present in the TLintReturns a number of allTrustServiceProviders present in the TLGets LOTL/TL versionvoidsetDistributionPoints(List<String> distributionPoints) Sets a list of distribution point urlsvoidsetIssueDate(Date issueDate) Sets the issue datevoidsetLotlOtherPointers(List<OtherTSLPointer> lotlOtherPointers) Sets LOTL other pointersvoidsetNextUpdateDate(Date nextUpdateDate) Sets the next update datevoidsetPivotUrls(List<String> pivotUrls) Sets pivot URLsvoidsetSequenceNumber(Integer sequenceNumber) Sets the sequence numbervoidsetSigningCertificateAnnouncementUrl(String signingCertificateAnnouncementUrl) Sets the signing certificate announcement URLvoidsetTerritory(String territory) Sets the territoryvoidsetTlOtherPointers(List<OtherTSLPointer> tlOtherPointers) Sets TL other pointersvoidsetTrustServiceProviders(List<TrustServiceProvider> trustServiceProviders) Sets trust service providersvoidsetTSLType(TSLType tslType) Sets the TSLTypevoidsetVersion(Integer version) Sets the versionMethods inherited from class eu.europa.esig.dss.tsl.dto.AbstractCacheDTO
getCacheState, getExceptionFirstOccurrenceTime, getExceptionLastOccurrenceTime, getExceptionMessage, getExceptionStackTrace, getLastStateTransitionTime, getLastSuccessSynchronizationTime, getStatusName, isDesynchronized, isError, isRefreshNeeded, isResultExist, isSynchronized, isToBeDeleted, setCacheState, setExceptionFirstOccurrenceTime, setExceptionLastOccurrenceTime, setExceptionMessage, setExceptionStackTrace, setLastStateTransitionTime, setLastSuccessSynchronizationTime, setResultExistMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface eu.europa.esig.dss.model.tsl.InfoRecord
getExceptionFirstOccurrenceTime, getExceptionLastOccurrenceTime, getExceptionMessage, getExceptionStackTrace, getLastStateTransitionTime, getLastSuccessSynchronizationTime, getStatusName, isDesynchronized, isError, isRefreshNeeded, isResultExist, isSynchronized, isToBeDeleted
-
Constructor Details
-
ParsingCacheDTO
public ParsingCacheDTO()Default constructor -
ParsingCacheDTO
Copies the cache DTO- Parameters:
cacheDTO-AbstractCacheDTO
-
-
Method Details
-
getTSLType
Description copied from interface:ParsingInfoRecordGets the LOTL/TL TSLType- Specified by:
getTSLTypein interfaceParsingInfoRecord- Returns:
TSLType
-
setTSLType
-
getSequenceNumber
Description copied from interface:ParsingInfoRecordGets the LOTL/TL sequence number- Specified by:
getSequenceNumberin interfaceParsingInfoRecord- Returns:
Integer
-
setSequenceNumber
-
getVersion
Description copied from interface:ParsingInfoRecordGets LOTL/TL version- Specified by:
getVersionin interfaceParsingInfoRecord- Returns:
Integer
-
setVersion
-
getTerritory
Description copied from interface:ParsingInfoRecordGets the LOTL/TL territory (country)- Specified by:
getTerritoryin interfaceParsingInfoRecord- Returns:
String
-
setTerritory
-
getIssueDate
Description copied from interface:ParsingInfoRecordGets issuing date- Specified by:
getIssueDatein interfaceParsingInfoRecord- Returns:
Date
-
setIssueDate
-
getNextUpdateDate
Description copied from interface:ParsingInfoRecordGets next update date- Specified by:
getNextUpdateDatein interfaceParsingInfoRecord- Returns:
Date
-
setNextUpdateDate
-
getDistributionPoints
Description copied from interface:ParsingInfoRecordGets distribution points- Specified by:
getDistributionPointsin interfaceParsingInfoRecord- Returns:
- a list of
Strings
-
setDistributionPoints
-
getTrustServiceProviders
Description copied from interface:ParsingInfoRecordGets trust service providers- Specified by:
getTrustServiceProvidersin interfaceParsingInfoRecord- Returns:
- a list of
TrustServiceProviders
-
setTrustServiceProviders
Sets trust service providers- Parameters:
trustServiceProviders- a list ofTrustServiceProviders
-
getLotlOtherPointers
Description copied from interface:ParsingInfoRecordGets LOTL other TSL pointers- Specified by:
getLotlOtherPointersin interfaceParsingInfoRecord- Returns:
- a list of
OtherTSLPointers
-
setLotlOtherPointers
Sets LOTL other pointers- Parameters:
lotlOtherPointers- a list ofOtherTSLPointers
-
getTlOtherPointers
Description copied from interface:ParsingInfoRecordGets TL other TSL pointers- Specified by:
getTlOtherPointersin interfaceParsingInfoRecord- Returns:
- a list of
OtherTSLPointers
-
setTlOtherPointers
Sets TL other pointers- Parameters:
tlOtherPointers- a list ofOtherTSLPointers
-
getPivotUrls
Description copied from interface:ParsingInfoRecordGets pivot URLs- Specified by:
getPivotUrlsin interfaceParsingInfoRecord- Returns:
- a list of
Strings
-
setPivotUrls
-
getSigningCertificateAnnouncementUrl
Description copied from interface:ParsingInfoRecordGets signing certificate announcement URL- Specified by:
getSigningCertificateAnnouncementUrlin interfaceParsingInfoRecord- Returns:
String
-
setSigningCertificateAnnouncementUrl
-
getTSPNumber
public int getTSPNumber()Description copied from interface:ParsingInfoRecordReturns a number of allTrustServiceProviders present in the TL- Specified by:
getTSPNumberin interfaceParsingInfoRecord- Returns:
- TSP number
-
getTSNumber
public int getTSNumber()Description copied from interface:ParsingInfoRecordReturns a number of allTrustServices present in the TL- Specified by:
getTSNumberin interfaceParsingInfoRecord- Returns:
- TS number
-
getCertNumber
public int getCertNumber()Description copied from interface:ParsingInfoRecordReturns a number of allCertificateTokens present in the TL- Specified by:
getCertNumberin interfaceParsingInfoRecord- Returns:
- number of certificates
-