enum final Optional · pdftoolkit/pdf-reader 0.8.1

PDF\Reading\Security\CryptMethod
ISO 32000-1/2 crypt-filter method names, including ISO/TS 32003 AESV4.

Read the source declaration ↗

Inheritance and contracts

Interfaces : BackedEnum, UnitEnum

Declared methods

cases()

public static function cases(): array

Declared by PDF\Reading\Security\CryptMethod · View the code ↗

from()

public static function from(string|int $value): static

Declared by PDF\Reading\Security\CryptMethod · View the code ↗

tryFrom()

public static function tryFrom(string|int $value): ?static

Declared by PDF\Reading\Security\CryptMethod · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly string $namePDF\Reading\Security\CryptMethod
public readonly string $valuePDF\Reading\Security\CryptMethod

Enum cases

  • Identity = "None"
  • Rc4 = "V2"
  • Aes128 = "AESV2"
  • Aes256 = "AESV3"
  • AesGcm = "AESV4"