You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This behavior makes sense to me as it seems like the verify method seems to be operating only on the proof and I might want to have additional business logic that deals with expired credentials differently than with credentials that have invalid proofs. However, I'd find it helpful if this behavior is highlighted in the documentation. In addition, it would be great to have an additional method that validates/verifies expiration and not before dates.
The text was updated successfully, but these errors were encountered:
I noticed that the
expiration_date
property in a Verifiable Credential is ignored by theverify
method. Example:This behavior makes sense to me as it seems like the verify method seems to be operating only on the proof and I might want to have additional business logic that deals with expired credentials differently than with credentials that have invalid proofs. However, I'd find it helpful if this behavior is highlighted in the documentation. In addition, it would be great to have an additional method that validates/verifies
expiration
andnot before
dates.The text was updated successfully, but these errors were encountered: