You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 33 Next »

Signature creation and validation service API's

Signature creation and validation service (SignAPI) hosts:

EnvironmentHost <SignAPI_base_url>
Testsignapi-prep.eparaksts.lv
Productionsignapi.eparaksts.lv

Signature creation and validation service API's overview

Session API

Description

Signature creation and validation service API's (SignAPI) work is based on sessions.

Received session identifier shall be used in all future requests as reference to a specific set of files.

signAPI provides session storage on a perpetual basis and is used as an identifier for a particular file or set of files.

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 URL

/api-session/v1.0/
MethodEndpointDescription
GET
start
Data processing session creation
GET
{sessionId}/close
Closing data processing session

Storage API

/api-storage/v1.0/
MethodEndpointDescription
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}/addDocumentDigestAdd file digest and file name for signing.

Signing API

/api-sign/v1.0/
MethodEndpointDescription
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

/api-validation/v1.0/
MethodEndpointDescription
GET
{sessionId}/{documentiId}/validate
Validation of signed file

Configuration API

/api-config/v1.0/
MethodEndpointDescription
GET Retrieve Service provider's configuration
  • No labels