recoder-code
Version:
🚀 AI-powered development platform - Chat with 32+ models, build projects, automate workflows. Free models included!
15 lines (14 loc) • 553 B
TypeScript
/// <reference types="node" />
/// <reference types="node" />
import { crypto } from '@sigstore/core';
import type { Envelope } from '@sigstore/bundle';
import type { SignatureContent } from '../shared.types';
export declare class DSSESignatureContent implements SignatureContent {
private readonly env;
constructor(env: Envelope);
compareDigest(digest: Buffer): boolean;
compareSignature(signature: Buffer): boolean;
verifySignature(key: crypto.KeyObject): boolean;
get signature(): Buffer;
private get preAuthEncoding();
}