Class SSLUtilBase

    • Method Detail

      • getEnabledProtocols

        public String[] getEnabledProtocols()
        Description copied from interface: SSLUtil
        The set of enabled protocols is the intersection of the implemented protocols and the configured protocols. If no protocols are explicitly configured, then all of the implemented protocols will be included in the returned array.
        Specified by:
        getEnabledProtocols in interface SSLUtil
        Returns:
        The protocols currently enabled and available for clients to select from for the associated connection
      • getEnabledCiphers

        public String[] getEnabledCiphers()
        Description copied from interface: SSLUtil
        The set of enabled ciphers is the intersection of the implemented ciphers and the configured ciphers. If no ciphers are explicitly configured, then the default ciphers will be included in the returned array.

        The ciphers used during the TLS handshake may be further restricted by the SSLUtil.getEnabledProtocols() and the certificates.

        Specified by:
        getEnabledCiphers in interface SSLUtil
        Returns:
        The ciphers currently enabled and available for clients to select from for the associated connection
      • getParameters

        protected CertPathParameters getParameters​(String crlf,
                                                   KeyStore trustStore,
                                                   boolean revocationEnabled)
                                            throws Exception
        Return the initialization parameters for the TrustManager. Currently, only the default PKIX is supported.
        Parameters:
        crlf - The path to the CRL file.
        trustStore - The configured TrustStore.
        revocationEnabled - Should the JSSE provider perform revocation checks? Ignored if crlf is non-null. Configuration of revocation checks are expected to be via proprietary JSSE provider methods.
        Returns:
        The parameters including the CRLs and TrustStore.
        Throws:
        Exception - An error occurred
      • getImplementedProtocols

        protected abstract Set<String> getImplementedProtocols()
      • getImplementedCiphers

        protected abstract Set<String> getImplementedCiphers()
      • getLog

        protected abstract Log getLog()
      • isTls13RenegAuthAvailable

        protected abstract boolean isTls13RenegAuthAvailable()