[SANTUARIO-615] Implementation pre-post processing extension with xades (basic) example.#299
[SANTUARIO-615] Implementation pre-post processing extension with xades (basic) example.#299jrihtarsic wants to merge 2 commits intoapache:mainfrom
Conversation
|
Hi @coheigea |
|
@jrihtarsic Sorry, I thought the PR was abandoned. How complete is the existing PR? It needs to be rebased off the latest code. |
|
@coheigea Before updating the code, I’d like to briefly discuss the implementation approach. The main change in this PR is the introduction of pre‑ and post‑signature processor interfaces (see XMLSignature and SignatureProcessor). My first question is whether the pre‑ and post‑signature processor interfaces look acceptable to you, and whether you see any potential security risks in this approach. From development perspective it would be a great addition. Regarding XAdES |
The purpose of this PR is to present the proposals [SANTUARIO-615] for the pre/post processor for the signatures.
The use case is the request for XAdES support as requested in SANTUARIO-402 and SANTUARIO-416. The use-case already supports (Basic Signatures profile) and (with the right certificate) it pass the validation by EC DSS tool:
https://ec.europa.eu/digital-building-blocks/DSS/webapp-demo/validation
Please note that for "composing" the "XAdES" data, the generated jaxb objects are used from the xades scheme v1.4.1 and v1.3.2.
This is a experimental PR to discuss/verify the following architectural approaches for the XAdES: