---
title: "Full samples"
description: "Two full Web PKI samples, one with jQuery and one with AngularJS, that call a server to digitally sign a PDF instead of signing hardcoded dummy bytes."
canonical: "https://docs.lacunasoftware.com/en-us/articles/web-pki/full-samples"
locale: "en"
product: "Web PKI"
last_updated: "2026-07-29"
---

# Full samples

Below you'll find two examples -- one with jQuery and the other with AngularJS -- without the simplifications of the example shown on the [Get started](https://docs.lacunasoftware.com/en-us/articles/web-pki/get-started)
article. These example showcase a usage of the Web PKI component that is closer to real-life situations. On them, instead of signing hardcoded dummy bytes, we make
AJAX calls the server at webpki.lacunasoftware.com in order to interoperate with our SDK to digitally sign a PDF, as described in the [introduction](https://docs.lacunasoftware.com/en-us/articles/web-pki).

[Embedded content](https://jsfiddle.net/LacunaSoftware/8svnc9Ly/embedded/)

[Embedded content](https://jsfiddle.net/LacunaSoftware/jmr0jeej/embedded/)

> **Note**
>
> If you don't have an SDK for dealing with digital certificates and signatures, you may use the [Lacuna PKI SDK](https://docs.lacunasoftware.com/en-us/articles/pki-sdk).
> [Contact us](https://www.lacunasoftware.com/en/home/purchase) for licensing information.
