Click here to Skip to main content
15,888,527 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i am trying to digitally sign a xml but i am confused weather to use java or c# what would be a better to use in this case my requirements is:

files will be digitally signed using the PKCS7 standard. This provides authentication and message integrity.

What I have tried:

i am confused between c# and java
Posted
Updated 25-Jul-22 14:40pm
v2
Comments
PIEBALDconsult 25-Jul-22 19:40pm    
I don't think you can sign XML.

1 solution

If this is about encrypting the data for authenticity, in my opinion (although I would pick C# any time of the day, week, or year, for that matter!) I recommend finding a library in either of these languages/frameworks. A library would make your life easier.

If you do find one, then the language does not matter. It matters if you are going to code it yourself. If you need to code it yourself, go with C#.

.NET is a stable platform, while Java folks are still confused about Java SE, EE, Spring, Jakarta, etc. The irony is if something works with one thing, it does not guarantee to work in the other.

Note: The same is true for C#, but not as bad as with Java.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900