interface · Browser and Node

# VerifyOptions

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

Import:

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

## Declaration

interface:

```ts
interface VerifyOptions {
  /** Default: all five algorithms. */
  allowedAlgs?: CoseAlg[];
  /** Origins a -65600 signature may come from. Required for -65600. */
  webauthnOrigins?: string[];
  externalAad?: Uint8Array;
}
```

## Properties

**`allowedAlgs` (optional)**

`CoseAlg[] | undefined`

Default: all five algorithms.

**`webauthnOrigins` (optional)**

`string[] | undefined`

Origins a -65600 signature may come from. Required for -65600.

**`externalAad` (optional)**

`Uint8Array<ArrayBufferLike> | undefined`

[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/VerifyOptions/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
