Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

HttpSettings Class

Namespace: Rebex.Net
Assembly: Rebex.Http.dll

Specifies various HTTP/HTTPS settings.

Syntax
public class HttpSettings : SslSettings
Inheritance
Object
SslSettings
HttpSettings
Inherited Members
SslSettings.GetPreferredSuites()
SslSettings.GetSymmetricCipherSuites()
SslSettings.SetPreferredSuites(TlsCipherSuite[])
SslSettings.SetSymmetricCipherSuites(TlsSymmetricCipherSuite[])
SslSettings.SslAcceptAllCertificates
SslSettings.SslAllowedCurves
SslSettings.SslAllowedSuites
SslSettings.SslAllowedVersions
SslSettings.SslAllowVulnerableSuites
SslSettings.SslClientCertificateRequestHandler
SslSettings.SslDoNotInsertEmptyFragment
SslSettings.SslExtendedMasterSecretEnabled
SslSettings.SslChannelBindingEnabled
SslSettings.SslMinimumDiffieHellmanKeySize
SslSettings.SslRenegotiationExtensionEnabled
SslSettings.SslServerCertificateValidationOptions
SslSettings.SslServerCertificateVerifier
SslSettings.SslServerName
SslSettings.SslServerNameIndicationEnabled
SslSettings.SslSession
SslSettings.SslStrictKeyUsageValidation
SslSettings.ToParameters()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

Constructors

Name Description
HttpSettings()

Initializes a new instance of the HttpSettings class.

Properties

Name Description
AllowRedirectDowngrade

Gets or sets a value indicating whether redirect downgrade from HTTPS to HTTP is allowed (default is false).

HttpSessionCacheEnabled

Gets or sets a value indicating whether the HTTP session cache is enabled (default is true).

HttpSessionCacheTimeout

Gets or sets the length of time in milliseconds for caching HTTP sessions (default is 50000 = 50 seconds). Minimal allowed value is 5000.

SslAcceptAllCertificates

Specifies whether to accept all server certificates by default. This is strongly discouraged in production environment. Inherited from SslSettings.

SslAllowedCurves

Gets or sets the group of allowed elliptic curves (for ECDHE cipher suites). Inherited from SslSettings.

SslAllowedSuites

Gets or sets the group of allowed TLS/SSL cipher suites. Inherited from SslSettings.

SslAllowedVersions

Gets or sets allowed TLS/SSL versions. Inherited from SslSettings.

SslAllowVulnerableSuites

Gets or sets a value indicating whether vulnerable ciphers might be enabled using SslAllowedSuites property. Inherited from SslSettings.

SslClientCertificateRequestHandler

Gets or sets TLS/SSL client certificate request handler. Inherited from SslSettings.

SslDoNotInsertEmptyFragment

Do not send empty record after successful handshake with CBC ciphers. Inherited from SslSettings.

SslExtendedMasterSecretEnabled

Enables or disables extended master secret extension. Inherited from SslSettings.

SslChannelBindingEnabled

Enables or disables secure channel binding. Only supported on Windows. Inherited from SslSettings.

SslMinimumDiffieHellmanKeySize

Gets or sets the minimum allowed size (in bits) of the ephemeral Diffie-Hellman prime. Valid values are from 512 to 16384, inclusive. Inherited from SslSettings.

SslRenegotiationExtensionEnabled

Enables or disables renegotiation indication extension. Inherited from SslSettings.

SslServerCertificateValidationOptions

Gets or sets validation options to use when validating a server certificate using the default certificate validator. This value is passed as Options as well. Inherited from SslSettings.

SslServerCertificateVerifier

Gets or sets TLS/SSL server certificate verifier. Inherited from SslSettings.

SslServerName

Gets or sets TLS/SSL server's common name. Inherited from SslSettings.

SslServerNameIndicationEnabled

Enables and disables server name indication. Inherited from SslSettings.

SslSession

Gets or sets a TLS/SSL session to resume. Inherited from SslSettings.

SslSessionCacheEnabled

Gets or sets a value indicating whether the TLS/SSL session cache is enabled (default is true).

SslStrictKeyUsageValidation

Gets or sets a key usage check mode for server certificate. Inherited from SslSettings.

Methods

Name Description
GetPreferredSuites()

Gets collection of TLS cipher suites that are used (in given order) in preference to the remaining suites specified by SslAllowedSuites. Only applies to TLS 1.2 or earlier. For TLS 1.3, use GetSymmetricCipherSuites() method. Inherited from SslSettings.

GetSymmetricCipherSuites()

Gets an enumeration of allowed symmetric cipher suites for TLS 1.3 and their order. See SetSymmetricCipherSuites(TlsSymmetricCipherSuite[]) for more info. Inherited from SslSettings.

SetPreferredSuites(TlsCipherSuite[])

Sets TLS cipher suites to be used in preference to the remaining suites specified by SslAllowedSuites. Only applies to TLS 1.2 or earlier. For TLS 1.3, use SetSymmetricCipherSuites(TlsSymmetricCipherSuite[]) method. Inherited from SslSettings.

SetSymmetricCipherSuites(TlsSymmetricCipherSuite[])

Specifies a list of allowed symmetric cipher suites for TLS 1.3 and their order. For TLS 1.2 and lower, use SslAllowedSuites property instead. Inherited from SslSettings.

ToParameters()

Gets an instance of TlsParameters corresponding to these settings. Inherited from SslSettings.

In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies