Class TokenStatus
java.lang.Object
eu.europa.esig.dss.spi.validation.status.TokenStatus
- Direct Known Subclasses:
RevocationFreshnessStatus
Contains tokens concerned by an occurred event and corresponding information about them
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor instantiating an empty map of related tokens -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRelatedObjectIdentifierAndErrorMessage(String arg0, String arg1) voidaddRelatedTokenAndErrorMessage(eu.europa.esig.dss.model.x509.Token token, String errorMessage) Adds concerned token and information about the occurred eventgetMessageForToken(eu.europa.esig.dss.model.x509.Token token) Returns error message for the given tokenCollection<eu.europa.esig.dss.model.x509.Token> Returns a collection of tokens concerned by failure of the processed checkbooleanisEmpty()protected StringvoidsetMessage(String arg0) toString()
-
Constructor Details
-
TokenStatus
public TokenStatus()Default constructor instantiating an empty map of related tokens
-
-
Method Details
-
addRelatedTokenAndErrorMessage
-
getRelatedTokens
Returns a collection of tokens concerned by failure of the processed check- Returns:
- a collection of
Tokens
-
getMessageForToken
-
isEmpty
public boolean isEmpty() -
addRelatedObjectIdentifierAndErrorMessage
-
getMessageForObjectWithId
-
getRelatedObjectIds
-
getErrorString
-
objectMapToString
-
getMessage
-
setMessage
-
toString
-