Class AbstractJWSDocumentValidator
java.lang.Object
eu.europa.esig.dss.validation.SignedDocumentValidator
eu.europa.esig.dss.jades.validation.AbstractJWSDocumentValidator
- All Implemented Interfaces:
DocumentValidator
,ProcessExecutorProvider<DocumentProcessExecutor>
- Direct Known Subclasses:
JWSCompactDocumentValidator
,JWSSerializationDocumentValidator
The abstract class for a JWS signature validation
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.SignedDocumentValidator
certificateVerifier, containerContents, detachedContents, document, manifestFile, processExecutor, signatureScopeFinder, signingCertificateSource, skipValidationContextExecution
-
Constructor Summary
ModifierConstructorDescriptionprotected
Empty constructorprotected
AbstractJWSDocumentValidator
(DSSDocument document) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract JWSJsonSerializationObject
Builds aJWSJsonSerializationObject
Gets theJWSJsonSerializationObject
getOriginalDocuments
(AdvancedSignature advancedSignature) This method returns the signed document(s) without their signature(s)Returns an instance of a corresponding to the formatSignaturePolicyValidatorLoader
Methods inherited from class eu.europa.esig.dss.validation.SignedDocumentValidator
addReference, appendCounterSignatures, assertConfigurationValid, buildDetachedTimestamps, buildSignatures, createDiagnosticDataBuilder, findSignatureScopes, findTimestampScopes, fromDocument, getAllSignatures, getDefaultDigestAlgorithm, getDefaultProcessExecutor, getDetachedTimestamps, getDiagnosticData, getOriginalDocuments, getSignatureById, getSignaturePolicyProvider, getSignatures, getTimestampedReferences, getTimestampScopeFinder, getTokenIdentifierProvider, getValidationData, getValidationData, getValidationTime, initializeDiagnosticDataBuilder, instantiateValidationDataContainer, isSupported, prepareDetachedTimestampValidationContext, prepareDiagnosticDataBuilder, prepareSignatureForVerification, prepareSignatureScopeFinder, prepareSignatureValidationContext, prepareTimestampScopeFinder, prepareValidationContext, processSignaturesValidation, processValidationPolicy, provideProcessExecutorInstance, setCertificateVerifier, setContainerContents, setDetachedContents, setEnableEtsiValidationReport, setIncludeSemantics, setLocale, setManifestFile, setProcessExecutor, setSignaturePolicyProvider, setSigningCertificateSource, setSkipValidationContextExecution, setTokenExtractionStrategy, setTokenIdentifierProvider, setValidationLevel, setValidationTime, validateContext, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument
-
Constructor Details
-
AbstractJWSDocumentValidator
protected AbstractJWSDocumentValidator()Empty constructor -
AbstractJWSDocumentValidator
Default constructor- Parameters:
document
-DSSDocument
to validate
-
-
Method Details
-
getOriginalDocuments
Description copied from interface:DocumentValidator
This method returns the signed document(s) without their signature(s)- Parameters:
advancedSignature
-AdvancedSignature
to find signer documents for- Returns:
- list of
DSSDocument
s
-
getJwsJsonSerializationObject
Gets theJWSJsonSerializationObject
- Returns:
JWSJsonSerializationObject
-
buildJwsJsonSerializationObject
Builds aJWSJsonSerializationObject
- Returns:
JWSJsonSerializationObject
-
getSignaturePolicyValidatorLoader
Description copied from class:SignedDocumentValidator
Returns an instance of a corresponding to the formatSignaturePolicyValidatorLoader
- Overrides:
getSignaturePolicyValidatorLoader
in classSignedDocumentValidator
- Returns:
SignaturePolicyValidatorLoader
-