interface · Browser and Node

# StatusListDoc

A signed revocation list: one bit per credential index. Our own format, after the W3C Bitstring Status List.

`@toip-tools/trust-core` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/trust-core/src/statusList.ts#L8)

Import:

```ts
import { type StatusListDoc } from "@toip-tools/trust-core";
```

## Declaration

interface:

```ts
interface StatusListDoc {
  id: string;
  type: "status-list";
  issuer: string;
  issuedAt: string;
  length: number;
  bits: string;
  proof?: Proof;
}
```

## Properties

- **`id` (required)**: `string`
- **`type` (required)**: `"status-list"`
- **`issuer` (required)**: `string`
- **`issuedAt` (required)**: `string`
- **`length` (required)**: `number`
- **`bits` (required)**: `string`
- **`proof` (optional)**: `Proof | undefined`

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

---

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