SignatureProfile

Backed enum for the supported signature profiles. The backing value of each case matches the corresponding Config::PROFILE_* constant validated by Config.

Namespace: Com\Tecnick\Pdf\Sign

Backing type: string

File: SignatureProfile.php line 35

Backed enum for the supported signature profiles. The backing value of each case matches the corresponding Config::PROFILE_* constant validated by Config.

Tags

Cases

Legacy

File: SignatureProfile.php line 37

PadesBB

File: SignatureProfile.php line 39

PadesBT

File: SignatureProfile.php line 41

PadesBLT

File: SignatureProfile.php line 43

PadesBLTA

File: SignatureProfile.php line 45

Methods

fromLoose()

File: SignatureProfile.php line 58

public static fromLoose(string|self $value) : self

Accepts the canonical profile string (as validated by Config) or an enum instance (returned unchanged). Unknown values throw, matching the closed set enforced by Config.

Parameters

  • $value : string|self: Signature profile identifier or enum case.

Tags

  • throws: Exception if the value does not match a known signature profile.

Return values

self

values()

File: SignatureProfile.php line 72

public static values() : array<int, string>

Return values

array<int, string>