Package io.quarkus.netty.runtime.graal
Class Target_io_netty_handler_ssl_util_SelfSignedCertificate
java.lang.Object
io.quarkus.netty.runtime.graal.Target_io_netty_handler_ssl_util_SelfSignedCertificate
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).
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) X509Certificate(package private) File(package private) PrivateKey(package private) File -
Constructor Summary
ConstructorsConstructorDescriptionTarget_io_netty_handler_ssl_util_SelfSignedCertificate(String fqdn, SecureRandom random, int bits, Date notBefore, Date notAfter, String algorithm) -
Method Summary
-
Field Details
-
certificate
File certificate -
privateKey
File privateKey -
cert
X509Certificate cert -
key
PrivateKey key
-
-
Constructor Details
-
Target_io_netty_handler_ssl_util_SelfSignedCertificate
Target_io_netty_handler_ssl_util_SelfSignedCertificate(String fqdn, SecureRandom random, int bits, Date notBefore, Date notAfter, String algorithm) throws CertificateException - Throws:
CertificateException
-