The REST interface offered by SWS is exposed at the path:
http://<IP-APPLIANCE>:8080/SignEngineWeb/rest/ |
This path is composed by other sub-path for every of purpose:
And in this guid will be described how manage the error generated by the REST interface.
Description | return the certifcate associated to "device_signer" | |
HttpMethod | POST | |
---|---|---|
Path | /rest/enquiry/certificate | |
Request |
| |
Response | return the byte array of certificate associated to device_signer |
ENQUIRY: signatures
Description | return the numer of signatures apposed from "device_signer" | |
HttpMethod | POST | |
---|---|---|
Path | /rest/enquiry/signatures | |
Request |
| |
Response |
Description | return the number of signatures which "device_signer" can apply | |
HttpMethod | POST | |
---|---|---|
Path | /rest/enquiry/signatures/available | |
Request |
| |
Response |
Description | return the otp list associated to "device_signer" | |
HttpMethod | POST | |
---|---|---|
Path | /rest/enquiry/otps | |
Request |
| |
Response |
|
Description | return the numeber of timestamp available (valid only for Namirial TSA account) | |
HttpMethod | POST | |
---|---|---|
Path | /rest/enquiryt/timestamps/available | |
Request |
| |
Response |
Description | return the error description associated to error code | |
HttpMethod | POST | |
---|---|---|
Path | /rest/enquiry/errors | |
Request |
| |
Response |
|
Description | remove the certificate from cache of SWS | |
HttpMethod | PUT | |
---|---|---|
Path | /rest/admin/remove-certificate-from-cache | |
Request |
| |
Response |
Description | permits to apply timestamp on specified file | |
HttpMethod | POST | |
---|---|---|
Path | /rest/timestamps/apply | |
Request |
| |
Response |
Description | permits to change the password associated to device signer | |
HttpMethod | POST | |
---|---|---|
Path | /rest/user/change-password | |
Request |
| |
Response |
Description | permits to open the sessione for apply multiple sign with remote device | |
HttpMethod | POST | |
---|---|---|
Path | /rest/sign/openSession | |
Request |
| |
Response |
Description | permits to destroy the session | |
HttpMethod | POST | |
---|---|---|
Path | /rest/sign/openSession | |
Request |
| |
Response |