Class SSLContextImpl

java.lang.Object
br.net.dd.netherwingcore.common.cryptography.SSLContextImpl

public class SSLContextImpl extends Object
The SSLContextImpl class is a singleton implementation responsible for initializing and providing an instance of SSLContext. This class performs critical operations such as loading cryptographic data (e.g., keystore and certificates) and creating SSL/TLS contexts for secure connections.

This implementation ensures the correct loading of PKCS12 keystores and manages KeyManager and TrustManager initialization, providing a secure SSL context for use in applications.

The class throws runtime exceptions for missing resources, invalid configurations, or problems during initialization, ensuring all required settings and files are properly loaded.

Usage Example:
    SSLContext sslContext = SSLContextImpl.get();