JcaX509v3CertificateBuilder builder=new JcaX509v3CertificateBuilder(issuer,serial,new Time(notBefore.toDate(),Locale.ROOT),new Time(notAfter.toDate(),Locale.ROOT),subject,keyPair.getPublic()); | JcaX509v3CertificateBuilder builder=new JcaX509v3CertificateBuilder(issuer,serial,new Time(Date.from(notBefore.toInstant()),Locale.ROOT),new Time(Date.from(notAfter.toInstant()),Locale.ROOT),subject,keyPair.getPublic()); | notAfter.toDate() | Date.from(notAfter.toInstant()) | elasticsearch | afcdbd2bc03a9df3b5a45b6f7dfcc2b5e52df404 | org.elasticsearch.xpack.security.cli.CertGenUtils | | | | | | Uses | True |