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
ConstructorsConstructorDescriptionEmpty constructorJWSSerializationAnalyzerValidator(DSSDocument document) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected JWSJsonSerializationObjectBuilds aJWSJsonSerializationObjectprotected List<AdvancedSignature> This method build a list of signatures to be extracted from a documentbooleanisSupported(DSSDocument document) Checks if the document is supported by the current validatorMethods inherited from class eu.europa.esig.dss.jades.validation.AbstractJWSDocumentAnalyzer
getJwsJsonSerializationObject, getOriginalDocuments, getSignaturePolicyValidatorLoaderMethods 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-DSSDocumentto validate
-
-
Method Details
-
isSupported
Description copied from interface:DocumentAnalyzerChecks if the document is supported by the current validator- Parameters:
document-DSSDocumentto check- Returns:
- TRUE if the document is supported, FALSE otherwise
-
buildSignatures
Description copied from class:DefaultDocumentAnalyzerThis method build a list of signatures to be extracted from a document- Overrides:
buildSignaturesin classDefaultDocumentAnalyzer- Returns:
- a list of
AdvancedSignatures
-
buildJwsJsonSerializationObject
Description copied from class:AbstractJWSDocumentAnalyzerBuilds aJWSJsonSerializationObject- Specified by:
buildJwsJsonSerializationObjectin classAbstractJWSDocumentAnalyzer- Returns:
JWSJsonSerializationObject
-