Class SSLSessionOption


  • public final class SSLSessionOption
    extends java.lang.Object
    SSL session options
    • Field Detail

      • BreakOnServerAuth

        @Deprecated
        public static final int BreakOnServerAuth
        Deprecated.
        Set this option to enable returning from SSLHandshake (with a result of errSSLServerAuthCompleted) when the server authentication portion of the handshake is complete. This disable certificate verification and provides an opportunity to perform application-specific server verification before deciding to continue. API-Since: 2.0 Deprecated-Since: 13.0
        See Also:
        Constant Field Values
      • BreakOnCertRequested

        @Deprecated
        public static final int BreakOnCertRequested
        Deprecated.
        Set this option to enable returning from SSLHandshake (with a result of errSSLClientCertRequested) when the server requests a client certificate. API-Since: 2.0 Deprecated-Since: 13.0
        See Also:
        Constant Field Values
      • BreakOnClientAuth

        @Deprecated
        public static final int BreakOnClientAuth
        Deprecated.
        This option is the same as kSSLSessionOptionBreakOnServerAuth but applies to the case where SecureTransport is the server and the client has presented its certificates allowing the server to verify whether these should be allowed to authenticate. API-Since: 2.0 Deprecated-Since: 13.0
        See Also:
        Constant Field Values
      • FalseStart

        @Deprecated
        public static final int FalseStart
        Deprecated.
        Enable/Disable TLS False Start When enabled, False Start will only be performed if a adequate cipher-suite is negotiated. API-Since: 2.0 Deprecated-Since: 13.0
        See Also:
        Constant Field Values
      • SendOneByteRecord

        @Deprecated
        public static final int SendOneByteRecord
        Deprecated.
        Enable/Disable 1/n-1 record splitting for BEAST attack mitigation. When enabled, record splitting will only be performed for TLS 1.0 connections using a block cipher. API-Since: 2.0 Deprecated-Since: 13.0
        See Also:
        Constant Field Values
      • AllowServerIdentityChange

        @Deprecated
        public static final int AllowServerIdentityChange
        Deprecated.
        Allow/Disallow server identity change on renegotiation. Disallow by default to avoid Triple Handshake attack. API-Since: 2.0 Deprecated-Since: 13.0
        See Also:
        Constant Field Values
      • Fallback

        @Deprecated
        public static final int Fallback
        Deprecated.
        Enable fallback countermeasures. Use this option when retyring a SSL connection with a lower protocol version because of failure to connect. API-Since: 2.0 Deprecated-Since: 13.0
        See Also:
        Constant Field Values
      • BreakOnClientHello

        @Deprecated
        public static final int BreakOnClientHello
        Deprecated.
        Set this option to break from a client hello in order to check for SNI API-Since: 2.0 Deprecated-Since: 13.0
        See Also:
        Constant Field Values
      • AllowRenegotiation

        @Deprecated
        public static final int AllowRenegotiation
        Deprecated.
        Set this option to Allow renegotations. False by default. API-Since: 2.0 Deprecated-Since: 13.0
        See Also:
        Constant Field Values
      • EnableSessionTickets

        @Deprecated
        public static final int EnableSessionTickets
        Deprecated.
        Set this option to enable session tickets. False by default. API-Since: 2.0 Deprecated-Since: 13.0
        See Also:
        Constant Field Values