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
ConstructorDescriptionDefault constructorParsingCacheDTO
(AbstractCacheDTO cacheDTO) Copies the cache DTO -
Method Summary
Modifier and TypeMethodDescriptionint
Returns a number of allCertificateToken
s 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 TSLTypeint
Returns a number of allTrustService
s present in the TLint
Returns a number of allTrustServiceProvider
s present in the TLGets LOTL/TL versionvoid
setDistributionPoints
(List<String> distributionPoints) Sets a list of distribution point urlsvoid
setIssueDate
(Date issueDate) Sets the issue datevoid
setLotlOtherPointers
(List<OtherTSLPointer> lotlOtherPointers) Sets LOTL other pointersvoid
setNextUpdateDate
(Date nextUpdateDate) Sets the next update datevoid
setPivotUrls
(List<String> pivotUrls) Sets pivot URLsvoid
setSequenceNumber
(Integer sequenceNumber) Sets the sequence numbervoid
setSigningCertificateAnnouncementUrl
(String signingCertificateAnnouncementUrl) Sets the signing certificate announcement URLvoid
setTerritory
(String territory) Sets the territoryvoid
setTlOtherPointers
(List<OtherTSLPointer> tlOtherPointers) Sets TL other pointersvoid
setTrustServiceProviders
(List<TrustServiceProvider> trustServiceProviders) Sets trust service providersvoid
setTSLType
(TSLType tslType) Sets the TSLTypevoid
setVersion
(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, setResultExist
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:ParsingInfoRecord
Gets the LOTL/TL TSLType- Specified by:
getTSLType
in interfaceParsingInfoRecord
- Returns:
TSLType
-
setTSLType
-
getSequenceNumber
Description copied from interface:ParsingInfoRecord
Gets the LOTL/TL sequence number- Specified by:
getSequenceNumber
in interfaceParsingInfoRecord
- Returns:
Integer
-
setSequenceNumber
-
getVersion
Description copied from interface:ParsingInfoRecord
Gets LOTL/TL version- Specified by:
getVersion
in interfaceParsingInfoRecord
- Returns:
Integer
-
setVersion
-
getTerritory
Description copied from interface:ParsingInfoRecord
Gets the LOTL/TL territory (country)- Specified by:
getTerritory
in interfaceParsingInfoRecord
- Returns:
String
-
setTerritory
-
getIssueDate
Description copied from interface:ParsingInfoRecord
Gets issuing date- Specified by:
getIssueDate
in interfaceParsingInfoRecord
- Returns:
Date
-
setIssueDate
-
getNextUpdateDate
Description copied from interface:ParsingInfoRecord
Gets next update date- Specified by:
getNextUpdateDate
in interfaceParsingInfoRecord
- Returns:
Date
-
setNextUpdateDate
-
getDistributionPoints
Description copied from interface:ParsingInfoRecord
Gets distribution points- Specified by:
getDistributionPoints
in interfaceParsingInfoRecord
- Returns:
- a list of
String
s
-
setDistributionPoints
-
getTrustServiceProviders
Description copied from interface:ParsingInfoRecord
Gets trust service providers- Specified by:
getTrustServiceProviders
in interfaceParsingInfoRecord
- Returns:
- a list of
TrustServiceProvider
s
-
setTrustServiceProviders
Sets trust service providers- Parameters:
trustServiceProviders
- a list ofTrustServiceProvider
s
-
getLotlOtherPointers
Description copied from interface:ParsingInfoRecord
Gets LOTL other TSL pointers- Specified by:
getLotlOtherPointers
in interfaceParsingInfoRecord
- Returns:
- a list of
OtherTSLPointer
s
-
setLotlOtherPointers
Sets LOTL other pointers- Parameters:
lotlOtherPointers
- a list ofOtherTSLPointer
s
-
getTlOtherPointers
Description copied from interface:ParsingInfoRecord
Gets TL other TSL pointers- Specified by:
getTlOtherPointers
in interfaceParsingInfoRecord
- Returns:
- a list of
OtherTSLPointer
s
-
setTlOtherPointers
Sets TL other pointers- Parameters:
tlOtherPointers
- a list ofOtherTSLPointer
s
-
getPivotUrls
Description copied from interface:ParsingInfoRecord
Gets pivot URLs- Specified by:
getPivotUrls
in interfaceParsingInfoRecord
- Returns:
- a list of
String
s
-
setPivotUrls
-
getSigningCertificateAnnouncementUrl
Description copied from interface:ParsingInfoRecord
Gets signing certificate announcement URL- Specified by:
getSigningCertificateAnnouncementUrl
in interfaceParsingInfoRecord
- Returns:
String
-
setSigningCertificateAnnouncementUrl
-
getTSPNumber
public int getTSPNumber()Description copied from interface:ParsingInfoRecord
Returns a number of allTrustServiceProvider
s present in the TL- Specified by:
getTSPNumber
in interfaceParsingInfoRecord
- Returns:
- TSP number
-
getTSNumber
public int getTSNumber()Description copied from interface:ParsingInfoRecord
Returns a number of allTrustService
s present in the TL- Specified by:
getTSNumber
in interfaceParsingInfoRecord
- Returns:
- TS number
-
getCertNumber
public int getCertNumber()Description copied from interface:ParsingInfoRecord
Returns a number of allCertificateToken
s present in the TL- Specified by:
getCertNumber
in interfaceParsingInfoRecord
- Returns:
- number of certificates
-