class final readonly Core · pdftoolkit/pdf 0.12.4

PDF\Security\PdfMacTokenComposer
ISO/TS 32004:2024 clauses 6.2-6.6: complete PDF MAC AuthenticatedData token.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

Declared by PDF\Security\PdfMacTokenComposer · View the code ↗

Declared methods

__debugInfo()

public function __debugInfo(): array
@return array{digest:string}

Declared by PDF\Security\PdfMacTokenComposer · View the code ↗

token()

public function token(string $coveredBytes, ?string $signatureValue = null): string

Declared by PDF\Security\PdfMacTokenComposer · View the code ↗

tokenLength()

public function tokenLength(bool $signed = false): int

Declared by PDF\Security\PdfMacTokenComposer · View the code ↗

validateEncryption()

public function validateEncryption(PDF\Security\FileEncryption $encryption): void

Declared by PDF\Security\PdfMacTokenComposer · View the code ↗

verify()

public function verify(string $token, string $coveredBytes, ?string $signatureValue = null): void
Validate CMS authentication and exact document/signature binding; no PKI trust claim.

Declared by PDF\Security\PdfMacTokenComposer · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly PDF\Document\Signatures\Policies\SignatureDigestMethod $digestPDF\Security\PdfMacTokenComposer