30 references to EncryptionPolicy
System (30)
net\System\Net\_SecureChannel.cs (4)
65
private readonly
EncryptionPolicy
m_EncryptionPolicy;
89
bool checkCertRevocationStatus,
EncryptionPolicy
encryptionPolicy, LocalCertSelectionCallback certSelectionDelegate)
762
&& (m_EncryptionPolicy !=
EncryptionPolicy
.AllowNoEncryption) && (m_EncryptionPolicy !=
EncryptionPolicy
.NoEncryption))
net\System\Net\_SslSessionsCache.cs (4)
40
private
EncryptionPolicy
_EncryptionPolicy;
47
internal SslCredKey(byte[] thumbPrint, SchProtocols allowedProtocols,
EncryptionPolicy
encryptionPolicy)
129
internal static SafeFreeCredentials TryCachedCredential(byte[] thumbPrint, SchProtocols allowedProtocols,
EncryptionPolicy
encryptionPolicy)
156
internal static void CacheCredential(SafeFreeCredentials creds, byte[] thumbPrint, SchProtocols allowedProtocols,
EncryptionPolicy
encryptionPolicy)
net\System\Net\Configuration\ServicePointManagerElement.cs (5)
82
[ConfigurationProperty(ConfigurationStrings.EncryptionPolicy, DefaultValue =
EncryptionPolicy
.RequireEncryption)]
83
public
EncryptionPolicy
EncryptionPolicy
85
get { return (
EncryptionPolicy
)this[this.encryptionPolicy]; }
140
typeof(
EncryptionPolicy
),
141
EncryptionPolicy
.RequireEncryption,
net\System\Net\Configuration\SettingsSection.cs (2)
278
internal
EncryptionPolicy
EncryptionPolicy
364
EncryptionPolicy
encryptionPolicy;
net\System\Net\Internal.cs (4)
1390
public SecureCredential(int version, X509Certificate certificate, SecureCredential.Flags flags, SchProtocols protocols,
EncryptionPolicy
policy) {
1395
if (policy ==
EncryptionPolicy
.RequireEncryption) {
1400
else if (policy ==
EncryptionPolicy
.AllowNoEncryption) {
1405
else if (policy ==
EncryptionPolicy
.NoEncryption) {
net\System\Net\SecureProtocols\_SslState.cs (3)
103
private readonly
EncryptionPolicy
_EncryptionPolicy;
108
internal SslState(Stream innerStream, bool isHTTP,
EncryptionPolicy
encryptionPolicy): this(innerStream, null, null, encryptionPolicy)
116
internal SslState(Stream innerStream, RemoteCertValidationCallback certValidationCallback, LocalCertSelectionCallback certSelectionCallback,
EncryptionPolicy
encryptionPolicy)
net\System\Net\SecureProtocols\SslStream.cs (7)
76
:this(innerStream, leaveInnerStreamOpen, null, null,
EncryptionPolicy
.RequireEncryption)
80
:this(innerStream, leaveInnerStreamOpen, userCertificateValidationCallback, null,
EncryptionPolicy
.RequireEncryption)
85
:this(innerStream, leaveInnerStreamOpen, userCertificateValidationCallback, userCertificateSelectionCallback,
EncryptionPolicy
.RequireEncryption)
89
LocalCertificateSelectionCallback userCertificateSelectionCallback,
EncryptionPolicy
encryptionPolicy)
92
if (encryptionPolicy !=
EncryptionPolicy
.RequireEncryption && encryptionPolicy !=
EncryptionPolicy
.AllowNoEncryption && encryptionPolicy !=
EncryptionPolicy
.NoEncryption)
net\System\Net\ServicePointManager.cs (1)
607
public static
EncryptionPolicy
EncryptionPolicy {