Class SSLContextFactory
java.lang.Object
com.github.toolarium.security.ssl.SSLContextFactory
Defines the SSL context factory.
-
Method Summary
Modifier and TypeMethodDescriptioncreateSslContext(ISecurityManagerProvider securityManagerProvider) Create an SSL contextstatic SSLContextFactoryGet the instance
-
Method Details
-
getInstance
Get the instance- Returns:
- the instance
-
createSslContext
public SSLContext createSslContext(ISecurityManagerProvider securityManagerProvider) throws GeneralSecurityException Create an SSL context- Parameters:
securityManagerProvider- the security manager provider- Returns:
- The SSL context
- Throws:
GeneralSecurityException- If the security key axxess was not successful
-