Class CAdESSignatureIntegrityValidator
java.lang.Object
eu.europa.esig.dss.spi.x509.SignatureIntegrityValidator
eu.europa.esig.dss.cades.validation.CAdESSignatureIntegrityValidator
Validates integrity of a CAdES signature
-
Constructor Summary
ConstructorDescriptionCAdESSignatureIntegrityValidator
(org.bouncycastle.cms.SignerInformation signerInformation) The default constructor -
Method Summary
Methods inherited from class eu.europa.esig.dss.spi.x509.SignatureIntegrityValidator
getErrorMessages, validate
-
Constructor Details
-
CAdESSignatureIntegrityValidator
public CAdESSignatureIntegrityValidator(org.bouncycastle.cms.SignerInformation signerInformation) The default constructor- Parameters:
signerInformation
-SignerInformation
to be validated
-
-
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
-