Skip to content

Commit

Permalink
Merge branch 'main' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdan Mocanu committed May 7, 2021
2 parents 595a4c3 + 45b935a commit cb29de0
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 7 deletions.
Binary file added Demo_Video_PDFBox client vs. old iText Client.mp4
Binary file not shown.
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,23 @@ A Java client library for using the [Swisscom All-in Signing Service (AIS)](http
to sign and/or timestamp PDF documents. The library can be used either as a project dependency or as a command-line tool for batch operations.
It relies on the [Apache PDFBox](https://pdfbox.apache.org/) library for PDF processing.

## Demo Video: PDFBox Client vs. old iText Client

* https://swisscom-my.sharepoint.com/:v:/p/mike_sauerer/EWG7R_eMLh5Fk-zfgpmkYpwBzw91gfNLOrnTi01XBhNJ_A?e=iCKZUi

or alternativelly if you cannot access the first link, you need to download the raw video file using the following link.

* https://github.com/SwisscomTrustServices/pdfbox-ais/blob/main/Demo_Video_PDFBox%20client%20vs.%20old%20iText%20Client.mp4

## Getting started

To start using the Swisscom AIS service and this client library, do the following:
1. [Get authentication details to use with the AIS client](docs/get-authentication-details.md).
2. [Build or download the AIS client binary package](docs/build-or-download.md)
3. [Configure the AIS client for your use case](docs/configure-the-AIS-client.md)
4. Use the AIS client, either [programmatically](docs/use-the-AIS-client-programmatically.md) or from the [command line](docs/use-the-AIS-client-via-CLI.md)

1. Read the most frequent asked question when doing a POC. https://github.com/SwisscomTrustServices/AIS-Postman-Samples/blob/main/docs/Q-%26-A-all-topics-English.md
3. [Get authentication details to use with the AIS client](docs/get-authentication-details.md).
4. [Build or download the AIS client binary package](docs/build-or-download.md)
5. [Configure the AIS client for your use case](docs/configure-the-AIS-client.md)
6. Use the AIS client, either [programmatically](docs/use-the-AIS-client-programmatically.md) or from the [command line](docs/use-the-AIS-client-via-CLI.md)

Other topics of interest might be:
* [On PAdES Long Term Validation support](docs/pades-long-term-validation.md)
Expand Down
10 changes: 7 additions & 3 deletions docs/get-authentication-details.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ This section walks you through the process. For reference, you can have a look
at the documentation available for [Swisscom Trust Services (AIS included)](https://trustservices.swisscom.com/en/downloads/) and, more specifically, to the
[Reference Guide for AIS](http://documents.swisscom.com/product/1000255-Digital_Signing_Service/Documents/Reference_Guide/Reference_Guide-All-in-Signing-Service-en.pdf).

The authentication between an AIS client and the AIS service relies on TLS client authentication. Therefore, you need a certificate
that is enrolled on the Swisscom AIS side. For these steps, a local installation of [OpenSSL](https://www.openssl.org/) is needed
(for Windows, the best option is to use the one that comes with GIT for Windows (see _<git>/usr/bin/openssl.exe_)).
# AIS Test Account
* Using the following link you can request a free All-in Signing Service test account, which is valid for 90 days:
* http://documents.swisscom.com/product/filestore/lib/920aa2d3-d413-4776-8630-5ee9b06587b7/OrderTestaccount-en.pdf
* The authentication between an AIS client and the AIS service relies on TLS client authentication.
* Therefore, you need a certificate that is enrolled on the Swisscom AIS side.
* For these steps, a local installation of [OpenSSL](https://www.openssl.org/) is needed.
* Note, for Windows users, the best option is to use the one that comes with GIT for Windows (see _<git>/usr/bin/openssl.exe_)).

Generate first a private key:
```shell
Expand Down

0 comments on commit cb29de0

Please sign in to comment.