function · Browser and Node

# tspSignatureValid

Checks the TSP signature, so a mesh node can drop forgeries and tag collisions before delivery.

`@toip-tools/mesh-transport` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/mesh-transport/src/tsp.ts#L64)

Import:

```ts
import { tspSignatureValid } from "@toip-tools/mesh-transport";
```

## Declaration

Signature:

```ts
tspSignatureValid(p: TspParts, signingKey: Uint8Array): boolean;
```

### Parameters

- **`p` (required)**: `TspParts`
- **`signingKey` (required)**: `Uint8Array<ArrayBufferLike>`

### Returns

`boolean`

[Usage guide](https://toip.tools/toolkit/mesh-transport/#usage) · [Error handling](https://toip.tools/toolkit/mesh-transport/#errors) · [All exports](https://toip.tools/toolkit/mesh-transport/api/)

---

This is the Markdown version of https://toip.tools/toolkit/mesh-transport/api/tspSignatureValid/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
