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.Root

    Nested classes/interfaces inherited from class tigase.io.SSLContextContainerAbstract

    tigase.io.SSLContextContainerAbstract.SSLHolder
  • Field Summary

    Fields inherited from class tigase.io.SSLContextContainer

    eventBus, sslContexts, vHostManager

    Fields 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    protected SSLContext
     

    Methods inherited from class tigase.io.SSLContextContainer

    getEnabledCiphers, getEnabledProtocols, getSSLContext, getTrustStore, initialize, setEnabledCiphers, setEnabledProtocols, setEphemeralDHKeySize, setHardenedMode, setParent, setTlsJdkNssBugWorkaround, start, stop

    Methods inherited from class tigase.io.SSLContextContainerAbstract

    addCertificates, createCertificate, createContextHolder, find, getDefCertAlias, getKeyManagers, getSSLContext, getTrustManagers

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      createIoInterface in interface tigase.io.SSLContextContainerIfc
      Overrides:
      createIoInterface in class tigase.io.SSLContextContainer
      Throws:
      IOException
    • createSSLContext

      protected SSLContext createSSLContext(String protocol) throws NoSuchAlgorithmException, NoSuchProviderException
      Overrides:
      createSSLContext in class tigase.io.SSLContextContainerAbstract
      Throws:
      NoSuchAlgorithmException
      NoSuchProviderException