Package io.quarkus.tls.runtime.config
Interface TrustStoreConfig
public interface TrustStoreConfig
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe policy to apply when a certificate is expired. -
Method Summary
Modifier and TypeMethodDescriptionEnforce certificate expiration.The credential provider configuration for the trust store.jks()Configure the JKS trust store.p12()Configure the PKCS12 trust store.pem()Configures the list of trusted certificates.default voidvalidate(io.quarkus.arc.InstanceHandle<TrustStoreProvider> provider, String name)
-
Method Details
-
pem
Optional<PemCertsConfig> pem()Configures the list of trusted certificates. -
p12
Optional<P12TrustStoreConfig> p12()Configure the PKCS12 trust store. -
jks
Optional<JKSTrustStoreConfig> jks()Configure the JKS trust store. -
certificateExpirationPolicy
Enforce certificate expiration. When enabled, the certificate expiration date is verified and the certificate (or any certificate in the chain) is rejected if it is expired. -
credentialsProvider
TrustStoreCredentialProviderConfig credentialsProvider()The credential provider configuration for the trust store. A credential provider offers a way to retrieve the trust store password. Note that the credential provider is only used if the password is not set in the configuration. -
validate
-