Class XAdESSignatureIntegrityValidator
java.lang.Object
eu.europa.esig.dss.spi.x509.SignatureIntegrityValidator
eu.europa.esig.dss.xades.validation.XAdESSignatureIntegrityValidator
Verifies integrity of a XAdES signature
-
Constructor Summary
ConstructorDescriptionXAdESSignatureIntegrityValidator
(org.apache.xml.security.signature.XMLSignature santuarioSignature) Default constructor -
Method Summary
Methods inherited from class eu.europa.esig.dss.spi.x509.SignatureIntegrityValidator
getErrorMessages, validate
-
Constructor Details
-
XAdESSignatureIntegrityValidator
public XAdESSignatureIntegrityValidator(org.apache.xml.security.signature.XMLSignature santuarioSignature) Default constructor- Parameters:
santuarioSignature
-XMLSignature
-
-
Method Details
-
verify
Description copied from class:SignatureIntegrityValidator
Verifies if the signature has been created with the given public key- Specified by:
verify
in classSignatureIntegrityValidator
- Parameters:
publicKey
-PublicKey
to verify- Returns:
- TRUE if the validation succeeded, FALSE otherwise
- Throws:
DSSException
- in case if an exception occurred
-