Skip to content

AuditSigner

Defined in: src/integrity.ts:499

Signs checkpoints. Implement your own (KMS, HSM) or use the built-ins.

Property Type Defined in
alg "Ed25519" | "HS256" src/integrity.ts:501
keyId string src/integrity.ts:500
publicJwk?(): Promise<JsonWebKey | null>;

Defined in: src/integrity.ts:504

The public verification key as a JWK (asymmetric signers only), for the JWKS route.

Promise<JsonWebKey | null>


sign(data): Promise<Uint8Array<ArrayBufferLike>>;

Defined in: src/integrity.ts:502

Parameter Type
data Uint8Array

Promise<Uint8Array<ArrayBufferLike>>


verificationKey(): Promise<AuditVerificationKey>;

Defined in: src/integrity.ts:506

A verification key for this signer (used by core.verify).

Promise<AuditVerificationKey>