Server IP : 68.65.120.251 / Your IP : 52.15.143.11 [ Web Server : LiteSpeed System : Linux server105.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : travtpib ( 6521) PHP Version : 7.4.33 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/alt-nodejs19/root/lib/node_modules/npm/node_modules.bundled/sigstore/dist/ |
Upload File : |
/// <reference types="node" /> import * as sigstore from './types/sigstore'; import { KeySelector } from './verify'; export * as utils from './sigstore-utils'; export { SerializedBundle as Bundle, SerializedEnvelope as Envelope, } from './types/sigstore'; export declare const DEFAULT_FULCIO_URL = "https://fulcio.sigstore.dev"; export declare const DEFAULT_REKOR_URL = "https://rekor.sigstore.dev"; interface TLogOptions { rekorURL?: string; } interface TUFOptions { tufMirrorURL?: string; tufRootPath?: string; } export type SignOptions = { fulcioURL?: string; identityToken?: string; oidcIssuer?: string; oidcClientID?: string; oidcClientSecret?: string; oidcRedirectURL?: string; } & TLogOptions; export type VerifyOptions = { ctLogThreshold?: number; tlogThreshold?: number; certificateIssuer?: string; certificateIdentityEmail?: string; certificateIdentityURI?: string; certificateOIDs?: Record<string, string>; keySelector?: KeySelector; } & TLogOptions & TUFOptions; type Bundle = sigstore.SerializedBundle; export declare function sign(payload: Buffer, options?: SignOptions): Promise<Bundle>; export declare function attest(payload: Buffer, payloadType: string, options?: SignOptions): Promise<Bundle>; export declare function verify(bundle: Bundle, payload?: Buffer, options?: VerifyOptions): Promise<void>;