Skip to content

Type Alias: KeyHolderCheck

TypeScript
type KeyHolderCheck = 
  | {
  status: "unchecked";
}
  | {
  status: "unread";
}
  | {
  read?: "partial";
  reason: string;
  status: "accepted";
};

Defined in: pledge-core/src/key-holder.ts:23 (opens in a new tab)

SPEC §11 item 16: unchecked when no judge was passed or there is no signature to judge, unread when the signer's records could not be read in full, which is not a refusal and makes the state unchecked, else the judge's acceptance. A refusal fails the envelope's check.