Digital Signatures in Apps: Aadhaar eSign, DSC and Click-to-Sign

Digital Signatures in Apps: Aadhaar eSign, DSC and Click-to-Sign — cover image

Most growing businesses still run a surprising amount of paperwork through a printer. A sales agreement gets emailed as a PDF, printed by the client, signed in pen, scanned on a phone and sent back as a slightly crooked image. Somebody on your team then renames the file, uploads it to a shared drive and hopes they can find it again during the next audit. Multiply that by every vendor contract, employee offer letter, loan agreement and customer declaration, and you have a slow, fragile process sitting right in the middle of revenue.

Adding digital signatures directly inside your web or mobile app removes that loop. The customer reads the document, signs it in a few taps, and the signed file plus its evidence trail land exactly where your system needs them. In India you have more options than most founders realise: Aadhaar eSign, Digital Signature Certificates (DSC) on USB tokens, and simpler click-to-sign flows backed by strong audit logs. Each one fits a different risk level and user type.

This guide explains how each method works, when to use which, and how to build a signing workflow that is secure, legally defensible and pleasant to use. It is written for founders, product managers and operations heads who want to stop chasing paper without creating a compliance headache.

Three Ways to Sign: Understanding Your Options

Before writing a line of code, it helps to separate the signing method from the signing workflow. The method decides how the signer proves who they are and how the signature is cryptographically attached. The workflow decides who signs, in what order, with what reminders, and what happens after.

1. Aadhaar eSign

Aadhaar eSign is an online electronic signature service where the signer authenticates using their Aadhaar number and an OTP sent to their linked mobile (or biometrics in assisted settings). An eSign Service Provider (ESP), empanelled by the Controller of Certifying Authorities, generates a short-lived signing certificate and applies the signature to a hash of your document. The signer never needs a physical token, which makes it ideal for consumers and small business owners who sign occasionally.

Typical uses include customer onboarding forms, rental and service agreements, loan documents for lenders and NBFCs, insurance proposals and employee offer letters.

2. Digital Signature Certificates (DSC)

A DSC is a certificate issued by a licensed Certifying Authority and usually stored on a USB cryptographic token. Directors, chartered accountants and procurement teams already use DSCs for GST returns, company filings and government tenders. If your users are professionals who already own a DSC, letting them sign inside your app with that same token feels natural.

The catch is technical. Browsers cannot talk to USB tokens directly, so DSC signing needs a small desktop utility or signing bridge installed on the user's machine. That adds setup friction, which is acceptable for a CA firm portal but not for a consumer app.

3. Click-to-Sign with an Audit Trail

Click-to-sign is what most global e-signature tools offer by default: the signer verifies their email or phone with an OTP, draws or types a signature, and the system records who did what, when, from where, on which exact version of the document. The strength of this method comes from the evidence you capture, not from a certificate on the signer's side.

For internal approvals, order confirmations, NDAs and terms acceptance, this is often the fastest and cheapest path. For higher-stakes documents, you can layer Aadhaar eSign or DSC on top for specific signers.

A practical rule: match the signing method to the cost of a dispute. The more money or regulatory exposure a document carries, the stronger the identity proof you want attached to it.

A Quick Note on Legal Validity

The Information Technology Act, 2000 gives legal recognition to electronic records and electronic signatures, and Aadhaar eSign and DSC based signatures fall under the recognised techniques. The Act also lists certain documents that cannot be executed electronically, such as wills, trusts, powers of attorney and contracts for sale or conveyance of immovable property. Courts and regulators also look at the overall evidence: who signed, how they were identified, and whether the document was altered afterwards.

This article is a technical guide, not legal advice. Before you go live, have your legal advisor confirm which method each document type needs. Building the system so that the method can be changed per template, without new code, saves you from rework when that advice evolves.

Real-World Example: A Lending Startup Moves Agreements Online

Consider an illustrative scenario. A small lender in Gujarat disburses equipment loans to shop owners. Today, a field agent visits the borrower, collects signatures on a printed loan agreement and a sanction letter, photographs the pages and couriers the originals to the head office. Disbursement waits until the courier arrives, which can take several days for remote towns.

With an in-app signing flow, the process could look like this:

In a scenario like this, the turnaround from approval to disbursement could shrink from days to the same afternoon, and the field agent's visit becomes optional rather than mandatory. Just as importantly, every step leaves a timestamped, tamper-evident record that the compliance team can pull during an inspection.

If you are building in this space, our fintech product development work covers the surrounding pieces like KYC, loan management and repayment tracking.

Step-by-Step: Building a Signing Workflow Into Your App

Here is the process we recommend for adding signatures to a web or mobile product. It works whether you integrate a third-party provider or build parts of the pipeline yourself.

Step 1: Inventory Your Documents and Signers

List every document that currently needs a signature. For each one, note who signs (customer, co-applicant, guarantor, internal approver, vendor), in what order, how often it happens and what a dispute would cost. This table becomes your requirements document and tells you which signing method each template needs.

Step 2: Choose Providers for Each Method

For Aadhaar eSign you will integrate with an empanelled ESP or an aggregator that wraps several ESPs behind one API. For DSC, you need a signing utility that your users install once. For click-to-sign, you can use a global e-signature platform or build it yourself if your volumes and compliance needs justify that. Compare providers on per-signature pricing, uptime history, webhook support, sandbox quality and whether they return the signed PDF or only a reference.

Step 3: Generate Documents From Templates

Signing starts with a clean, final PDF. Generate it server-side from a template with merge fields, lock the content, and compute a hash before sending it for signature. If you already produce invoices or certificates, the same pipeline can be reused; our guide to PDF generation for invoices, reports and certificates covers the template and rendering choices in detail.

Step 4: Model the Signing Envelope

Create an "envelope" object in your database that holds the document, the list of signers, their order, their chosen method, status for each signer, expiry date and reminder settings. Treat this like a small state machine: draft, sent, partially signed, completed, declined, expired. Clear states make reminders, dashboards and reporting straightforward.

Step 5: Build the Signer Experience

The signer screen decides your completion rate. Keep it mobile first. Show a plain-language summary of key terms at the top, let users scroll the full document, then present one clear action. For Aadhaar eSign, explain upfront that an OTP will go to the mobile linked with their Aadhaar, because users whose linked number has changed are a common drop-off point. Offer a fallback path, such as switching to an assisted flow, instead of a dead end.

Step 6: Handle Callbacks Reliably

Providers notify you of signature events through webhooks or redirects. Verify signatures on those callbacks, store the raw payload, and process them idempotently so a retried webhook never marks a document as signed twice or triggers a second disbursement. Our article on webhook retries and signature verification explains the patterns that keep this safe.

Step 7: Store, Hash and Log Everything

Save the final signed PDF in encrypted object storage with versioning enabled. Store its hash in your database so you can prove later that the file has not changed. Write every event (document created, sent, viewed, OTP requested, signed, declined, downloaded) to an append-only audit log with timestamp, IP address, user agent and user ID.

Step 8: Test the Unhappy Paths

Test expired links, a signer who declines, a co-signer who never responds, provider downtime, OTP failures and a document edited after the first signature. Each one should land in a clear state with a clear next action for your operations team.

Security and Privacy Considerations

Signing workflows handle sensitive data: identity numbers, contact details and the contents of legal documents. A few principles keep you on the right side of both users and regulators:

Key Benefits of In-App Digital Signatures

Common Mistakes to Avoid

Conclusion

Digital signatures are one of those upgrades that quietly change how a business feels to its customers. The contract that used to take a week now takes an afternoon, and your team stops spending energy on scanning and filing. The key is to choose the right method for each document: Aadhaar eSign for consumers and small business owners, DSC for professionals who already carry tokens, and click-to-sign with a strong audit trail for everyday approvals.

Build the workflow around a clear envelope model, reliable webhooks, careful storage and an append-only log, and you will have a signing system that scales with your volume and stands up to scrutiny. If you are planning a product that depends on agreements, Mavani's web application development team can help you design the flow, pick providers and integrate signing cleanly into the rest of your platform.

Frequently Asked Questions

Is Aadhaar eSign legally valid for business documents in India?
Aadhaar based eSign is one of the electronic signature methods recognised under the Information Technology Act, 2000, and it is offered through eSign Service Providers empanelled by the Controller of Certifying Authorities. It is widely used for agreements, onboarding forms and declarations. Some document types, such as wills and certain property transfer deeds, are excluded from electronic signing under the Act, so check with your legal advisor for your specific use case.
What is the difference between Aadhaar eSign and a DSC token?
Aadhaar eSign creates a one-time signing certificate after OTP or biometric authentication, so the signer needs nothing except an Aadhaar-linked mobile number. A Digital Signature Certificate (DSC) is a longer-lived certificate stored on a USB token, typically used for GST, MCA filings and tenders. DSC signing needs a local utility or browser bridge to access the token.
Can I just use a checkbox and typed name instead of a formal eSign?
For many low-risk documents like internal approvals, terms acceptance or simple service orders, a click-to-sign flow with a strong audit trail is often enough. For high-value contracts, lending, or documents a regulator may examine, a recognised electronic signature such as Aadhaar eSign or DSC gives stronger evidence. Your legal advisor should decide the threshold.
How long does it take to add document signing to an existing app?
It depends on the provider and the workflow. A single-signer flow using a provider API can often be integrated in a few weeks, while multi-party signing with templates, reminders, DSC support and a full audit trail typically takes longer. Mavani scopes this after reviewing your document types and signer journeys.
Where should signed documents be stored?
Store signed PDFs in encrypted object storage with versioning enabled, keep a hash of each final file in your database, and record every signing event in an append-only audit log. Restrict download access by role and follow your data retention policy so signed records are kept as long as the law or contract requires.