If you can make a XAdES-BES signature with Java, this project is for you!
Below, the full requirements.
For an integration with a government system, I need to sign XML files in a way that complies to XAdES-BES as defined in the ETSI TS 101 903 version 1.4.1 specification. Such singature must be in "enveloped" mode, and Reference objects must have URI="". Signature must include the attribute "signing time" as well.
I would like a function that receives the unsigned XML as a string, applies the signature and returns the signed XML as a string. To perform the signature, the function must load certificate/key from a keystore, and the path to that keystore must be provided as parameter of the function.
That function must be implemented as static method "applySignature" in a class named "Signer". Such class must be packaged in "[login to view URL]" and implement the SignerInterface interface, which is attached.
The signature must comply to the XAdES-BES specification, as defined above, and use RSA-SHA256 method for the signature and SHA256 for the digests. The signature should contain three reference: one to the whole document named reference-document, one to the signed properties named reference-signedproperties and one to the KeyInfo named reference-keyinfo. In attachment, you find a signed file as an example.
As part of the project, you will have do write JUnit tests for this function and provide them as deliverable together with the function and class itself.
The application currently runs on Java 8, but Java 7+ support is desired. Use of xades4j is welcomed (but not a requirement).
For the project to be completed, the signature applied must be valid. I use this tool to verify that: [login to view URL] (you have in attachment the report of a XML file that was succesfully signed).
Inattachment, you find:
- [login to view URL] is the Interface you must implement in your class
- [login to view URL] is an XML file where the signature is valid
- [login to view URL] is the report obtained from that: [login to view URL] of [login to view URL]
- [login to view URL] is also a report obtained from that: [login to view URL] of [login to view URL]
- [login to view URL] is the XML I have managed to generate so far, where the signature is not valid
- [login to view URL] the diagnostic from [login to view URL]
- [login to view URL] the report from [login to view URL]
- [login to view URL] is my current NON WORKING implementation that generates [login to view URL]
If you read and understood this project, please write VANILLA at the beginning of your proposal. Any request not including that will be discarded
VANILLA Hello sir. As a Java expert I would gladly implements your XML signature static method according to your requirements. Since the project specification is really clear I can start ASAP !
Bu iş için 9 freelancer ortalamada €170 teklif veriyor
Hi I'm an expert. If you hire me, i won't let you down. I can provide you all these things with unlimited revisions till the satisfactorily completion of [login to view URL] you
VANILLA Hello How are you? I am a Java expert and I have rich experiences of Java development. So I am sure I can do this project perfectly. Please message me and discuss more. I will wait your good reply. Thanks
VANILLA Hello I am very much interested to work on this project. but I have some questions about it. Please send me a message so that we can discuss more. Thanks.