Files
pyrofetes-frontend/node_modules/@sigstore/sign/dist/external/tsa.d.ts
CHEVALLIER Abel cb235644dc init
2025-11-13 16:23:22 +01:00

17 lines
482 B
TypeScript

import type { FetchOptions } from '../types/fetch';
export interface TimestampRequest {
artifactHash: string;
hashAlgorithm: string;
certificates?: boolean;
nonce?: number;
tsaPolicyOID?: string;
}
export type TimestampAuthorityOptions = {
baseURL: string;
} & FetchOptions;
export declare class TimestampAuthority {
private options;
constructor(options: TimestampAuthorityOptions);
createTimestamp(request: TimestampRequest): Promise<Buffer>;
}