Certificate.getExpiry

Returns the number of seconds since 1970, i.e., epoch time.

Due to openssl quirkiness there might be a little drift from a strictly accurate result, but it should be close enough for the purpose of determining whether the certificate needs to be renewed.

struct Certificate
const
DateTime
getExpiry
()

Meta