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

18
node_modules/@sigstore/verify/dist/verifier.d.ts generated vendored Normal file
View File

@@ -0,0 +1,18 @@
import type { SignedEntity, Signer, VerificationPolicy } from './shared.types';
import type { TrustMaterial } from './trust';
export type VerifierOptions = {
tlogThreshold?: number;
ctlogThreshold?: number;
tsaThreshold?: number;
};
export declare class Verifier {
private trustMaterial;
private options;
constructor(trustMaterial: TrustMaterial, options?: VerifierOptions);
verify(entity: SignedEntity, policy?: VerificationPolicy): Signer;
private verifyTimestamps;
private verifySigningKey;
private verifyTLogs;
private verifySignature;
private verifyPolicy;
}