Certificate.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.

class Certificate
long
getExpires64
()

Return Value

Type: long

the expiration date of the certificate's key or %-1 if unknown.