client.d.ts 384 B

123456789101112
  1. import type { FetchOptions } from '../../types/fetch';
  2. export interface TSA {
  3. createTimestamp: (signature: Buffer) => Promise<Buffer>;
  4. }
  5. export type TSAClientOptions = {
  6. tsaBaseURL: string;
  7. } & FetchOptions;
  8. export declare class TSAClient implements TSA {
  9. private tsa;
  10. constructor(options: TSAClientOptions);
  11. createTimestamp(signature: Buffer): Promise<Buffer>;
  12. }