validate

open suspend fun validate(issuerProvidedAuthenticationData: ByteString, now: Instant? = Clock.System.now()): ValidationResult

Validates candidate issuer-provided static authentication data against this credential.

Applications are strongly urged to call this method to verify cryptographic signatures, certificate chains, and key-binding alignment prior to calling certify.

The default implementation returns an empty ValidationResult with no findings.

Return

a ValidationResult containing any errors or warnings found.

Parameters

issuerProvidedAuthenticationData

the candidate issuer-provided static authentication data.

now

reference time for checking expiration and validity intervals, or null to skip.


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

Validates this certified credential against its current issuerProvidedData.

Return

a ValidationResult containing any errors or warnings found.

Parameters

now

reference time for checking expiration and validity intervals, or null to skip.