Certificate.getExpires
long getExpires()Get the expiration date of the certificate's key. A value of 0 means the certificate never expires.
Returns
the expiration date of the certificate's key or %-1 if unknown.
long getExpires()Get the expiration date of the certificate's key. A value of 0 means the certificate never expires.