Enum HttpsConnection.SslProperty

    • Enum Constant Detail

      • KeyStorePassword

        public static final HttpsConnection.SslProperty KeyStorePassword
        Set the keystore password (may be encoded using Password.

        Note that the password may also be obfuscated using the internal jetty utility Password using one of the reversible schemes.

        See Also:
        SslContextFactory.setKeyStorePassword(String)
      • KeyStoreProvider

        public static final HttpsConnection.SslProperty KeyStoreProvider
        See Also:
        SslContextFactory.setKeyStoreProvider(String)
      • TrustStorePassword

        public static final HttpsConnection.SslProperty TrustStorePassword
        Set the truststore password (may be encoded using Password .

        Note that the password may also be obfuscated using the internal jetty utility Password using one of the reversible schemes.

        See Also:
        SslContextFactory.setTrustStorePassword(String)
      • TrustStoreProvider

        public static final HttpsConnection.SslProperty TrustStoreProvider
        See Also:
        SslContextFactory.setTrustStoreProvider(String)
      • KeyManagerPassword

        public static final HttpsConnection.SslProperty KeyManagerPassword
        Set the key manager password (may be encoded using Password .

        Note that the password may also be obfuscated using the internal jetty utility Password using one of the reversible schemes.

        See Also:
        SslContextFactory.setKeyManagerPassword(String)
      • ExcludeCipherSuites

        public static final HttpsConnection.SslProperty ExcludeCipherSuites
        A comma separated list of cipher suites to exclude.
        See Also:
        SslContextFactory.setExcludeCipherSuites(String...)
      • IncludeCipherSuites

        public static final HttpsConnection.SslProperty IncludeCipherSuites
        A comma separated list of cipher suites to include.
        See Also:
        SslContextFactory.setIncludeCipherSuites(String...)
      • ExcludeProtocols

        public static final HttpsConnection.SslProperty ExcludeProtocols
        A comma separated list of protocols to exclude
        See Also:
        SslContextFactory.setExcludeProtocols(String...)
      • IncludeProtocols

        public static final HttpsConnection.SslProperty IncludeProtocols
        A comma separated list of protocols to include
        See Also:
        SslContextFactory.setIncludeProtocols(String...)
      • SecureRandomAlgorithm

        public static final HttpsConnection.SslProperty SecureRandomAlgorithm
        See Also:
        SslContextFactory.setSecureRandomAlgorithm(String)
      • SessionCachingEnabled

        public static final HttpsConnection.SslProperty SessionCachingEnabled
        See Also:
        SslContextFactory.setSessionCachingEnabled(boolean)
      • MaxCertPathLength

        public static final HttpsConnection.SslProperty MaxCertPathLength
        See Also:
        SslContextFactory.setMaxCertPathLength(int)
      • NeedClientAuth

        public static final HttpsConnection.SslProperty NeedClientAuth
        See Also:
        SslContextFactory.setNeedClientAuth(boolean)
      • OcspResponderURL

        public static final HttpsConnection.SslProperty OcspResponderURL
        See Also:
        SslContextFactory.setOcspResponderURL(String)
      • SslSessionTimeout

        public static final HttpsConnection.SslProperty SslSessionTimeout
        See Also:
        SslContextFactory.setSslSessionTimeout(int)
      • TrustManagerFactoryAlgorithm

        public static final HttpsConnection.SslProperty TrustManagerFactoryAlgorithm
        See Also:
        SslContextFactory.setTrustManagerFactoryAlgorithm(String)
      • ValidatePeerCerts

        public static final HttpsConnection.SslProperty ValidatePeerCerts
        See Also:
        SslContextFactory.setValidatePeerCerts(boolean)
      • WantClientAuth

        public static final HttpsConnection.SslProperty WantClientAuth
        See Also:
        SslContextFactory.setWantClientAuth(boolean)
    • Method Detail

      • values

        public static HttpsConnection.SslProperty[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (HttpsConnection.SslProperty c : HttpsConnection.SslProperty.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static HttpsConnection.SslProperty valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null