Desktop Browser Integration

Invoke SecureSign Desktop Software from desktop browsers using the securesign:// deep link — same protocol as mobile.

Overview

Desktop browsers on Windows, Linux, and macOS use the same securesign://sign deep link as mobile. Your portal redirects the browser to the deep link; the OS opens SecureSign Desktop Software, which handles token access, PIN, and signing. The signed result returns to your callbackUrl.

No localhost API

Integrators do not call 127.0.0.1 or any local HTTP port from the browser. Signing is always initiated via the deep link handoff, identical to the mobile browser flow.

Use the same query parameters as mobile. Set documentType to hash, pdf, or xml as needed.

securesign://sign?requestId={uuid}&hashBase64={sha256}&hashAlgo=SHA256&documentType=hash&callbackUrl={encoded}&apiKey={ss_live_xxx}

JavaScript example

const params = new URLSearchParams({
  requestId: crypto.randomUUID(),
  hashBase64: sha256Base64,
  hashAlgo: 'SHA256',
  documentType: 'hash',
  callbackUrl: 'https://portal.example.gov.in/sign/callback',
  apiKey: 'ss_live_abc123xyz'
});
window.location.href = `securesign://sign?${params}`;

Full specification: Deep Link Protocol. Step-by-step flow: Desktop Browser Flow.

Installation

  • Windows: Download installer from Admin Console → Downloads
  • Linux: sudo apt install securesign-desktop
  • macOS: brew install --cask securesign-desktop

SecureSign Desktop Software must be installed and running in the background before the user signs. Register the custom URL scheme during install so securesign:// opens the software.

Common Error Callbacks

CodeMeaningAction
SS_APP_NOT_INSTALLEDDesktop Software not installedPrompt user to install from Admin Console
SS_DESKTOP_SOFTWARE_NOT_RUNNINGSoftware installed but not runningAsk user to start SecureSign Desktop Software
SS_TOKEN_NOT_FOUNDNo DSC token detectedAsk user to connect USB token
SS_SIGN_CANCELLEDUser cancelled signingAllow retry