Skip to content

SignedTimestampOptions

SignedTimestampOptions = object

Defined in: src/codecs/signed/index.ts:38

Configuration options for a Signed Timestamp codec instance.

optional allowDuplicateBrand?: boolean

Defined in: src/codecs/signed/index.ts:50

If true, silences the duplicate-brand warning in non-production environments.


keys: [SigningKey, ...SigningKey[]]

Defined in: src/codecs/signed/index.ts:44

Non-empty ordered signing keyring. The first entry is current — the only one generate / generateAt sign with. verify / safeVerify trial every entry until the tag matches. Duplicate raw secrets are rejected at construction.


optional now?: () => number

Defined in: src/codecs/signed/index.ts:46

Returns the current timestamp in milliseconds. Defaults to Date.now.

number


optional rng?: (target) => void

Defined in: src/codecs/signed/index.ts:48

Writes 5 random bytes into target for the random tail. Defaults to crypto.getRandomValues.

Uint8Array

void