Επεξεργασία

Κοινή χρήση μέσω


<sslStreamSecurity>

Represents a custom binding element that supports channel security using an SSL stream.

<configuration>
  <system.serviceModel>
    <bindings>
      <customBinding>
        <binding>
          <sslStreamSecurity>

Syntax

<sslStreamSecurity requireClientCertificate="Boolean"
                   sslProtocols="Ssl3|Tls|Tls11|Tls12" />

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description
requireClientCertificate A Boolean value that specifies if a client certificate is required for this binding. The default is false.
sslProtocols A SslProtocols enum flag value that specifies which SslProtocols are supported. The default is Ssl3|Tls|Tls11|Tls12.

Child Elements

None.

Parent Elements

Element Description
<binding> Defines all binding capabilities of the custom binding.

See also