class final readonly Core · roukmoute/pdf 0.7.0

PDF\Security\Saslprep
RFC 4013 stored-string SASLprep: mapping, Unicode 3.2 NFKC, prohibitions and BIDI.
No locale, installed ICU version or optional Unicode extension affects the result.
The R=5 byte truncation is applied after preparation by PreparedPassword.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDF\Security\Unicode32SaslprepTables $tables = new Unicode32SaslprepTables())

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

Declared methods

normalize()

public function normalize(string $unicodeInput): string

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

prepare()

public function prepare(string $unicodeInput): PDF\Security\PreparedPassword

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