Table of contents
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
- since: 2026-07-17
- category: Library
- author: Nicola Asuni info@tecnick.com
- copyright: 2026 Nicola Asuni - Tecnick.com LTD
- license: https://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE)
- link: https://github.com/tecnickcom/tc-lib-pdf-sign
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>