diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 435d5d495609b3d..d5cdb1e773a258d 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -2855,6 +2855,12 @@ added: v15.6.0 Returns the PEM-encoded certificate. +### `x509.isValid` + +* Type: {boolean} + +Returns `true` if the certificate is valid based on the current time. + ### `x509.validFrom`