# Sign Verifiable Credentials

Tonomy ID enables users to **sign and verify W3C Verifiable Credentials** and **digitally sign documents** (e.g., PDFs) using their **self-sovereign identity**. This ensures **tamper-proof authentication** for **identity verification, attestations, and legally binding agreements**.

### Sign a W3C verifiable credential

```typescript
const vc = await user.signVc("https://example.com/example-vc/1234", "NameAndDob", {
    name: "Joe Somebody",
    dob: new Date('1999-06-04')
});

const verifiedVc = await vc.verify();
```

**Why use it?**

* Build **trust-based apps** requiring **proof of identity** or **qualifications**

### Sign a document

{% hint style="info" %}
**COMING SOON**\
(Support for document signing will be available in a future update.)
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tonomy.io/build-web4-apps/usage/sign-verifiable-credentials.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
