UNPKG

xpm

Version:

The xPack project manager command line tool

14 lines (13 loc) 522 B
/// <reference types="node" /> import type { FetchOptions } from '../../types/fetch'; export interface CA { createSigningCertificate: (identityToken: string, publicKey: string, challenge: Buffer) => Promise<string[]>; } export type CAClientOptions = { fulcioBaseURL: string; } & FetchOptions; export declare class CAClient implements CA { private fulcio; constructor(options: CAClientOptions); createSigningCertificate(identityToken: string, publicKey: string, challenge: Buffer): Promise<string[]>; }