Class SignatureStatus
java.lang.Object
eu.europa.esig.dss.spi.validation.status.SignatureStatus
Contains signatures concerned by an occurred event and corresponding information about them
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRelatedObjectIdentifierAndErrorMessage(String arg0, String arg1) voidaddRelatedTokenAndErrorMessage(AdvancedSignature signature, String errorMessage) Adds concerned signature and information about the occurred eventgetMessageForSignature(AdvancedSignature signature) Returns error message for the given signatureReturns a collection of signatures concerned by failure of the processed checkbooleanisEmpty()protected StringvoidsetMessage(String arg0) toString()
-
Constructor Details
-
SignatureStatus
public SignatureStatus()Default constructor initializing an empty map
-
-
Method Details
-
addRelatedTokenAndErrorMessage
Adds concerned signature and information about the occurred event- Parameters:
signature-AdvancedSignatureerrorMessage-Stringmessage
-
getRelatedSignatures
Returns a collection of signatures concerned by failure of the processed check- Returns:
- a collection of
AdvancedSignatures
-
getMessageForSignature
Returns error message for the given signature- Parameters:
signature-AdvancedSignatureto get caused error message for- Returns:
Stringerror message
-
isEmpty
public boolean isEmpty() -
addRelatedObjectIdentifierAndErrorMessage
-
getMessageForObjectWithId
-
getRelatedObjectIds
-
getErrorString
-
objectMapToString
-
getMessage
-
setMessage
-
toString
-