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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionA list of error messages occurred during a structure validation -
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 a list of error messages when occurred during the structure validationGets 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 URLvoidsetStructureValidationMessages(List<String> structureValidationMessages) Sets the structure validation error messagesvoidsetTerritory(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
-
Field Details
-
structureValidationMessages
A list of error messages occurred during a structure validation
-
-
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
Sets the TSLType- Parameters:
tslType-TSLType
-
getSequenceNumber
Description copied from interface:ParsingInfoRecordGets the LOTL/TL sequence number- Specified by:
getSequenceNumberin interfaceParsingInfoRecord- Returns:
Integer
-
setSequenceNumber
Sets the sequence number- Parameters:
sequenceNumber-Integer
-
getVersion
Description copied from interface:ParsingInfoRecordGets LOTL/TL version- Specified by:
getVersionin interfaceParsingInfoRecord- Returns:
Integer
-
setVersion
Sets the version- Parameters:
version-Integer
-
getTerritory
Description copied from interface:ParsingInfoRecordGets the LOTL/TL territory (country)- Specified by:
getTerritoryin interfaceParsingInfoRecord- Returns:
String
-
setTerritory
Sets the territory- Parameters:
territory-String
-
getIssueDate
Description copied from interface:ParsingInfoRecordGets issuing date- Specified by:
getIssueDatein interfaceParsingInfoRecord- Returns:
Date
-
setIssueDate
Sets the issue date- Parameters:
issueDate-Date
-
getNextUpdateDate
Description copied from interface:ParsingInfoRecordGets next update date- Specified by:
getNextUpdateDatein interfaceParsingInfoRecord- Returns:
Date
-
setNextUpdateDate
Sets the next update date- Parameters:
nextUpdateDate-Date
-
getDistributionPoints
Description copied from interface:ParsingInfoRecordGets distribution points- Specified by:
getDistributionPointsin interfaceParsingInfoRecord- Returns:
- a list of
Strings
-
setDistributionPoints
Sets a list of distribution point urls- Parameters:
distributionPoints- a list ofStrings
-
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
Sets pivot URLs- Parameters:
pivotUrls- a list ofStrings
-
getSigningCertificateAnnouncementUrl
Description copied from interface:ParsingInfoRecordGets signing certificate announcement URL- Specified by:
getSigningCertificateAnnouncementUrlin interfaceParsingInfoRecord- Returns:
String
-
setSigningCertificateAnnouncementUrl
Sets the signing certificate announcement URL- Parameters:
signingCertificateAnnouncementUrl-String
-
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
-
getStructureValidationMessages
Description copied from interface:ParsingInfoRecordGets a list of error messages when occurred during the structure validation- Specified by:
getStructureValidationMessagesin interfaceParsingInfoRecord- Returns:
- a list of
Stringstructure validation messages, empty list if the structure validation succeeded
-
setStructureValidationMessages
Sets the structure validation error messages- Parameters:
structureValidationMessages- a list ofStringerror messages when occurred on the structure validation
-