Primeiro commit do projeto Angular

This commit is contained in:
2026-03-14 20:41:55 +00:00
parent 9bebe1de72
commit 94f4f46395
22413 changed files with 3221690 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
import type { SignedEntity, Signer, VerificationPolicy } from './shared.types';
import type { TrustMaterial } from './trust';
/**
* Configuration options for the verifier.
*
* @public
*/
export interface VerifierOptions {
/** Minimum number of transparency log entries required for verification */
tlogThreshold?: number;
/** Minimum number of certificate transparency log entries required */
ctlogThreshold?: number;
/**
* Minimum number of timestamp authority timestamps required for verification
* @deprecated Use timestampThreshold instead
*/
tsaThreshold?: number;
/** Minimum number of timestamps required for verification */
timestampThreshold?: 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;
}