Hacked By AnonymousFox

Current Path : /opt/alt/alt-nodejs19/root/usr/lib/node_modules/npm/node_modules/sigstore/dist/tlog/
Upload File :
Current File : //opt/alt/alt-nodejs19/root/usr/lib/node_modules/npm/node_modules/sigstore/dist/tlog/index.d.ts

/// <reference types="node" />
import { SignatureMaterial } from '../types/signature';
import { Bundle, Envelope } from '../types/sigstore';
interface CreateEntryOptions {
    fetchOnConflict?: boolean;
}
export { Entry, EntryKind, HashedRekordKind } from './types';
export interface TLog {
    createMessageSignatureEntry: (digest: Buffer, sigMaterial: SignatureMaterial) => Promise<Bundle>;
    createDSSEEntry: (envelope: Envelope, sigMaterial: SignatureMaterial, options?: CreateEntryOptions) => Promise<Bundle>;
}
export interface TLogClientOptions {
    rekorBaseURL: string;
}
export declare class TLogClient implements TLog {
    private rekor;
    constructor(options: TLogClientOptions);
    createMessageSignatureEntry(digest: Buffer, sigMaterial: SignatureMaterial, options?: CreateEntryOptions): Promise<Bundle>;
    createDSSEEntry(envelope: Envelope, sigMaterial: SignatureMaterial, options?: CreateEntryOptions): Promise<Bundle>;
    private createEntry;
}

Hacked By AnonymousFox1.0, Coded By AnonymousFox