Package eu.europa.esig.dss.spi.tsl
Interface ValidationInfoRecord
- All Superinterfaces:
InfoRecord
,Serializable
- All Known Implementing Classes:
ValidationCacheDTO
public interface ValidationInfoRecord extends InfoRecord
Validation result record
-
Method Summary
Modifier and Type Method Description Indication
getIndication()
Gets validation IndicationList<CertificateToken>
getPotentialSigners()
Gets a list of signing candidatesCertificateToken
getSigningCertificate()
Gets the signing certificateDate
getSigningTime()
Gets the (claimed) signing timeSubIndication
getSubIndication()
Gets validation SubIndicationboolean
isIndeterminate()
Gets if the validation result is indeterminateboolean
isInvalid()
Gets if the signature is invalidboolean
isValid()
Gets if the signature is validMethods inherited from interface eu.europa.esig.dss.spi.tsl.InfoRecord
getExceptionFirstOccurrenceTime, getExceptionLastOccurrenceTime, getExceptionMessage, getExceptionStackTrace, getLastStateTransitionTime, getLastSuccessSynchronizationTime, getStatusName, isDesynchronized, isError, isRefreshNeeded, isResultExist, isSynchronized, isToBeDeleted
-
Method Details
-
getIndication
Indication getIndication()Gets validation Indication- Returns:
Indication
-
getSubIndication
SubIndication getSubIndication()Gets validation SubIndication- Returns:
SubIndication
-
getSigningTime
Date getSigningTime()Gets the (claimed) signing time- Returns:
Date
-
getSigningCertificate
CertificateToken getSigningCertificate()Gets the signing certificate- Returns:
CertificateToken
-
getPotentialSigners
List<CertificateToken> getPotentialSigners()Gets a list of signing candidates- Returns:
- a list of
CertificateToken
s
-
isValid
boolean isValid()Gets if the signature is valid- Returns:
- TRUE if the validation succeeded, FALSE otherwise
-
isIndeterminate
boolean isIndeterminate()Gets if the validation result is indeterminate- Returns:
- TRUE if the validation result is indeterminate, FALSE otherwise
-
isInvalid
boolean isInvalid()Gets if the signature is invalid- Returns:
- TRUE if the validation failed, FALSE otherwise
-