Skip to main content

generate_dpop_jti

Function generate_dpop_jti 

Source
pub fn generate_dpop_jti() -> String
Expand description

Generate a fresh, random DPoP jti (RFC 9449 requires a unique value per proof so the AS can detect replay). Pure / native-testable so JTI freshness is a plain unit test rather than something only exercisable inside the wasm32-only fetch glue (#1425 r1 P1#4).