Class SSLContextFactory
- java.lang.Object
-
- org.springframework.cloud.configuration.SSLContextFactory
-
public class SSLContextFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description SSLContextFactory(TlsProperties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyStore
createKeyStore()
SSLContext
createSSLContext()
KeyStore
createTrustStore()
-
-
-
Constructor Detail
-
SSLContextFactory
public SSLContextFactory(TlsProperties properties)
-
-
Method Detail
-
createSSLContext
public SSLContext createSSLContext() throws GeneralSecurityException, IOException
- Throws:
GeneralSecurityException
IOException
-
createKeyStore
public KeyStore createKeyStore() throws GeneralSecurityException, IOException
- Throws:
GeneralSecurityException
IOException
-
createTrustStore
public KeyStore createTrustStore() throws GeneralSecurityException, IOException
- Throws:
GeneralSecurityException
IOException
-
-