validate Proof Basics
fun validateProofBasics(dpopJwt: String?, requestMethod: String, requestUri: String, skewToleranceSeconds: Long = 10): Boolean
Perform basic structural validation of a DPoP proof without cryptographic checks.
This method checks only:
htm equals the provided HTTP method
htu, after normalization (scheme/host lowercased, default port removed), equals the provided URL
iat is within the allowed clock skew window
It does NOT verify the JWS signature or the optional 'ath' claim. Use a proper verifier in production.
Return
true if the structural checks pass; false otherwise
Parameters
dpop Jwt
the compact DPoP JWT from the DPoP header
request Method
the HTTP method string to compare against the proof's htm
request Uri
the absolute URL to compare against the proof's htu
skew Tolerance Seconds
allowed skew (seconds) for iat freshness check (default 10s)