← Back
Editing: VerifyAttestation.php
<?php declare(strict_types=1); namespace ThePhpFoundation\Attestation\Verification; use ThePhpFoundation\Attestation\FilenameWithChecksum; use ThePhpFoundation\Attestation\Verification\Exception\FailedToVerifyArtifact; interface VerifyAttestation { /** * @param non-empty-string $owner * @param non-empty-string $expectedSubjectName * @param array<non-empty-string, string> $extensionsToVerify * * @throws FailedToVerifyArtifact */ public function verify( FilenameWithChecksum $file, string $owner, string $expectedSubjectName, array $extensionsToVerify ): void; }
Save File
Cancel