type · Browser and Node

# CoseFailure

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

Import:

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

## Declaration

type:

```ts
type CoseFailure = "malformed" | "algNotAllowed" | "keyMismatch" | "signatureInvalid" | "webauthnChallenge" | "webauthnOrigin" | "webauthnFlags";
```

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