Package tigase.extras.bcstarttls
Class BCSSLContextContainer
java.lang.Object
tigase.io.SSLContextContainerAbstract
tigase.io.SSLContextContainer
tigase.extras.bcstarttls.BCSSLContextContainer
- All Implemented Interfaces:
tigase.io.SSLContextContainerIfc,tigase.kernel.beans.Initializable,tigase.server.Lifecycle
public class BCSSLContextContainer
extends tigase.io.SSLContextContainer
-
Nested Class Summary
Nested classes/interfaces inherited from class tigase.io.SSLContextContainer
tigase.io.SSLContextContainer.HARDENED_MODE, tigase.io.SSLContextContainer.HardenedModeVHostItemExtension, tigase.io.SSLContextContainer.HardenedModeVHostItemExtensionProvider, tigase.io.SSLContextContainer.RootNested classes/interfaces inherited from class tigase.io.SSLContextContainerAbstract
tigase.io.SSLContextContainerAbstract.SSLHolder -
Field Summary
Fields inherited from class tigase.io.SSLContextContainer
eventBus, sslContexts, vHostManagerFields inherited from interface tigase.io.SSLContextContainerIfc
ALLOW_INVALID_CERTS_KEY, ALLOW_INVALID_CERTS_VAL, ALLOW_SELF_SIGNED_CERTS_KEY, ALLOW_SELF_SIGNED_CERTS_VAL, CERT_ALIAS_KEY, CERT_SAVE_TO_DISK_KEY, DEFAULT_DOMAIN_CERT_KEY, DEFAULT_DOMAIN_CERT_VAL, JKS_KEYSTORE_FILE_KEY, JKS_KEYSTORE_FILE_VAL, JKS_KEYSTORE_PWD_KEY, JKS_KEYSTORE_PWD_VAL, PEM_CERTIFICATE_KEY, SERVER_CERTS_LOCATION_KEY, SERVER_CERTS_LOCATION_VAL, SSL_CONTAINER_CLASS_KEY, SSL_CONTAINER_CLASS_VAL, TRUSTED_CERTS_DIR_KEY, TRUSTED_CERTS_DIR_VAL, TRUSTSTORE_FILE_KEY, TRUSTSTORE_FILE_VAL, TRUSTSTORE_PWD_KEY, TRUSTSTORE_PWD_VAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontigase.io.IOInterfacecreateIoInterface(String protocol, String local_hostname, String remote_hostname, int port, boolean clientMode, boolean wantClientAuth, boolean needClientAuth, ByteOrder byteOrder, TrustManager[] x509TrustManagers, tigase.io.TLSEventHandler eventHandler, tigase.io.IOInterface socketIO, tigase.io.CertificateContainerIfc certificateContainer) protected SSLContextcreateSSLContext(String protocol) Methods inherited from class tigase.io.SSLContextContainer
getEnabledCiphers, getEnabledProtocols, getSSLContext, getTrustStore, initialize, setEnabledCiphers, setEnabledProtocols, setEphemeralDHKeySize, setHardenedMode, setParent, setTlsJdkNssBugWorkaround, start, stopMethods inherited from class tigase.io.SSLContextContainerAbstract
addCertificates, createCertificate, createContextHolder, find, getDefCertAlias, getKeyManagers, getSSLContext, getTrustManagersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tigase.io.SSLContextContainerIfc
createIoInterface, getEnabledCiphers, getEnabledProtocols
-
Constructor Details
-
BCSSLContextContainer
public BCSSLContextContainer()
-
-
Method Details
-
createIoInterface
public tigase.io.IOInterface createIoInterface(String protocol, String local_hostname, String remote_hostname, int port, boolean clientMode, boolean wantClientAuth, boolean needClientAuth, ByteOrder byteOrder, TrustManager[] x509TrustManagers, tigase.io.TLSEventHandler eventHandler, tigase.io.IOInterface socketIO, tigase.io.CertificateContainerIfc certificateContainer) throws IOException - Specified by:
createIoInterfacein interfacetigase.io.SSLContextContainerIfc- Overrides:
createIoInterfacein classtigase.io.SSLContextContainer- Throws:
IOException
-
createSSLContext
protected SSLContext createSSLContext(String protocol) throws NoSuchAlgorithmException, NoSuchProviderException - Overrides:
createSSLContextin classtigase.io.SSLContextContainerAbstract- Throws:
NoSuchAlgorithmExceptionNoSuchProviderException
-