Package org.seedstack.seed.crypto.spi
Interface SSLProvider
-
@Facet public interface SSLProviderProvides access to the application SSL configuration.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CryptoConfig.SSLConfigsslConfig()Provides theCryptoConfig.SSLConfigafter the init phase.Optional<SSLContext>sslContext()Provides anSSLContextconfigured during the init phase.
-
-
-
Method Detail
-
sslContext
Optional<SSLContext> sslContext()
Provides anSSLContextconfigured during the init phase.- Returns:
- an optional SSL context, being empty if no SSLContext could be constructed.
-
sslConfig
CryptoConfig.SSLConfig sslConfig()
Provides theCryptoConfig.SSLConfigafter the init phase.- Returns:
- the SSL configuration, or null before the init phase
-
-