Class ValidationCacheDTO
java.lang.Object
eu.europa.esig.dss.tsl.dto.AbstractCacheDTO
eu.europa.esig.dss.tsl.dto.ValidationCacheDTO
- All Implemented Interfaces:
Serializable
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorValidationCacheDTO(AbstractCacheDTO cacheDTO) Copies the cache DTO -
Method Summary
Modifier and TypeMethodDescriptioneu.europa.esig.dss.enumerations.IndicationList<eu.europa.esig.dss.model.x509.CertificateToken> eu.europa.esig.dss.model.x509.CertificateTokeneu.europa.esig.dss.enumerations.SubIndicationbooleanbooleanisError()booleanbooleanbooleanbooleanbooleanbooleanbooleanisValid()voidsetIndication(eu.europa.esig.dss.enumerations.Indication indication) Sets the validation IndicationvoidsetPotentialSigners(List<eu.europa.esig.dss.model.x509.CertificateToken> potentialSigners) Sets a list of signing candidatesvoidsetSigningCertificate(eu.europa.esig.dss.model.x509.CertificateToken signingCertificate) Sets the signing certificate tokenvoidsetSigningTime(Date signingTime) Sets the claimed signing timevoidsetSubIndication(eu.europa.esig.dss.enumerations.SubIndication subIndication) Sets the validation SubIndicationMethods inherited from class AbstractCacheDTO
getCacheState, getExceptionFirstOccurrenceTime, getExceptionLastOccurrenceTime, getExceptionMessage, getExceptionStackTrace, getLastStateTransitionTime, getLastSuccessSynchronizationTime, getStatusName, isDesynchronized, isError, isRefreshNeeded, isResultExist, isSynchronized, isToBeDeleted, setCacheState, setExceptionFirstOccurrenceTime, setExceptionLastOccurrenceTime, setExceptionMessage, setExceptionStackTrace, setLastStateTransitionTime, setLastSuccessSynchronizationTime, setResultExist
-
Constructor Details
-
ValidationCacheDTO
public ValidationCacheDTO()Default constructor -
ValidationCacheDTO
Copies the cache DTO- Parameters:
cacheDTO-AbstractCacheDTO
-
-
Method Details
-
getIndication
public eu.europa.esig.dss.enumerations.Indication getIndication() -
setIndication
public void setIndication(eu.europa.esig.dss.enumerations.Indication indication) Sets the validation Indication- Parameters:
indication-Indication
-
getSubIndication
public eu.europa.esig.dss.enumerations.SubIndication getSubIndication() -
setSubIndication
public void setSubIndication(eu.europa.esig.dss.enumerations.SubIndication subIndication) Sets the validation SubIndication- Parameters:
subIndication-SubIndication
-
getSigningTime
-
setSigningTime
-
getSigningCertificate
public eu.europa.esig.dss.model.x509.CertificateToken getSigningCertificate() -
setSigningCertificate
public void setSigningCertificate(eu.europa.esig.dss.model.x509.CertificateToken signingCertificate) Sets the signing certificate token- Parameters:
signingCertificate-CertificateToken
-
getPotentialSigners
-
setPotentialSigners
public void setPotentialSigners(List<eu.europa.esig.dss.model.x509.CertificateToken> potentialSigners) Sets a list of signing candidates- Parameters:
potentialSigners- a list ofCertificateTokens
-
isValid
public boolean isValid() -
isIndeterminate
public boolean isIndeterminate() -
isInvalid
public boolean isInvalid() -
isRefreshNeeded
boolean isRefreshNeeded() -
isDesynchronized
boolean isDesynchronized() -
isSynchronized
boolean isSynchronized() -
isError
boolean isError() -
isToBeDeleted
boolean isToBeDeleted() -
getStatusName
String getStatusName() -
getLastStateTransitionTime
Date getLastStateTransitionTime() -
getLastSuccessSynchronizationTime
Date getLastSuccessSynchronizationTime() -
getExceptionMessage
String getExceptionMessage() -
getExceptionStackTrace
String getExceptionStackTrace() -
getExceptionFirstOccurrenceTime
Date getExceptionFirstOccurrenceTime() -
getExceptionLastOccurrenceTime
Date getExceptionLastOccurrenceTime() -
isResultExist
boolean isResultExist()
-