Class JWSCompactDocumentValidator
java.lang.Object
eu.europa.esig.dss.validation.SignedDocumentValidator
eu.europa.esig.dss.jades.validation.AbstractJWSDocumentValidator
eu.europa.esig.dss.jades.validation.JWSCompactDocumentValidator
- All Implemented Interfaces:
DocumentValidator
,ProcessExecutorProvider<DocumentProcessExecutor>
Validates a JWS Compact signature
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.SignedDocumentValidator
certificateVerifier, containerContents, detachedContents, document, manifestFile, processExecutor, signatureScopeFinder, signingCertificateSource, skipValidationContextExecution
-
Constructor Summary
ConstructorDescriptionEmpty constructorJWSCompactDocumentValidator
(DSSDocument document) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected JWSJsonSerializationObject
Builds aJWSJsonSerializationObject
protected List<AdvancedSignature>
This method build a list of signatures to be extracted from a documentboolean
isSupported
(DSSDocument dssDocument) Checks if the document is supported by the current validatorMethods inherited from class eu.europa.esig.dss.jades.validation.AbstractJWSDocumentValidator
getJwsJsonSerializationObject, getOriginalDocuments, getSignaturePolicyValidatorLoader
Methods inherited from class eu.europa.esig.dss.validation.SignedDocumentValidator
addReference, appendCounterSignatures, assertConfigurationValid, buildDetachedTimestamps, createDiagnosticDataBuilder, findSignatureScopes, findTimestampScopes, fromDocument, getAllSignatures, getDefaultDigestAlgorithm, getDefaultProcessExecutor, getDetachedTimestamps, getDiagnosticData, getOriginalDocuments, getSignatureById, getSignaturePolicyProvider, getSignatures, getTimestampedReferences, getTimestampScopeFinder, getTokenIdentifierProvider, getValidationData, getValidationData, getValidationTime, initializeDiagnosticDataBuilder, instantiateValidationDataContainer, 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
-
JWSCompactDocumentValidator
public JWSCompactDocumentValidator()Empty constructor -
JWSCompactDocumentValidator
Default constructor- Parameters:
document
-DSSDocument
to validate
-
-
Method Details
-
isSupported
Description copied from class:SignedDocumentValidator
Checks if the document is supported by the current validator- Specified by:
isSupported
in classSignedDocumentValidator
- Parameters:
dssDocument
-DSSDocument
to check- Returns:
- TRUE if the document is supported, FALSE otherwise
-
buildSignatures
Description copied from class:SignedDocumentValidator
This method build a list of signatures to be extracted from a document- Overrides:
buildSignatures
in classSignedDocumentValidator
- Returns:
- a list of
AdvancedSignature
s
-
buildJwsJsonSerializationObject
Description copied from class:AbstractJWSDocumentValidator
Builds aJWSJsonSerializationObject
- Specified by:
buildJwsJsonSerializationObject
in classAbstractJWSDocumentValidator
- Returns:
JWSJsonSerializationObject
-