Class JWSSerializationDocumentValidator
java.lang.Object
eu.europa.esig.dss.validation.SignedDocumentValidator
eu.europa.esig.dss.jades.validation.AbstractJWSDocumentValidator
eu.europa.esig.dss.jades.validation.JWSSerializationDocumentValidator
- All Implemented Interfaces:
DocumentValidator
,ProcessExecutorProvider<DocumentProcessExecutor>
{
"payload":"payload contents",
"signatures":[
{"protected":"integrity-protected header 1 contents",
"header":non-integrity-protected header 1 contents,
"signature":"signature 1 contents"},
...
{"protected":"integrity-protected header N contents",
"header":non-integrity-protected header N contents,
"signature":"signature N contents"}
]
}
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.SignedDocumentValidator
certificateVerifier, containerContents, detachedContents, document, manifestFile, processExecutor, signatureScopeFinder, signingCertificateSource, skipValidationContextExecution
-
Constructor Summary
ConstructorDescriptionEmpty constructorJWSSerializationDocumentValidator
(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 document) 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
-
JWSSerializationDocumentValidator
public JWSSerializationDocumentValidator()Empty constructor -
JWSSerializationDocumentValidator
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:
document
-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
-