dsse.d.ts 621 B

12345678910111213
  1. import { Artifact, BaseBundleBuilder, BundleBuilderOptions } from './base';
  2. import type { BundleWithDsseEnvelope } from '@sigstore/bundle';
  3. import type { Signature } from '../signer';
  4. type DSSEBundleBuilderOptions = BundleBuilderOptions & {
  5. certificateChain?: boolean;
  6. };
  7. export declare class DSSEBundleBuilder extends BaseBundleBuilder<BundleWithDsseEnvelope> {
  8. private certificateChain?;
  9. constructor(options: DSSEBundleBuilderOptions);
  10. protected prepare(artifact: Artifact): Promise<Buffer>;
  11. protected package(artifact: Artifact, signature: Signature): Promise<BundleWithDsseEnvelope>;
  12. }
  13. export {};