tigase.io.jdk18

## Class SNISSLContextContainer

- java.lang.Object
- - tigase.io.SSLContextContainer
  - - tigase.io.jdk18.SNISSLContextContainer

- All Implemented Interfaces:
    SSLContextContainerIfc

      public class SNISSLContextContainer
      extends SSLContextContainer

  Implementation of SSLContextContainer which may be used since JDK 1.8 to provide support for Server Name Indication (SNI) extension of SSL/TLS protocol which indicates server name the client is attempting to connect during handshaking. This implementation searches for proper SSL certificate for passed server name and uses this certificate if it is available, if not it falls back to use of default certificate.
  Author:
    andrzej

- - ### Field Summary

    - ### Fields inherited from class tigase.io.SSLContextContainer

      `def_cert_alias, kmfs, kms, PER_DOMAIN_CERTIFICATE_KEY, sslContexts`

    - ### 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 and Description
    `SNISSLContextContainer()`

  - ### Method Summary

    - ### Methods inherited from class tigase.io.SSLContextContainer

      `addCertificates, find, getSSLContext, getSSLContext, getTrustStore, init`

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### SNISSLContextContainer

          public SNISSLContextContainer()

Copyright © 2017 "Tigase, Inc.". All rights reserved.