Class RevocationFreshnessStatus
java.lang.Object
eu.europa.esig.dss.spi.validation.status.TokenStatus
eu.europa.esig.dss.spi.validation.status.RevocationFreshnessStatus
Contains information about the performed revocation freshness check
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRelatedObjectIdentifierAndErrorMessage(String arg0, String arg1) voidaddTokenAndRevocationNextUpdateTime(eu.europa.esig.dss.model.x509.Token token, Date revocationNextUpdate) Adds concerned token and nextUpdate time of the revocation dataReturns minimal time when revocation data should be updated for all concerned tokens NOTE: returns NULL if no suitable revocation data found or if the revocation data is fresh enoughgetTokenRevocationNextUpdateTime(eu.europa.esig.dss.model.x509.Token token) Returns nextUpdate time of revocation data for the given token NOTE: returns Date only if the obtained revocation data is not fresh enough (otherwise returns null)protected StringvoidsetMessage(String arg0) toString()Methods inherited from class TokenStatus
addRelatedTokenAndErrorMessage, getMessageForToken, getRelatedTokens, isEmpty
-
Constructor Details
-
RevocationFreshnessStatus
public RevocationFreshnessStatus()Default constructor initializing an empty map
-
-
Method Details
-
addTokenAndRevocationNextUpdateTime
-
getTokenRevocationNextUpdateTime
Returns nextUpdate time of revocation data for the given token NOTE: returns Date only if the obtained revocation data is not fresh enough (otherwise returns null)- Parameters:
token-Tokento get related revocation data's nextUpdate time- Returns:
Date
-
getMinimalNextUpdateTime
-
getErrorString
-
addRelatedObjectIdentifierAndErrorMessage
-
getMessageForObjectWithId
-
getRelatedObjectIds
-
objectMapToString
-
getMessage
-
setMessage
-
toString
-