NET-Web-API-w-Angular/my-app/node_modules/@sigstore/sign/dist/bundler/dsse.d.ts

15 lines
654 B
TypeScript
Raw Normal View History

2024-02-08 19:38:41 -05:00
/// <reference types="node" />
import { Artifact, BaseBundleBuilder, BundleBuilderOptions } from './base';
import type { BundleWithDsseEnvelope } from '@sigstore/bundle';
import type { Signature } from '../signer';
2024-06-03 15:44:25 -04:00
type DSSEBundleBuilderOptions = BundleBuilderOptions & {
singleCertificate?: boolean;
};
2024-02-08 19:38:41 -05:00
export declare class DSSEBundleBuilder extends BaseBundleBuilder<BundleWithDsseEnvelope> {
2024-06-03 15:44:25 -04:00
private singleCertificate?;
constructor(options: DSSEBundleBuilderOptions);
2024-02-08 19:38:41 -05:00
protected prepare(artifact: Artifact): Promise<Buffer>;
protected package(artifact: Artifact, signature: Signature): Promise<BundleWithDsseEnvelope>;
}
2024-06-03 15:44:25 -04:00
export {};