7 references to RequireEncryption
System (7)
net\System\Net\Configuration\ServicePointManagerElement.cs (2)
82
[ConfigurationProperty(ConfigurationStrings.EncryptionPolicy, DefaultValue = EncryptionPolicy.
RequireEncryption
)]
141
EncryptionPolicy.
RequireEncryption
,
net\System\Net\Internal.cs (1)
1395
if (policy == EncryptionPolicy.
RequireEncryption
) {
net\System\Net\SecureProtocols\SslStream.cs (4)
76
:this(innerStream, leaveInnerStreamOpen, null, null, EncryptionPolicy.
RequireEncryption
)
80
:this(innerStream, leaveInnerStreamOpen, userCertificateValidationCallback, null, EncryptionPolicy.
RequireEncryption
)
85
:this(innerStream, leaveInnerStreamOpen, userCertificateValidationCallback, userCertificateSelectionCallback, EncryptionPolicy.
RequireEncryption
)
92
if (encryptionPolicy != EncryptionPolicy.
RequireEncryption
&& encryptionPolicy != EncryptionPolicy.AllowNoEncryption && encryptionPolicy != EncryptionPolicy.NoEncryption)