14 lines
553 B
TypeScript
Executable file
14 lines
553 B
TypeScript
Executable file
/// <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();
|
|
}
|