Git Product home page Git Product logo

Comments (8)

bsanchezb avatar bsanchezb commented on June 17, 2024

Hello,

Advanced digital signatures are quite complex and DSS creates them in 3 steps (see documentation). Therefore, it is not a good idea to provide a command-line interface for signatures creations, as it will be not very user-friendly.
You can try to use a standalone application, if you find the webApplication not comfortable.

Best regards,
Aleksandr.

from dss-demonstrations.

AdrianRodriguezLlave avatar AdrianRodriguezLlave commented on June 17, 2024

Hello @bsanchezb,

You can use the command line interface, the same way you use an API. This 3 steps can be called by another application or a script. With command line interface you don't need to deploy an API, you can use the signature app the same way you use the standalone application but without user interface.
With a command line tool, another app can sign or verify signatures from pdf, xml, ... and you don't need to install Apache or other stuff to deploy a Web API.

I found it very usefull, because i was using a similar application called "clienteafirma" from spanish goverment but this tool do not have updated the signatures to new versions:
https://github.com/ctt-gob-es/clienteafirma
https://github.com/ctt-gob-es/clienteafirma/tree/master/afirma-simple

An usecase: Suposse you need to do a batch signature and make another thing after sign those document. With a command line tool you can make a script to do all this process. Of couse you can call to the API, but sometine deploy an API is too much for a simple operation.

Thank you for the great work.

from dss-demonstrations.

stepel avatar stepel commented on June 17, 2024

Hello,

how I can use standalone application but without user interface? Is there any place where I can find example ?

from dss-demonstrations.

bsanchezb avatar bsanchezb commented on June 17, 2024

Hello @stepel ,

Perhaps, instead of standalone application or a web application, you may use the source code of the library directly: https://github.com/esig/dss.
You can find some code examples in the cookbook.
As well as check out the documentation: https://dss.nowina.lu/doc/dss-documentation.html

Best regards,
Aleksandr.

from dss-demonstrations.

stepel avatar stepel commented on June 17, 2024

@bsanchezb, thanks for your advice. I will check it but generally I am not java developer so I need to spend some time to know better your code.
I am preparing something in different language (Delphi) and two other libraries doesn't sign my xml in a good way. Only your standalone application does it properly :) Maybe this is a good way to try to make little simple application to sign what I need using your source code. Thanks

from dss-demonstrations.

bsanchezb avatar bsanchezb commented on June 17, 2024

@stepel , then you could try to use REST or SOAP API service for signature creation/validation. As a demo, they are provided within dss-demo-webapp with code examples in integration-tests.
Please also have a look on Postman and SoapUI application examples.

Additional information about REST and SOAP services you can also find in the documentation, I have provided you with a link above.

Best regards,
Aleksandr.

from dss-demonstrations.

stepel avatar stepel commented on June 17, 2024

@bsanchezb

Thank you I saw it before but I have made very simple application already in Java using dss library to sign what I need. Thank you for your help :)

from dss-demonstrations.

dagnelies avatar dagnelies commented on June 17, 2024

+1

A command line example would be great to:

  • have something you can try out directly out of the box (since all web demos rely on the outdated unsupported NexU)
  • a concise way to illustrate how to exactly use this framework/library
  • a way to easely integrate it in non-java programs

from dss-demonstrations.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.