Class Pbkdf2ParameterValidator

java.lang.Object
com.svenruppert.jsentinel.credential.password.pbkdf2.Pbkdf2ParameterValidator
All Implemented Interfaces:
PasswordHashParameterValidator

public final class Pbkdf2ParameterValidator extends Object implements PasswordHashParameterValidator
Parameter validator for the Phase-1a PBKDF2 algorithm.

Validates iteration count, derived-key length and the base64 salt carried in the envelope. All numeric parameters are bounded by the active policy; this is the gate that prevents resource exhaustion before any KDF runs (CWE-400 / CWE-916).

The validator does not derive any key material; it only decodes the salt to verify the encoded length.