validityInterval

fun validityInterval(notBefore: Long, notAfter: Long): <Error class: unknown class>

Sets the certificate to be valid in ``[notBefore..notAfter]``. Both endpoints are specified in the format of System.currentTimeMillis. Specify -1L for both values to use the default interval, 24 hours starting when the certificate is created.