Class JWSSerializationAnalyzerValidator
java.lang.Object
eu.europa.esig.dss.spi.validation.analyzer.DefaultDocumentAnalyzer
eu.europa.esig.dss.jades.validation.AbstractJWSDocumentAnalyzer
eu.europa.esig.dss.jades.validation.JWSSerializationAnalyzerValidator
- All Implemented Interfaces:
DocumentAnalyzer
{
"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.spi.validation.analyzer.DefaultDocumentAnalyzer
certificateVerifier, containerContents, detachedContents, detachedEvidenceRecordDocuments, document, manifestFile, signingCertificateSource
-
Constructor Summary
ConstructorDescriptionEmpty constructorJWSSerializationAnalyzerValidator
(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.AbstractJWSDocumentAnalyzer
getJwsJsonSerializationObject, getOriginalDocuments, getSignaturePolicyValidatorLoader
Methods inherited from class eu.europa.esig.dss.spi.validation.analyzer.DefaultDocumentAnalyzer
addReference, appendCounterSignatures, appendExternalEvidenceRecords, appendExternalEvidenceRecords, buildDetachedEvidenceRecords, buildDetachedTimestamps, buildEvidenceRecord, coversSignature, createValidationContext, fromDocument, getAllEvidenceRecords, getAllSignatures, getDetachedEvidenceRecords, getDetachedTimestamps, getDocument, getEvidenceRecord, getEvidenceRecordScopes, getOriginalDocuments, getSignatureById, getSignaturePolicyProvider, getSignatures, getTimestampedReferences, getTimestampReaders, getTokenIdentifierProvider, getValidationData, getValidationData, getValidationTime, instantiateValidationDataContainer, isTimestampCoveredByEvidenceRecord, prepareDetachedEvidenceRecordValidationContext, prepareDetachedTimestampValidationContext, prepareSignatureForVerification, prepareSignatureValidationContext, prepareValidationContext, processSignaturesValidation, setCertificateVerifier, setContainerContents, setDetachedContents, setDetachedEvidenceRecordDocuments, setDetachedEvidenceRecords, setManifestFile, setSignaturePolicyProvider, setSigningCertificateSource, setTokenIdentifierProvider, setValidationContextExecutor, setValidationTime, validate, validateContext, validateSignaturePolicy
-
Constructor Details
-
JWSSerializationAnalyzerValidator
public JWSSerializationAnalyzerValidator()Empty constructor -
JWSSerializationAnalyzerValidator
Default constructor- Parameters:
document
-DSSDocument
to validate
-
-
Method Details
-
isSupported
Description copied from interface:DocumentAnalyzer
Checks if the document is supported by the current validator- Parameters:
document
-DSSDocument
to check- Returns:
- TRUE if the document is supported, FALSE otherwise
-
buildSignatures
Description copied from class:DefaultDocumentAnalyzer
This method build a list of signatures to be extracted from a document- Overrides:
buildSignatures
in classDefaultDocumentAnalyzer
- Returns:
- a list of
AdvancedSignature
s
-
buildJwsJsonSerializationObject
Description copied from class:AbstractJWSDocumentAnalyzer
Builds aJWSJsonSerializationObject
- Specified by:
buildJwsJsonSerializationObject
in classAbstractJWSDocumentAnalyzer
- Returns:
JWSJsonSerializationObject
-