java.lang.Object
eu.europa.esig.dss.tsl.dto.AbstractCacheDTO
eu.europa.esig.dss.tsl.dto.ValidationCacheDTO
- All Implemented Interfaces:
eu.europa.esig.dss.model.tsl.InfoRecord,eu.europa.esig.dss.model.tsl.ValidationInfoRecord,Serializable
public class ValidationCacheDTO
extends AbstractCacheDTO
implements eu.europa.esig.dss.model.tsl.ValidationInfoRecord
The validation record DTO
- See Also:
-
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.SubIndicationbooleanbooleanbooleanisValid()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 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
-
ValidationCacheDTO
public ValidationCacheDTO()Default constructor -
ValidationCacheDTO
Copies the cache DTO- Parameters:
cacheDTO-AbstractCacheDTO
-
-
Method Details
-
getIndication
public eu.europa.esig.dss.enumerations.Indication getIndication()- Specified by:
getIndicationin interfaceeu.europa.esig.dss.model.tsl.ValidationInfoRecord
-
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()- Specified by:
getSubIndicationin interfaceeu.europa.esig.dss.model.tsl.ValidationInfoRecord
-
setSubIndication
public void setSubIndication(eu.europa.esig.dss.enumerations.SubIndication subIndication) Sets the validation SubIndication- Parameters:
subIndication-SubIndication
-
getSigningTime
- Specified by:
getSigningTimein interfaceeu.europa.esig.dss.model.tsl.ValidationInfoRecord
-
setSigningTime
Sets the claimed signing time- Parameters:
signingTime-Date
-
getSigningCertificate
public eu.europa.esig.dss.model.x509.CertificateToken getSigningCertificate()- Specified by:
getSigningCertificatein interfaceeu.europa.esig.dss.model.tsl.ValidationInfoRecord
-
setSigningCertificate
public void setSigningCertificate(eu.europa.esig.dss.model.x509.CertificateToken signingCertificate) Sets the signing certificate token- Parameters:
signingCertificate-CertificateToken
-
getPotentialSigners
- Specified by:
getPotentialSignersin interfaceeu.europa.esig.dss.model.tsl.ValidationInfoRecord
-
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()- Specified by:
isValidin interfaceeu.europa.esig.dss.model.tsl.ValidationInfoRecord
-
isIndeterminate
public boolean isIndeterminate()- Specified by:
isIndeterminatein interfaceeu.europa.esig.dss.model.tsl.ValidationInfoRecord
-
isInvalid
public boolean isInvalid()- Specified by:
isInvalidin interfaceeu.europa.esig.dss.model.tsl.ValidationInfoRecord
-