validate

suspend fun validate(now: Instant? = Clock.System.now()): ValidationResult

Validates this SdJwt according to RFC 9901.

Return

a ValidationResult containing any errors or warnings.

Parameters

now

reference time to check expiration and validity windows, or null to skip.