Class SignatureCryptographicVerification
java.lang.Object
eu.europa.esig.dss.model.signature.SignatureCryptographicVerification
- All Implemented Interfaces:
Serializable
Contains a result if a signature cryptographic validation
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructor instantiating object with null values -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of error messages obtained during signature cryptographic verificationboolean
Gets if (all) references data foundboolean
Gets if (all) references data intactboolean
Gets if the SignatureValue is validboolean
Returns if the signature is valid.void
setErrorMessage
(String errorMessage) Sets the error message (adds the message to error list)void
setErrorMessages
(List<String> errorMessages) Sets all error messages (adds the messages to error list)void
setReferenceDataFound
(boolean referenceDataFound) Sets if (all) references data foundvoid
setReferenceDataIntact
(boolean referenceDataIntact) Sets if (all) references data intactvoid
setSignatureIntact
(boolean signatureIntact) Sets if the SignatureValue is validtoString()
-
Constructor Details
-
SignatureCryptographicVerification
public SignatureCryptographicVerification()Default constructor instantiating object with null values
-
-
Method Details
-
isReferenceDataFound
public boolean isReferenceDataFound()Gets if (all) references data found- Returns:
- if (all) references data found
-
setReferenceDataFound
public void setReferenceDataFound(boolean referenceDataFound) Sets if (all) references data found- Parameters:
referenceDataFound
- if (all) references data found
-
isReferenceDataIntact
public boolean isReferenceDataIntact()Gets if (all) references data intact- Returns:
- if (all) references data intact
-
setReferenceDataIntact
public void setReferenceDataIntact(boolean referenceDataIntact) Sets if (all) references data intact- Parameters:
referenceDataIntact
- if (all) references data intact
-
isSignatureIntact
public boolean isSignatureIntact()Gets if the SignatureValue is valid- Returns:
- if the SignatureValue is valid
-
setSignatureIntact
public void setSignatureIntact(boolean signatureIntact) Sets if the SignatureValue is valid- Parameters:
signatureIntact
- if the SignatureValue is valid
-
isSignatureValid
public boolean isSignatureValid()Returns if the signature is valid. This means that thereferenceDataFound
andreferenceDataIntact
andsignatureValid
are true- Returns:
- TRUE if the signature is valid, FALSE otherwise
-
getErrorMessage
-
setErrorMessage
-
setErrorMessages
-
toString
-