Signature creation and validation service API's overview

Signature creation and validation service (SignAPI) hosts:

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

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

/api-session/v1.0/

Operations

MethodEndpointDescription
GET
start
Data processing session creation
GET
{sessionId}/close
Closing data processing session

Storage API

/api-storage/v1.0/

Operations

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}/addDocumentDigest
Add file digest and file name for signing.

Signing API

/api-sign/v1.0/

Operations

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/

Operations

MethodEndpointDescription
GET
{sessionId}/{documentiId}/validate
Validation of signed file

Configuration API

/api-config/v1.0/

Operations

MethodEndpointDescription
GET
Retrieve Service provider's configuration