Signature extension operations

The signature extension operations process for a user requires the following steps:

  • Client system authentication.
  • Make the signature extension request

The following sections of the process are described below.

Client system authentication

To perform signature operations provided by Viafirma Fortress, it is necessary to obtain a token associated with the client.

To do this, Viafirma Fortress offers the following Rest method , available at:

{viafirma_fortress_url}/oauth2/v1/token

Where:

This URL receives a series of parameters, which configure and prepare the Signature request made by a client:

{viafirma_fortress_url}/oauth2/v1/token?
scope = client&
redirect_uri={ url_returned_defined_in_viafirma_fortress}&
client_id={client_code_defined_in_viafirma_fortress}&
client_secret={client_key_defined_in_viafirma_fortress}&
grant_type=client_credentials
Parameter Value Description
scope client For services associated with document signing.
redirect_uri URL It must match one of the return URLs defined in Viafirma Fortress
client_id Client ID It is defined in Viafirma Fortress and identifies the client application that is making the request
client_secret Client key Allows the client application to validate that the request has been made
grant_type client_credentials Indicates that the client requests access to protected resources under its control

As a result, Viafirma Fortress will return an object in application / json format with the access token information associated with the client.

{
    "access_token": "1479cc2592a84cfb83c01402df613d01",
    "token_type": "Bearer",
    "expires_in": 3599
}

Signature extension request

With the client system token obtained from the previous call, the client will call the /extend method of Viafirma Fortress, providing it with the necessary information to extend the signature of a document previously digitally signed by the user.

In the next section you will find a detailed description of the extend method, as well as the parameters it receives.

Once the information has been processed, Viafirma Fortress will return to the client system an object in application/json format , composed of a reference and the base 64 bytes of the signed document.

{
"ref": "d8e3d98dc20e46188fd067df28048934",
"bytesB64": "MIMBKM8GCSqGSIb3DQEHAqCDASi/MIMBKLoCAQUxDzANBglghkgBZQMEAgEFADCC1QsGCSqGSIb3DQEHAaCC1PwEgtT4JVBERi0xLjMKJcTl8uXrp..."
}

results matching ""

    No results matching ""