Sha256: 9a6a596264343d3bb41c95f68be72cf6e7af245e151cbd838f5b160f54e1dbb2

Contents?: true

Size: 1.87 KB

Versions: 33

Compression:

Stored size: 1.87 KB

Contents

import { Envelope } from '@sigstore/protobuf-specs';
import type { Bundle } from './bundle';
import type { OneOf } from './utility';
export declare const bundleFromJSON: (obj: unknown) => Bundle;
export declare const bundleToJSON: (bundle: Bundle) => SerializedBundle;
export declare const envelopeFromJSON: (obj: unknown) => Envelope;
export declare const envelopeToJSON: (envelope: Envelope) => SerializedEnvelope;
type SerializedTLogEntry = {
    logIndex: string;
    logId: {
        keyId: string;
    };
    kindVersion: {
        kind: string;
        version: string;
    } | undefined;
    integratedTime: string;
    inclusionPromise: {
        signedEntryTimestamp: string;
    } | undefined;
    inclusionProof: {
        logIndex: string;
        rootHash: string;
        treeSize: string;
        hashes: string[];
        checkpoint: {
            envelope: string;
        };
    } | undefined;
    canonicalizedBody: string;
};
type SerializedTimestampVerificationData = {
    rfc3161Timestamps: {
        signedTimestamp: string;
    }[];
};
type SerializedMessageSignature = {
    messageDigest: {
        algorithm: string;
        digest: string;
    } | undefined;
    signature: string;
};
export type SerializedEnvelope = {
    payload: string;
    payloadType: string;
    signatures: {
        sig: string;
        keyid: string;
    }[];
};
export type SerializedBundle = {
    mediaType: string;
    verificationMaterial: (OneOf<{
        x509CertificateChain: {
            certificates: {
                rawBytes: string;
            }[];
        };
        publicKey: {
            hint: string;
        };
    }> | undefined) & {
        tlogEntries: SerializedTLogEntry[];
        timestampVerificationData: SerializedTimestampVerificationData | undefined;
    };
} & OneOf<{
    dsseEnvelope: SerializedEnvelope;
    messageSignature: SerializedMessageSignature;
}>;
export {};

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
immosquare-cleaner-0.1.60 node_modules/@sigstore/bundle/dist/serialized.d.ts
immosquare-cleaner-0.1.59 node_modules/@sigstore/bundle/dist/serialized.d.ts
immosquare-cleaner-0.1.58 node_modules/@sigstore/bundle/dist/serialized.d.ts
immosquare-cleaner-0.1.57 node_modules/@sigstore/bundle/dist/serialized.d.ts
immosquare-cleaner-0.1.56 node_modules/@sigstore/bundle/dist/serialized.d.ts
immosquare-cleaner-0.1.55 node_modules/@sigstore/bundle/dist/serialized.d.ts
immosquare-cleaner-0.1.54 node_modules/@sigstore/bundle/dist/serialized.d.ts
immosquare-cleaner-0.1.53 node_modules/@sigstore/bundle/dist/serialized.d.ts
immosquare-cleaner-0.1.52 node_modules/@sigstore/bundle/dist/serialized.d.ts
immosquare-cleaner-0.1.51 node_modules/@sigstore/bundle/dist/serialized.d.ts
immosquare-cleaner-0.1.50 node_modules/@sigstore/bundle/dist/serialized.d.ts
immosquare-cleaner-0.1.49 node_modules/@sigstore/bundle/dist/serialized.d.ts
immosquare-cleaner-0.1.48 node_modules/@sigstore/bundle/dist/serialized.d.ts
immosquare-cleaner-0.1.47 node_modules/@sigstore/bundle/dist/serialized.d.ts
immosquare-cleaner-0.1.46 node_modules/@sigstore/bundle/dist/serialized.d.ts
immosquare-cleaner-0.1.45 node_modules/@sigstore/bundle/dist/serialized.d.ts
immosquare-cleaner-0.1.44 node_modules/@sigstore/bundle/dist/serialized.d.ts
immosquare-cleaner-0.1.43 node_modules/@sigstore/bundle/dist/serialized.d.ts
immosquare-cleaner-0.1.42 node_modules/@sigstore/bundle/dist/serialized.d.ts
immosquare-cleaner-0.1.41 node_modules/@sigstore/bundle/dist/serialized.d.ts