Class Target_io_netty_handler_ssl_util_SelfSignedCertificate

java.lang.Object
io.quarkus.netty.runtime.graal.Target_io_netty_handler_ssl_util_SelfSignedCertificate

final class Target_io_netty_handler_ssl_util_SelfSignedCertificate extends Object
SelfSignedCertificate's constructor unconditionally attempts BouncyCastleSelfSignedCertGenerator.generate(...) first, falling back to OpenJdkSelfSignedCertGenerator when that fails. native-image must be able to link the Bouncy Castle call even when Bouncy Castle isn't on the classpath, which fails the build in that case; BouncyCastleSelfSignedCertGenerator itself can't be substituted directly either, since its own imports make it unloadable without Bouncy Castle present. This substitution only applies when Bouncy Castle is absent (IsBouncyNotThere) and goes straight to the JDK fallback, reproducing exactly the outcome already exercised today in that case. When Bouncy Castle is present, this substitution does not apply and the original BC-preferred constructor is used unmodified (Bouncy Castle links fine when it's actually there).