Class PDFADocumentValidator
java.lang.Object
eu.europa.esig.dss.validation.SignedDocumentValidator
eu.europa.esig.dss.pades.validation.PDFDocumentValidator
eu.europa.esig.dss.pdfa.validation.PDFADocumentValidator
- All Implemented Interfaces:
DocumentValidator
,ProcessExecutorProvider<DocumentProcessExecutor>
Validator used for PDF/A document validation
In order to perform validation-process, please ensure the `dss-validation` module is loaded within the dependencies list of your project.
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.SignedDocumentValidator
documentAnalyzer, processExecutor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Empty constructorPDFADocumentValidator
(DSSDocument document) The default constructor for PDFADocumentValidator. -
Method Summary
Modifier and TypeMethodDescriptionReturns the current instance ofDocumentAnalyzer
This method returns adocument
validation result against PDF/A specificationprotected PAdESWithPDFADiagnosticDataBuilder
This method creates a format-specific implementation of theSignedDocumentDiagnosticDataBuilder
void
setPdfaStructureValidator
(PDFAStructureValidator pdfaStructureValidator) SetsPDFAStructureValidator
to verify a PDF/A document structureMethods inherited from class eu.europa.esig.dss.pades.validation.PDFDocumentValidator
getDssDictionaries, getRevisions, setPasswordProtection, setPdfObjFactory
Methods inherited from class eu.europa.esig.dss.validation.SignedDocumentValidator
assertConfigurationValid, fromDocument, getDefaultProcessExecutor, getDetachedEvidenceRecords, getDetachedTimestamps, getDiagnosticData, getOriginalDocuments, getOriginalDocuments, getSignatureById, getSignaturePolicyValidatorLoader, getSignatures, getValidationData, getValidationData, isSupported, processValidationPolicy, provideProcessExecutorInstance, setCertificateVerifier, setContainerContents, setDefaultDigestAlgorithm, setDetachedContents, setDetachedEvidenceRecordDocuments, setEnableEtsiValidationReport, setIncludeSemantics, setLocale, setManifestFile, setProcessExecutor, setSignaturePolicyProvider, setSigningCertificateSource, setSkipValidationContextExecution, setTokenExtractionStrategy, setTokenIdentifierProvider, setValidationContextExecutor, setValidationLevel, setValidationTime, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument
-
Constructor Details
-
PDFADocumentValidator
protected PDFADocumentValidator()Empty constructor -
PDFADocumentValidator
The default constructor for PDFADocumentValidator.- Parameters:
document
-DSSDocument
-
-
Method Details
-
getDocumentAnalyzer
Description copied from class:SignedDocumentValidator
Returns the current instance ofDocumentAnalyzer
- Overrides:
getDocumentAnalyzer
in classPDFDocumentValidator
- Returns:
DocumentAnalyzer
-
setPdfaStructureValidator
SetsPDFAStructureValidator
to verify a PDF/A document structure- Parameters:
pdfaStructureValidator
-PDFAStructureValidator
-
getPdfaValidationResult
This method returns adocument
validation result against PDF/A specification- Returns:
PDFAValidationResult
-
initializeDiagnosticDataBuilder
Description copied from class:SignedDocumentValidator
This method creates a format-specific implementation of theSignedDocumentDiagnosticDataBuilder
- Overrides:
initializeDiagnosticDataBuilder
in classPDFDocumentValidator
- Returns:
SignedDocumentDiagnosticDataBuilder
-