Certificate.getExpires64
long getExpires64()Get the expiration date of the certificate's key in seconds since the UNIX epoch, represented as a 64-bit signed integer. A value of 0 means the certificate never expires.
Returns
the expiration date of the certificate's key or %-1 if unknown.