...
Parakstu izveides un validācijas servisa API pārskats
Signature creation and validation service (SignAPI) hosts:
Description
Signature creation and validation service API's (SignAPI) work is based on sessions.
...
Service providers only need to retrieve the session identifier once and Service provider shall save session identifier with the parameters of a related particular file or set of files.
Session API
Code Block |
---|
theme | Eclipse |
---|
title | Session API URL |
---|
|
/api-session/v1.0/ |
Operations
Method | Endpoint | Description |
---|
GET | start | Data processing session creation |
GET | {sessionId}/close | Closing data processing session |
Storage API
Code Block |
---|
theme | Eclipse |
---|
title | Storage API URL |
---|
|
/api-storage/v1.0/ |
Operations
Method | Endpoint | Description |
---|
PUT | {sessionId}/upload | Upload file |
GET | {sessionId}/list | Retrieve file list in specific session |
GET | {sessionId}/{documentiId} | Download file |
DELETE | {sessionId}/{documentiId} | Delete file |
POST | {sessionId}/addDocumentDigest | Add file digest and file name for signing. |
Signing API
Code Block |
---|
theme | Eclipse |
---|
title | Signing API URI |
---|
|
/api-sign/v1.0/ |
Operations
Method | Endpoint | Description |
---|
POST | calculateDigest | Signable data calculation. |
POST | finalizeSigning | Signed document finalization. |
POST | addArchive | Archive timestamp requesting. |
POST | eSealCreate | Creates electronic seal with client provided electronic seal key. |
Validation API
Code Block |
---|
theme | Eclipse |
---|
title | Validation API URI |
---|
|
/api-validation/v1.0/ |
Operations
Method | Endpoint | Description |
---|
GET | {sessionId}/{documentiId}/validate | Validation of signed file |
Configuration API
Code Block |
---|
theme | Eclipse |
---|
title | Configuration API URI |
---|
|
/api-config/v1.0/ |
Operations
Method | Endpoint | Description |
---|
GET |
| Retrieve Service provider's configuration |
...