//okhttp-tls/okhttp3.tls/HeldCertificate/Builder/duration
duration¶
[jvm]\ fun duration(duration: Long, unit: TimeUnit): HeldCertificate.Builder
Sets the certificate to be valid immediately and until the specified duration has elapsed. The precision of this field is seconds; further precision will be truncated.