An X.509 certificate contains a public key, the subject it belongs to, the issuer that signed it, a validity period (not before and not after) and extensions such as the SubjectAltName. openssl x509 -text prints all of it.
X.509 certificate
A signed document binding a public key to a name, with a validity period.