This commit is contained in:
CHEVALLIER Abel
2025-11-13 16:23:22 +01:00
parent de9c515a47
commit cb235644dc
34924 changed files with 3811102 additions and 0 deletions

10
node_modules/@sigstore/verify/dist/key/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,10 @@
import { X509Certificate } from '@sigstore/core';
import { VerifiedSCTProvider } from './sct';
import type { Signer } from '../shared.types';
import type { TrustMaterial } from '../trust';
export type CertificateVerificationResult = {
signer: Signer;
scts: VerifiedSCTProvider[];
};
export declare function verifyPublicKey(hint: string, timestamps: Date[], trustMaterial: TrustMaterial): Signer;
export declare function verifyCertificate(leaf: X509Certificate, timestamps: Date[], trustMaterial: TrustMaterial): CertificateVerificationResult;