Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Type Property

signedDate

Validate the certificate chain against the payload’s signedDate if the payload conforms to ValidationTimePayload, falling back to the current time otherwise.
static let signedDate: X5CValidationTime

Discussion

This allows verifying tokens whose signing certificate has expired since the token was signed, at the cost of letting the token itself choose the validation time. Prefer signedDate(maxAge:) to bound how far into the past that choice can reach.