Interface PDFSignatureValidationResult
- All Superinterfaces:
SignatureValidationResult
- All Known Implementing Classes:
DefaultPDFSignatureValidationResult
Signature validation result for validating PDF signatures.
- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
-
Nested Class Summary
Nested classes/interfaces inherited from interface se.idsec.signservice.security.sign.SignatureValidationResult
SignatureValidationResult.Status
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pdfbox.pdmodel.interactive.digitalsignature.PDSignature
Gets the PDF signature object (that was validated).boolean
Predicate that tells if the signature has the CMS algorithm protection signed attribute set.Methods inherited from interface se.idsec.signservice.security.sign.SignatureValidationResult
getCertificateValidationResult, getClaimedSigningTime, getException, getSignatureAlgorithm, getSignerCertificate, getStatus, getStatusMessage, isEtsiAdes, isSuccess
-
Method Details
-
getPdfSignature
org.apache.pdfbox.pdmodel.interactive.digitalsignature.PDSignature getPdfSignature()Gets the PDF signature object (that was validated).- Returns:
- the PDF signature object
-
isCmsAlgorithmProtection
boolean isCmsAlgorithmProtection()Predicate that tells if the signature has the CMS algorithm protection signed attribute set.- Returns:
- true if the CMS algorithm protection signed attribute is set and false otherwise
-