isValid

Check if a credential is within its validity period at the current time.

Temporal only: honours expirationDate/validUntil (earliest wins) and validFrom/issuanceDate. It does not check revocation or the proof.

Example:

if (credential.isValid()) {
println("Credential is still valid")
}

Return

True if the credential is neither expired nor not yet valid