expired property

bool get expired

The certificate is outside its validity window.

Implementation

bool get expired =>
    errorCode == X509_V_ERR_CERT_HAS_EXPIRED ||
    errorCode == X509_V_ERR_CERT_NOT_YET_VALID;