function · Browser and Node

# curveOf

`@toip-tools/cose` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/cose/src/signers.ts#L29)

Import:

```ts
import { curveOf } from "@toip-tools/cose";
```

## Declaration

Signature:

```ts
curveOf(alg: CoseAlg): Curve;
```

### Parameters

- **`alg` (required)**: `CoseAlg`

### Returns

`Curve`

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

---

This is the Markdown version of https://toip.tools/toolkit/cose/api/curveOf/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
