HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vhost/disk-apps/pwa.sports-crowd.com/node_modules/@sigstore/bundle/dist/bundle.d.ts
import type { Bundle as ProtoBundle, InclusionProof as ProtoInclusionProof, MessageSignature as ProtoMessageSignature, TransparencyLogEntry as ProtoTransparencyLogEntry, VerificationMaterial as ProtoVerificationMaterial } from '@sigstore/protobuf-specs';
import type { WithRequired } from './utility';
export declare const BUNDLE_V01_MEDIA_TYPE = "application/vnd.dev.sigstore.bundle+json;version=0.1";
export declare const BUNDLE_V02_MEDIA_TYPE = "application/vnd.dev.sigstore.bundle+json;version=0.2";
type DsseEnvelopeContent = Extract<ProtoBundle['content'], {
    $case: 'dsseEnvelope';
}>;
type MessageSignatureContent = Extract<ProtoBundle['content'], {
    $case: 'messageSignature';
}>;
export type MessageSignature = WithRequired<ProtoMessageSignature, 'messageDigest'>;
export type VerificationMaterial = WithRequired<ProtoVerificationMaterial, 'content'>;
export type TransparencyLogEntry = WithRequired<ProtoTransparencyLogEntry, 'logId' | 'kindVersion'>;
export type InclusionProof = WithRequired<ProtoInclusionProof, 'checkpoint'>;
export type TLogEntryWithInclusionPromise = WithRequired<TransparencyLogEntry, 'inclusionPromise'>;
export type TLogEntryWithInclusionProof = TransparencyLogEntry & {
    inclusionProof: InclusionProof;
};
export type Bundle = ProtoBundle & {
    verificationMaterial: VerificationMaterial & {
        tlogEntries: TransparencyLogEntry[];
    };
    content: (MessageSignatureContent & {
        messageSignature: MessageSignature;
    }) | DsseEnvelopeContent;
};
export type BundleV01 = Bundle & {
    verificationMaterial: Bundle['verificationMaterial'] & {
        tlogEntries: TLogEntryWithInclusionPromise[];
    };
};
export type BundleLatest = Bundle & {
    verificationMaterial: Bundle['verificationMaterial'] & {
        tlogEntries: TLogEntryWithInclusionProof[];
    };
};
export type BundleWithCertificateChain = Bundle & {
    verificationMaterial: Bundle['verificationMaterial'] & {
        content: Extract<VerificationMaterial['content'], {
            $case: 'x509CertificateChain';
        }>;
    };
};
export type BundleWithPublicKey = Bundle & {
    verificationMaterial: Bundle['verificationMaterial'] & {
        content: Extract<VerificationMaterial['content'], {
            $case: 'publicKey';
        }>;
    };
};
export type BundleWithMessageSignature = Bundle & {
    content: Extract<Bundle['content'], {
        $case: 'messageSignature';
    }>;
};
export type BundleWithDsseEnvelope = Bundle & {
    content: Extract<Bundle['content'], {
        $case: 'dsseEnvelope';
    }>;
};
export declare function isBundleWithCertificateChain(b: Bundle): b is BundleWithCertificateChain;
export declare function isBundleWithPublicKey(b: Bundle): b is BundleWithPublicKey;
export declare function isBundleWithMessageSignature(b: Bundle): b is BundleWithMessageSignature;
export declare function isBundleWithDsseEnvelope(b: Bundle): b is BundleWithDsseEnvelope;
export {};