Certificate.getExpires
long getExpires() nothrowGet 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() nothrowGet the expiration date of the certificate's key. A value of 0 means the certificate never expires.